The invention belongs to the technical field of preparation of carbon quantum dot materials, and relates to a preparation method for solid-state carbon quantum dots. The preparation method comprises the following steps: firstly, mixing an ionic liquid with nitrile substances, and putting the mixture, as an electrolytic solution, into an electrolytic tank; respectively selecting two platinum electrodes, of which the area is no smaller than 1.0 cm<2>, as an anode and a cathode, and putting the anode and the cathode into the electrolytic tank, and switching on a power supply to react, thereby obtaining a light brown solution mixed with solid-state substances; then, carrying out suction filtration on the light brown solution mixed with the solid-state substances, carrying out vacuum-drying on the solid substances obtained by suction filtration, and transferring the solid substances into a clean container vessel, thereby obtaining the solid-state carbon quantum dots. The preparation method is simple in preparation process, convenient in operation, accessible in principle, and low in cost; the prepared solid-state carbon quantum dots are good in water solubility, stable in fluorescent property, and easy to store and transport.