Remedies for diabetes which contain as the active ingredient 2-(N- cyanoimino)thiazolidin-4-one derivatives represented by general formula (I), solvates thereof or pharmaceutically acceptable salts thereof. In said formu la (I), the ring A and the substituents R?1~ to R?4~ are each as defined in the description.