Pyrimethanil is an aminopyrimidine, specifically an N-phenylpyrimidin-2-amine with methyl groups at positions 4 and 6. It is a fungicide used to control grey mould on fruits, vegetables, ornamentals, and leaf scab on pome fruit. It is also commonly used to manage Botrytis cinerea in grapes, must, fermenting must, and wine. It functions as an aryl hydrocarbon receptor agonist, environmental contaminant, xenobiotic, and antifungal agrochemical. Additionally, it is classified as a secondary amino compound and an anilinopyrimidine fungicide.