The invention relates to heteroarylpiperidine and -piperazine derivatives, to agrochemically active salts thereof, to their use and also to methods and compositions for controlling phytopathogenic harmful fungi in and/or on plants or in and/or on seed of plants, to methods for producing such compositions and to treated seed, and also to the use thereof for controlling phytopathogenic harmful plants in agriculture, horticulture and forestry, in animal health, in materials protection and also in the household and hygiene sector. The present invention further relates to a method for producing heteroarylpiperidine and -piperazine derivatives.本發明係有關雜芳基哌啶與-哌衍生物、其農業化學活性鹽、其用途以及於植物中及/或其上或植物種子中及/或其上控制植物病原性有害真菌之方法與組成物,有關此等組成物之製法及有關經處理之種子,以及有關其於農業、園藝及林業、動物保健、物料保護及家庭與衛生領域中控制植物病原性有害真菌之用途。本發明進一步係有關雜芳基哌啶與-哌衍生物之製法。