Disclosed is a preparation method for a Palbociclib free base crystal form A as shown in Formula I, comprising the following steps: treating a Palbociclib free base and/or a Palbociclib salt compound by using an inorganic base in a water solvent at the temperature of 35 to 100°C to obtain a Palbociclib free base crystal form A, the water solvent being water or mixed solvent obtained by water and an organic solvent capable of being mixed and disclosed in the water. Also disclosed is a preparation method for a Palbociclib free base crystal form B, comprising the following steps: treating a Palbociclib salt compound by using an inorganic base in a water solvent at the temperature of 0 to 20 °C to obtain a Palbociclib free crystal form B, the water solvent being water or a mixed solvent obtained by water and an organic solvent capable of being mixed and dissolved in the water. The method is safe and convenient in operation and low in pollution, and facilitates industrial production.