The invention discloses a direct-current self-lubricating guide resettable electromagnet, and belongs to the field of electromagnets. The electromagnet comprises an armature, an iron core, a shell, acoil, a spring, a first bushing, a second bushing, a connecting rod and an end cover, wherein the shell is of a tubular structure with an opening in one end, and a through hole is formed in the centerof the other end of the shell; the coil is coaxially installed in the shell through a coil rack, and a center hole is formed in the coil rack along the center axis; and the iron core and the armatureare coaxially arranged in the center hole of the coil rack. When the coil is powered on, the coil, the armature, the iron core and the air gap form a complete electromagnetic loop, the armature overcomes the elastic force of the spring in the iron core through electromagnetic force to move axially and attract the iron core, and the electromagnet provides traction force for an external connectionpiece; and when the coil is powered off, the electromagnetic force of the armature is zero, the armature resets under the elastic force effect of the spring, and the electromagnet completes the release function. The electromagnet has the advantages of small size, light weight, long service life and short response time, and the service life of the electromagnet can be five times or above that of atraditional direct-current electromagnet.