What Is a Stepping Motor and How Does It Work?

A stepping motor (also called a stepper motor) is an electric motor that moves in fixed, precise increments rather than spinning continuously. Each electrical pulse sent to the motor rotates its shaft by an exact angle, typically 1.8 degrees, making it possible to control position without any feedback sensor. This makes stepper motors the go-to choice for anything that needs accurate, repeatable positioning: 3D printers, CNC machines, robotics, and countless industrial systems.

How a Stepper Motor Works

Inside a stepper motor, you’ll find two main parts: a stationary ring of electromagnets called the stator, and a central spinning piece called the rotor. The stator has multiple coil windings arranged around the rotor. When electricity flows through one coil, it creates a magnetic field that pulls the rotor into alignment. Turn off that coil and energize the next one, and the rotor snaps to a new position. This sequence repeats in a precise pattern, producing rotation one step at a time.

In a simple two-phase motor, this looks like a four-step cycle. Phase A energizes and locks the rotor in place. Phase A turns off, phase B turns on, and the rotor jumps 90 degrees. Then phase B reverses polarity for another 90-degree jump, and finally phase A reverses for the last quarter turn. Repeat the cycle and you get continuous rotation in clean, discrete steps. A standard 1.8-degree motor completes exactly 200 steps per full revolution.

The key advantage here is that stepper motors are open-loop systems. You tell the motor to move 50 steps and it moves 50 steps, no position sensor needed. Servo motors, by contrast, require a closed-loop system with an encoder constantly checking position and adjusting current. That makes servos more complex to set up and more expensive, though they excel at high-speed applications where a stepper might lose torque.

Types of Stepper Motors

Stepper motors come in three main varieties: variable reluctance, permanent magnet, and hybrid. Each has a different internal design that affects resolution, torque, and cost.

Variable reluctance (VR) motors use a soft iron rotor with teeth instead of magnets. They typically have three or four windings and spin almost freely when unpowered. Their step angles tend to be larger (coarser movement), and they produce less holding force when stopped. You’ll find them in simpler, lower-cost applications.

Permanent magnet (PM) motors have a magnetized rotor with alternating north and south poles. If you turn one by hand with no power connected, you’ll feel a distinct “cogging” as the magnets resist movement. Common PM motors have step angles of 7.5 or 15 degrees, though high-resolution versions reach 1.8 degrees.

Hybrid motors combine both approaches, using a toothed rotor with permanent magnets. They’re the most common type in precision applications and routinely achieve 1.8-degree or 0.9-degree step angles. From a wiring and control perspective, hybrids behave just like permanent magnet motors.

Step Angles and Resolution

The step angle determines how finely a motor can position its shaft. The coarsest motors move 90 degrees per step (just four steps per revolution), while standard industrial motors step at 1.8 degrees (200 steps per revolution). Three-phase motors often use a 1.2-degree step angle. The smaller the step angle, the smoother and more precise the motion.

Microstepping takes this further. Instead of powering coils fully on or fully off, a microstepping driver feeds intermediate current levels that approximate a sine wave. This positions the rotor between full step positions. A 256-microstep driver applied to a 1.8-degree motor produces 51,200 microsteps per revolution. The result is dramatically smoother motion with less vibration and noise, which is why microstepping is standard practice in 3D printers and CNC machines.

Unipolar vs. Bipolar Wiring

Stepper motors are wired in one of two configurations. Bipolar motors have two independent coils and four wires. Current flows in both directions through each coil, which requires a slightly more capable driver circuit but delivers stronger torque because the entire coil winding is energized at once.

Unipolar motors also have two coils, but each coil has a center tap, creating what effectively functions as four half-coils. They come with five or six wires. The center taps simplify the driver electronics since current only needs to flow in one direction through each half-coil. The tradeoff is that only half the copper in each coil is active at any moment, which reduces torque compared to bipolar operation. Many six-wire unipolar motors can actually be rewired as bipolar by ignoring the center taps.

Torque and Speed Behavior

Stepper motors are strongest when holding still or moving slowly. The holding torque is the maximum force the motor can resist while one winding carries full current. Even with no power applied, permanent magnet and hybrid motors produce a residual “detent torque” from their magnets, typically around 10% of rated holding torque, though it ranges from about 3% to 23% depending on motor size and design.

As speed increases, torque drops. At low speeds, coil windings have plenty of time to reach full current between steps, so performance stays strong. But at higher speeds, the motor’s inductance limits how quickly current can ramp up and down. On top of that, the spinning rotor generates a voltage that opposes the driving current (called counter-EMF), and this effect grows with speed. Eventually, the available torque falls to zero at the motor’s maximum speed. This is why stepper motors are best suited for moderate-speed, high-precision work rather than high-speed continuous rotation, where servo motors have the advantage.

NEMA Frame Sizes

When shopping for stepper motors, you’ll encounter NEMA size designations like NEMA 17 or NEMA 23. These numbers refer to the approximate width of the motor’s square mounting flange in tenths of an inch. A NEMA 17 has a 1.7-inch (42 mm) faceplate. A NEMA 23 measures 2.3 inches (56 mm). NEMA 34 is 3.4 inches (86 mm), and NEMA 42 is 4.2 inches (107 mm).

The NEMA standard defines the flange dimensions, mounting hole positions, and pilot diameter, so any NEMA 17 motor bolts into the same mounting bracket regardless of manufacturer. It does not specify length, torque, or electrical characteristics, so two NEMA 17 motors can have very different performance. NEMA 17 is the standard size for desktop 3D printers, while CNC routers and larger machines typically use NEMA 23 or NEMA 34.

Common Applications

Stepper motors are everywhere precision positioning matters. In 3D printers, they control the print head’s movement along each axis and the extrusion of filament. In CNC machines, they drive the cutting tool with sub-millimeter accuracy. Robotics relies on them for joint positioning and repeatable arm movements. They’re also found in ATMs, medical devices, conveyor systems, pick-and-place machines, home automation equipment, and camera platforms. Any time a system needs to move to an exact position, hold that position firmly, and do it all without a position sensor, a stepper motor is likely involved.