Abstract: A safety device for a firearm provided with a grip and having a latch operated by a motor and adapted to be engaged with mechanical parts of the firearm to prevent and/or allow activation of the firearm is provided. A control unit connected to the motor and supplied by at least one battery has an internal transceiver cooperating with an external transceiver for controlling the latch by an authorized user. A capacitive sensor, operatively connected to the control unit for controlling the latch, is adapted to detect presence of a hand of an authorized user on the grip.