The invention discloses a liquid photo-imageable electrostatic-spraying solder mask for a PCB. The liquid photo-imageable electrostatic-spraying solder mask consists of a main agent and a curing agent at the mass ratio of 3: 1, wherein the main agent consists of photosensitive resin, NA, melamine, a photoinitiator, a photosensitizer, an additive, talcum powder, barium sulfate, a dibasic ester solvent and tetramethylbenzene; the curing agent consists of novolac epoxy resin, light curing monomers, 1,3,5-triglycidyl isocyanurate, barium sulfate, dipropylene glycol monomethyl ether and a dibasic ester solvent. The liquid photo-imageable electrostatic-spraying solder mask is suitable for an automatic electrostatic spraying drying line, and has favorable resolution, excellent adhesion and extremely good solder coating resistance and chemical resistance, a liquid photo-imageable electrostatic-spraying solder mask film subjected to high-temperature hardening has high insulativity, high water resistance and gold and tin immersion resistance, and the liquid photo-imageable electrostatic-spraying solder mask is suitable for the conventional PCB solder mask operation procedure.