The invention discloses a preparation method of a super-hydrophobic, super-oleophobic and high transparency triple-function coating film, belongs to the field of novel materials, and particularly belongs to the field of self-cleaning optical materials. The method comprises the steps of firstly assembling large-grained SiO2 nano particles on a glass substrate, so as to form the lower layer of the fine structure of a functional coating layer, simultaneously adding pore-foaming agent, so as to adjust and control space filling factors, then assembling upper layer fluoride SiO2 nano fine particles, and constructing a two-stage uneven surface coating layer with a suspension structure and super-hydrophobic, super-oleophobic high and transparency functions. The functional film has frost prevention, fog prevention, pollution prevention, bacteriostasis and self-cleaning properties, also has excellent translucency, can effectively prevent properties of optical elements, photoelectron elements, solar batteries and laser systems from being influenced by environment in severe environment, greatly expands the application range of the equipment, guarantees the operational reliability, and prolongs the service life, thereby greatly improving the practical values of the equipment.