How to Build a Simple Electromagnet with Your Kids

Learn how to create a working electromagnet at home using basic materials like a nail, wire, and battery.

  1. What You'll Need. Gather these simple materials: one large iron nail (3-4 inches long), about 3 feet of thin insulated copper wire (20-22 gauge works well), one D battery, electrical tape, and small metal objects to test your magnet like paper clips, safety pins, or small screws. You can find copper wire at hardware stores or online, and make sure it has a plastic coating around it.
  2. Prepare Your Materials. Start by stripping about half an inch of the plastic coating off both ends of your copper wire. You can carefully use wire strippers, scissors, or even your fingernails to peel away the coating, revealing the shiny copper underneath. This exposed copper is essential for making good electrical contact with your battery.
  3. Wind the Wire Around the Nail. Leave about 6 inches of wire free at one end, then begin wrapping the wire tightly around the nail. Start near the head of the nail and work your way down, keeping each loop close to the next one without overlapping. Make sure all your loops go in the same direction - either all clockwise or all counterclockwise. Aim for 50-100 wraps around the nail, leaving another 6 inches of wire free at the other end when you're done.
  4. Connect to the Battery. Take one stripped end of wire and tape it securely to the positive end of your battery (the end with the small bump). Take the other stripped end and tape it to the negative end (the flat end). Make sure the exposed copper wire makes good contact with the battery terminals. Your electromagnet is now complete and ready to test.
  5. Test Your Electromagnet. Hold your nail near small metal objects like paper clips or safety pins. You should see them jump toward the nail and stick to it. To turn off your magnet, simply disconnect one of the wires from the battery. Reconnect it to turn the magnet back on. Try picking up different objects to see what your electromagnet can attract.
  6. Make It Stronger. Want a more powerful electromagnet? Try adding more loops of wire around the nail, using a larger battery, or wrapping multiple layers of wire. You can also connect two batteries end-to-end for more power, but be careful - the wire may get warm with stronger batteries.