Abstract: An electric nailing tool comprises a housing, a nail magazine for supplying nails, a spout attached to the nail magazine and having a passage communicated with the housing, a solenoid set, and a hammer. The solenoid set comprises at least two solenoids having a common through-hole for receiving the hammer. A percussion member is securely attached to an end of the hammer to move therewith, thereby driving a nail in the passage out of the spout upon percussion movement of the hammer. The solenoids are energized and de-energized in sequence to move the hammer back and forth along the common through-hole of the solenoids, thereby providing at least two impacting motions by the percussion member to the nail in the passage.