Piperazinyl derivatives containing a 3-alkylene-2,4-thiazolidinedione heterocyclic component with relatively selective psychotropic properties are disclosed. The compound 3-[4-[4-(2-pyrimidinyl)-1-piperazinyl]butyl]-2,4-thiazolidinedione which has selective anxiolytic activity constitutes a typical embodiment of the invention.