The invention discloses an Idelalisib crystal form A and a preparation method thereof. The Idelalisib crystal form A is a molecular hydrate of Idelalisib, and under powder X-ray diffraction, the 2θ is 8.5±0.2°, 10.7±0.2°, 13.6±0.2°, 15.8±0.2°, 20.2±0.2°, 23.7±0.2°, 24.3±0.2° have characteristic peaks with relative intensities greater than 50%, and a clear solution can be obtained by dissolving the Idelalisib raw material in a suitable solvent , and then add the anti-solvent dropwise to the obtained solution until the initial turbidity, and then heat and stir to crystallize, cool down to room temperature, filter, and dry to prepare. The Idelalisib crystal form A provided by the present invention has excellent solubility, thermal stability, high humidity stability and pressure stability, and is more suitable as a pharmaceutically active component of a preparation.