The invention belongs to the technical field of surface treatment of glass and particularly relates to a self-cleaning glass water repellent agent. The self-cleaning glass water repellent agent comprises a component A and a component B, wherein the component A is prepared from the following raw materials in parts by weight: 100 parts of dimethylcyclosiloxane, 20-50 parts of phenyl siloxane, 5-10 parts of a silane coupling agent, 0.1-10 parts of a basic catalyst, 5-40 parts of a surfactant and 10-90 parts of a solvent; the component B is prepared from the following raw materials in parts by weight: 80 parts of organic fluorine, 4-15 parts of a silane coupling agent, 10-30 parts of dimethylcyclosiloxane, 10-20 parts of phenyl siloxane, 0.1-10 parts of a basic catalyst, 5-40 parts of a surfactant, 10-90 parts of a solvent and 1-20 parts of nano-titanium oxide. After the water repellent agent is used on glass of an automobile, water drops can form water beads on the surface of the glass, the contact angle of each of the water beads can be as high as 125 degrees, and the water beads can automatically fall off without leaving a trace, so that the problem of unclear sight is solved.