You can build a working electric motor with just a battery, some copper wire, and a couple of magnets. The simplest version, called a homopolar motor, takes about five minutes and only three parts. A slightly more involved coil motor teaches you more about how real motors work and spins faster with a few tweaks. Both projects demonstrate the same core physics: when electric current flows through a wire sitting inside a magnetic field, the wire experiences a push that can create rotation.
Why Magnets and Wire Create Spin
Every electric motor works because of one basic interaction. When current flows through a wire and that wire sits near a magnet, the magnetic field pushes the wire sideways. The direction of the push depends on the direction of the current and the orientation of the magnetic field. In a motor, this sideways push is arranged so that one side of a wire loop gets forced up while the other side gets forced down, creating a turning effect.
Three things control how strong that turning force is: the strength of the magnet, the amount of current flowing through the wire, and the number of loops in the coil. Doubling any one of those roughly doubles the force. This is why even small changes to your setup, like adding a few more loops of wire or switching to a stronger magnet, can make a noticeable difference in how fast your motor spins.
The 5-Minute Homopolar Motor
This is the fastest motor you can build. You need three things: an AA or C battery, a small neodymium disc magnet, and a short piece of bare copper wire (about 6 to 8 inches).
Stick the magnet to the flat negative end of the battery. Stand the battery upright on a table with the magnet on the bottom and the positive terminal pointing up. Now bend your wire into a shape where one end hooks over the top of the battery’s positive terminal and the other end hangs down and lightly touches the side of the magnet. A simple hook-and-loop shape works well: a small hook at the top to balance on the battery tip, and the wire curving down to brush the magnet’s edge.
When the wire touches both the battery terminal and the magnet simultaneously, current flows from the battery through the wire and into the magnet (which is conductive), completing a circuit. The magnetic field from the neodymium disc interacts with that current and pushes the wire sideways, making it spin around the battery. If the wire wobbles off, adjust its shape so it balances more evenly on the battery tip. You can try bending the wire into a heart or spiral shape for a more dramatic visual effect.
One thing to know: this motor essentially short-circuits the battery, so it drains quickly. Don’t leave it running for more than a minute or two, and expect the battery and wire to get warm.
Building a Coil Motor
A coil motor is closer to how real electric motors work and makes a better science project. Here’s what you need:
- Enamel-coated magnet wire: about 50 inches (120 cm), which gives you enough to wind a coil and redo it if your first attempt is lopsided
- Neodymium magnets: three small disc magnets, around 1/4 inch in diameter, stacked together
- C cell battery: provides 1.3 to 1.5 volts, which is plenty for a small motor
- Two large metal safety pins or paperclips: these act as support brackets for the spinning coil
- Sandpaper or a knife: for stripping enamel off the wire ends
- Rubber band and a small block of wood or clay: to hold everything in place
Winding the Coil
Take your magnet wire and wrap it into a tight circular coil about 1 to 1.5 inches across. Wind 15 to 20 loops, keeping them as neat and even as possible. Leave about 2 inches of straight wire sticking out from each side of the coil as axles. These axles need to be directly opposite each other and centered so the coil can spin without wobbling. A lopsided coil is one of the most common reasons these motors fail to spin.
Creating the Commutator
This is the step that makes or breaks the project. The enamel coating on magnet wire acts as electrical insulation, preventing current from flowing. You need to strip the enamel off the axle ends so they can make contact with your support brackets and complete the circuit. Here’s the trick: on one axle, sand off all the enamel. On the other axle, sand off the enamel from only one half of the wire’s surface, leaving the other half coated.
This half-stripped axle acts as a simple switch called a commutator. As the coil rotates, the bare side makes contact and current flows, giving the coil a push. When the coated side rotates into contact, the circuit breaks and the coil coasts on momentum. This on-off cycle keeps the coil spinning in one direction instead of rocking back and forth.
Assembling the Motor
Straighten two large paperclips or safety pins so they form upright posts with small loops or cradles at the top. Attach one to each end of the battery using tape or rubber bands, so they stand upright like goalposts. The coil’s axles should rest in these cradles and spin freely with minimal friction. Stack your three neodymium magnets and place them directly under the coil, sitting on top of the battery.
Give the coil a gentle flick to start it. If everything is aligned, the coil will keep spinning on its own. It won’t start from a dead stop because it needs that initial momentum to get past the point where the commutator breaks the circuit.
Tweaks That Improve Performance
If your motor spins but seems sluggish, the easiest upgrade is adding more loops to the coil. The strength of the magnetic field the coil generates is directly proportional to the number of turns. A coil with 30 loops produces a stronger field than one with 15, creating more turning force. The tradeoff is weight: too many loops and the coil becomes heavy enough that friction in the axle cradles overwhelms the motor’s power.
Stronger magnets help significantly. Neodymium magnets are far more powerful than ceramic refrigerator magnets. Stacking multiple neodymium discs together increases the field strength in the gap where your coil spins. If you only have ceramic magnets, the motor can still work, but you may need more coil turns and very low friction in the bearings to compensate.
Adding an iron core inside the coil dramatically increases the magnetic field. An iron nail or small bolt placed through the center of the coil concentrates the magnetic flux. An iron core produces a field roughly 500 times stronger than the same coil wound around air. For a simple spinning motor this can actually cause problems (the coil gets heavy and the magnet grabs the iron), but it’s worth understanding why real motors always use iron or steel cores.
Common Problems and Fixes
The coil doesn’t spin at all. Check that your axle ends are actually making electrical contact with the support brackets. Enamel coating is thin and sometimes looks like bare copper. Scratch the wire firmly with sandpaper and test with a multimeter or by touching both stripped ends to the battery terminals (the coil should twitch near the magnet).
The coil rocks back and forth but won’t complete a full rotation. Your commutator isn’t working correctly. Make sure one axle is fully stripped and the other is stripped on exactly half its circumference. If too much enamel is removed, the coil gets pushed and then pulled in the wrong direction. If too little is removed, the circuit never completes.
The coil wobbles and falls out of the cradles. This is a balance problem. The coil needs to be symmetrical, with the axles extending from the exact center of each side. Rewinding a neater coil usually fixes this. Also check that your support cradles aren’t too loose or too tight. The axles should rotate freely but not flop around.
The battery gets hot. This happens when current flows continuously without the coil spinning, essentially short-circuiting the battery. Disconnect it, check the commutator, and make sure the coil can actually rotate freely before reconnecting.
Safety With Neodymium Magnets
Neodymium magnets are surprisingly powerful for their size. Two small discs can snap together hard enough to pinch skin or even break a finger if they’re large enough. Keep them away from credit cards, phones, and pacemakers. They’re also brittle and can shatter if they slam together or drop on a hard floor, sending small sharp fragments flying. When separating stacked magnets, slide them apart sideways rather than trying to pull them straight apart. For younger kids, an adult should handle the magnets directly.

