An object is to provide a crystal of anagliptin, which has a high purity and is excellent in stability, low in hygroscopicity, and has a characteristic of easily dissolving into water, and a method for producing the crystal. An anagliptin crystal showing a powder X-ray diffraction pattern substantially the same as in Fig. 1, which has peaks around at 9.8°, 17.4°, 18.6°, 25.3°, and 25.8° as diffraction angles represented by 2θ. The crystal is obtained by reacting N-(2-amino-2-methylpropyl)-2-methylpyrazolo[1,5-a]pyrimidine-6-carboxamide and (2S)-N-chloroacetyl-2-cyanopyrrolidine in an organic solvent, thereafter purifying the reaction solution by column chromatography to thus obtain an amorphia of anagliptin, and crystallizing the amorphia of anagliptin from 2-propanol.