How to Create an Electromagnet Using a Battery, Nail and Wire

Use a battery to create an electromagnet.
••• D Cell Battery image by ike from

Creating an electromagnet using a battery, nail and wire is an excellent demonstration for elementary school age children. This task does require some adult supervision as there is electricity involved. It provides an opportunity to see how electrical current flowing through a coil creates an electromagnetic field, which is transferred to the nail. Whenever there is current flow, there is also heat generated by the resistance of the wire. If there is more current flowing, then more heat will be generated. If there is too much current, the heat could melt the wire and cause a burn injury.

    Strip about 1/4 inch of the insulation from each end of the wire. Single stranded wire works the best if available. It is easier to keep wrapped around the nail.

    Wrap the wire around the nail tightly. Leave about 1/2 inch of the nail tip exposed. You can also wrap electrical tape around the wrapped wire to keep it from coming undone.

    Attach one end of the stripped wire to the bottom, or negative (-) end, of the battery with a piece of the electrical tape.

    Touch the other end of the stripped wire to the top or positive end (+) of the battery. When both ends of the wire are touching the battery, the nail is an electromagnet. It is not recommended to attach the second end of the wire to the battery with electrical tape. The two ends of the wire should only be touching the battery for a short time.

    Pick up the paper clip with the nail tip. Leaving the wire touching the battery at both ends causes three things to happen: The nail becomes magnetized, the wire becomes warm and the battery loses power. Eventually the battery will become depleted. This is not easy to recognize because the longer the battery remains connected, the more magnetized the nail becomes. If you try using a new nail with the same battery, you will see that the new electromagnetic nail is not as strong as the old one.

    Things You'll Need

    • D cell battery
    • 2 feet insulated wire
    • Wire strippers
    • Electrical tape
    • Paper clip


    • A higher voltage battery will cause a stronger electromagnet. More wraps of wire on the nail will also cause a stronger electromagnet. You can experiment with a battery of less voltage, for example a C cell or an AA battery, to see the difference.


    • A higher voltage battery will cause more current flow, which will generate more heat. This could cause the wire to melt if there is enough current. Do not use a car battery or any large battery as this could cause immediate melting of the wire and its insulation, which could result in serious injury. Limit this demonstration to a D cell battery or smaller.

Related Articles

How to Make an Electromagnet for Kids
How to Make a Negative Charge Magnet
Three Ways to Magnetize a Nail
How to Create an Electromagnetic Field
How to Restore a Permanent Magnet
How to Build an Electromagnet
Simple Explanation of Electromagnets
How to Make a Super Power Electromagnet
Information for Kids About Electromagnets
Factors That Affect the Strength of an Electromagnet
How Are Magnets Used to Generate Electricity?
How to Make Electricity for a Science Fair Project...
How to Reverse the Poles on a Magnet
Motor Rewinding Procedures
What Is a Magnetic Switch?
The Advantages of Soldering
Relationship Between Electricity & Magnetism
How to Convert 12 Volt Alternator to 120 Volts