The present invention provides a compound represented by formula (I): [wherein A1 represents a nitrogen atom or a CR4; R4 represents a hydrogen atom, etc.; R1 represents a C2-C10 chain hydrocarbon group having one or more halogen atoms, etc.; R2 represents a C1-C6 alkyl group optionally having one or more halogen atoms, etc.; q represents 0, 1, 2, or 3; R3 represents a C1-C6 chain hydrocarbon group optionally having one or more halogen atoms, etc.; p represents 0, 1, or 2; R6 represents a C1-C6 alkyl group optionally having one or more halogen atoms, etc.; and n represents 0, 1, or 2] or N-oxide thereof, and an agent for controlling harmful arthropods comprising the compound represented formula (I) and an inert carrier which has an excellent efficacy for controlling harmful arthropods.本發明係提供一種式(I)表示之化合物或其N氧化物化合物、及含有式(I)表示之化合物等及惰性載體之對於有害節肢動物顯示優異之防除效果的有害節肢動物防除劑,[式中,A1係表示氮原子或CR4,R4係表示氫原子等,R1係表示具有1個以上鹵素原子之C2-C10鏈式烴基等,R2係表示可具有1個以上鹵素原子之C1-C6烷基等,q係表示0、1、2、或3,R3係表示可具有1個以上鹵素原子之C1-C6鏈式烴基等,p係表示0、1、或2,R6係表示可具有1個以上鹵素原子之C1-C6烷基等,而且n係表示0、1、或2]。