The invention relates to the technical field of coatings, and in particular to a thermochromic coating for metal, glass and ceramic and a preparation method thereof. The thermochromic coating comprises the following raw materials in parts by weight: 16-32 parts of polyurethane resin, 6-14 parts of thermosetting acrylic resin, 3-7 parts of fully-methylated amino resin, 16-34 parts of temperature-changing pigments, 0.5-1.5 parts of a levelling agent, 1-3 parts of a defoaming agent, 0.5-1.5 parts of a dispersing agent and 23-45 parts of an organic solvent. A paint film formed by the thermochromic coating disclosed by the invention is level and smooth, bright in colour, good in ductility and flexibility, excellent in adhesive force for various primers and the matrixes of metal, glass, ceramic and the like, excellent in interlayer adhesive force, capable of being re-coated, excellent in flame-retardant and high-temperature-resistant performances, capable of still keeping a high-quality and complete paint film coating in the case that a surface temperature is 200 DEG C, and excellent in acid-base resistance, boiling resistance, solution resistance, weather resistance and corrosion resistance.