Pyrrole derivatives of formula (I): STR1 in which A forms with the pyrrole ring an isoindoline, 6,7-dihydro-5H-pyrrolo[3,4-b]pyrazine, 2,3,6,7-tetrahydro-5H-[1,4]oxathiino[2,3-c]pyrrole or 2,3,6,7-tetrahydro-5H-[1,4]dithiino[2,3-c]pyrrole ring-system, Het=naphthyridinyl, pyridyl or quinolyl which are unsubstituted or substituted with halogen, (1 to 4 C) alkyl, (1 to 4 C) alkyloxy, (1 to 4 C) alkylthio or CF3, Y=CO, C=NOH or CHOH and R=(3 to 10 C) alkenyl, alkyl which is unsubstituted or substituted with OH, alkyloxy, alkylthio, (3 to 6 C) cycloalkyl, NH2, alkylamino, dialkylamino, alkylcarbonylamino, piperazinyl, piperidyl, 1-azetidinyl, morpholino, pyrrolidinyl, carbamoyl, alkylcarbamoyl, dialkylcarbamoyl, (1-piperazinyl)carbonyl, piperidinocarbonyl, pyrrolidinocarbonyl, phenyl, pyridyl, 1-imidazolyl or alternatively R=2- or 3-pyrrolididnyl, 2-, 3- or 4-piperidyl, (3 to 6 C) cycloalkyl or phenyl which is unsubstituted or substituted with halogen, (1 to 4 C) alkyl, (1 to 4 C) alkyloxy, (1 to 4 C) alkylthio, the said alkyl radicals and portions containing, except where specifically stated, 1 to 10 C, and the piperazinyl, piperidino, piperidyl, pyrrolidinyl, azetidinyl radicals being unsubstituted or substituted at any position by alkyl, alkylcarbonyl, benzyl or hydroxyalkyl, or can alternatively form a lactam group with the nitrogen atom of the ring, and their salts and optical isomers are useful as anxiolytics.