The present invention relates to novel heteroaryl-triazole and heteroaryl-tetrazole compounds of the general formula (I), in which the structural elements Y, Q1, Q2, R1, R2, R3a, R3b, R4 and R5 have the meaning given in the description, to formulations and compositions comprising such compounds and for their use in the control of animal pests including arthropods and insects in plant protection and to their use for control of ectoparasites on animals.本發明關於新穎通式(I)之雜芳基三唑和雜芳基四唑化合物,其中結構單元Y、Q1、Q2、R1、R2、R3a、R3b、R4和R5具有說明中所給的意義,包含該等化合物之調配物和組成物、及彼等在植物保護中用於控制動物害蟲(包括節肢動物和昆蟲)之用途及彼等用於控制動物體外寄生蟲之用途。