A novel and clean synthesis of 5-benzylidene-2-thioxothiazolidin-4-ones and thiazolidine-2,4-diones has been achieved in good yields by condensation of aromatic aldehydes with rhodanine or thiazolidine-2,4-dione under microwave irradiation using glycine as the catalyst.