The invention discloses polyurethane paint for an electronic component and relates to the technical field of paint. The paint comprises, by weight, 12.5-16.5 parts of hydroxyethyl acrylate, 10-13 parts of dibenzoyl peroxide, 12-17 parts of film-forming substances, 4-17 parts of mica pearlescent pigments, 6.5-8.5 parts of sulfydryl, 22.5-25.5 parts of propanol, 5-11 parts of inorganic antimicrobialagent, 6-13 parts of phthalate ester, 14-18 parts of polyol, 1.5-4.5 parts of auxiliary, 1.25-1.65 parts of isocyanate curing agent, 3.5-4.5 parts of dispersing agent and 3.55-8.55 parts of organic solvent. According to the polyurethane paint for the electronic component, the prepared paint has high adhesive force and excellent acid resistance, alkali resistance and salt mist resistance and is wide in application range, especially suitable for an electronic product shell with a high performance requirement and a small plane, convenient to construct and high in efficiency.