The present invention relates to a compound represented by the following general formula (I) having a P2X4 receptor antagonistic action. (Wherein R1, R2 and R3 represent a hydrogen atom, an alkyl group having 1 to 8 carbon atoms, an alkoxy group having 1 to 8 carbon atoms, a halogen atom, etc., X represents C or N, and Y represents N or C (= O), provided that when X is C, Y represents N, and when X is N, Y represents C (= O). A double line consisting of a solid line and a broken line is a single line. A bond or a double bond, n represents an integer of 0 to 6, Z represents O, S or a bond, and A represents a benzene ring, a pyridine ring or the like.)本発明は、P2X4受容体拮抗作用を有する次の一般式(I)で表される化合物に関する。(式中、R1、R2及びR3は水素原子、炭素数1~8のアルキル基、炭素数1~8のアルコキシ基、ハロゲン原子等を表し、XはC又はNを表し、YはN又はC(=O)を表し、但し、XがCの時、YはNを表し、また、XがNの時、YはC(=O)を表し、実線と破線からなる二重線は、単結合又は二重結合を表し、nは0~6の整数を表し、ZはO,S又は結合手を表し、そしてAはベンゼン環、ピリジン環等を表す。)