The invention relates to novel N-heterocyclyl phthalic acid diamides of formula(I), in which n, A, Q, Q, R and X have the meaningsgiven in the description, several methods for production thereof and use thereoffor the prevention of pests and novel intermediates and methods for productionthereof.