The title N,N-dimethylthiohydantoin containing an N-methylated pthalimide group, C14H12N4O3S, arose from an unexpected reaction in a deep eutectic dimethylthiourea–tartaric acid solvent system. The mean planes of the ring systems are twisted at an angle of 73.84 (17)°. In the crystal, weak C—H...O hydrogen bonds connect the molecules.