The invention discloses a preparing method of a glass antifogging coating, and belongs to the technical field of coating material preparations. The preparing method comprises the steps of firstly preparing an ethanol solution and methyltrimethoxysilane to a silane coupling agent solution, then preparing nanosilicon dioxide to nanosilicon dioxide sol, conducting a reaction between the nanosilicon dioxide sol and the silane coupling agent solution to prepare reaction liquid, using acetone to scrub a glass base material, afterwards, conducting ultrasonic cleaning and etching processing on the glass base material, conducting soaking and curing processing on the glass base material by using the reaction liquid to obtain a glass after coating processing, then using 1H,1H,2H,2H-Perfluorooctyltrimethoxysilane and absolute ethyl alcohol to soak the glass, and finally taking out the glass and drying the glass so as to obtain the glass antifogging coating. According to the preparing method of the glass antifogging coating, the glass antifogging coating has a strong hydrophobic characteristic and a strong self-cleaning ability; meanwhile, the coating has good durability and strong adhesive force; in addition, the coating good antifogging performance, under the vapor environment, completely no fogdrop adheres to the surface of the coating glass, thus the use value of the glass is sharply improved, and the glass antifogging coating has a broad application prospect.