The utility model discloses a safety
transformer with a
lightning protection function, which comprises a box body, a
transformer body is arranged in the box body, the upper surface of the box body is connected with an insulation protection pad, the upper surface of the insulation protection pad is connected with a first insulation column, and the top end of the first insulation column is provided with a
lightning rod body. The outer surface of the
lightning rod body is connected with a first conductive ring, and the outer surface of the first conductive ring is electrically connected with a connecting wire. According to the device, firstly, the
lightning rod body is utilized, so that when a charged cloud layer is close to the box body, a large amount of charges can be gathered at the tip of the
lightning rod body, air can be ionized, a
conductive channel is formed, and the
lightning rod body, a first conductive ring, a connecting wire, a second conductive ring and a grounding wire are matched; the electric charges in the cloud layer are safely guided into the ground, so that direct
discharge between the cloud layer and the box body is avoided, and the
transformer body in the box body can be prevented from being struck by lightning.