On a steep hill, with a loaded pannier and a tired rider, an e-bike’s motor is only half the story. The other half is a small metal box, no bigger than a grapefruit, tucked into the frame near the pedals. Inside it, gears no wider than a coin multiply the motor’s torque, turning a fast-spinning electric motor into the slow, powerful push that carries rider and bike uphill. It is the e-bike gearbox, and though it weighs less than a bag of sugar, it decides whether the bike climbs like a mountain goat or groans like a tired mule.

Most e-bikes do not need a gearbox at all — a hub motor simply spins the wheel directly. But the best mid-drive e-bikes use one, because an electric motor is happiest spinning fast, while a bicycle wheel turns slowly. The gearbox bridges that gap, letting the motor stay in its efficient range while the rider pedals at a natural cadence.

Making a gearbox this small and this strong is a feat of miniaturisation. The gears are cut to tolerances a watchmaker would respect, the housing is sealed against rain and mud, and the whole unit must survive years of potholes, dust, and torque. This is how an e-bike gearbox is made.

A compact e-bike gearbox unit on a workbench beside a bicycle frame in a workshop
A compact e-bike gearbox unit on a workbench beside a bicycle frame in a workshop.

How It’s Made

Step 1: Designing for torque in a tiny space

The design starts with a hard constraint: the gearbox must fit inside a bicycle frame, weigh under a few kilograms, and still handle the combined torque of motor and rider — often more than 100 newton-metres at the crank. Engineers choose a layout, usually a planetary gear set or a compact two-stage reduction, and simulate it under every load the bike will see: steep climbs, hard starts, and sudden shifts. They also plan for silence, because a whining gearbox ruins the ride. Only when the computer model shows the gears will survive years of abuse does the design go to the factory. The motor it partners with is just as clever, as the e-bike mid-drive motor shows.

Step 2: Cutting the miniature gears

The gears are cut from high-strength steel blanks on specialised hobbing machines, which shape the teeth with rotating cutters. Because the gears are so small — the cutting must be extraordinarily precise, with tooth profiles accurate to a few microns. After cutting, the gears are case-hardened: heated in a furnace with carbon-rich gas so their surfaces become hard and wear-resistant while their cores stay tough. Then they are ground and polished, a step that removes microscopic roughness and makes the gearbox run quietly.

Step 3: Machining the housing and seals

The housing is usually cast or machined from aluminium alloy, chosen for lightness and for its ability to shed the heat the gears generate. A CNC mill carves the bearing seats, mounting faces, and oil passages to tight tolerances, because the gears inside must stay in perfect alignment — a housing that flexes under load will wear the gears out in months. Seals are fitted at every opening: the gearbox must keep water, mud, and dust out while keeping its grease in, through rain, river crossings, and winter slush. The attention to sealing mirrors the care in the e-bike torque sensor, another tiny part that must survive the outdoors.

A close-up of small precision steel gears and bearings arranged on a workbench
A close-up of small precision steel gears and bearings arranged on a workbench.

Step 4: Assembling the gear train by hand

Assembly is done by hand, in a clean area, by technicians who build the same unit hundreds of times a week. The gears, shafts, and bearings are laid into the housing in sequence, each one checked for smooth rotation before the next is added. Shims set the spacing between gears, and the backlash — the tiny play between teeth — is measured with gauges. The motor’s rotor shaft is coupled to the gearbox input, and a freewheel or clutch is fitted so the rider can pedal without the motor dragging when the power is off.

Step 5: Testing for noise, drag, and durability

Every finished gearbox is tested before it leaves the factory. It is spun on a rig at working speed while sensors listen for noise and measure drag — a healthy gearbox runs almost silently, with barely any resistance. Then comes durability testing: sample units are run for the equivalent of tens of thousands of kilometres, through heat, cold, and simulated rain, while engineers check for wear, leaks, and changes in efficiency.

The hub motors that share the workload get the same treatment, as e-bike hub motor production shows.

Step 6: Fitting the gearbox to the bike

The final step happens at the bike factory. The gearbox is bolted into the frame’s bottom bracket area, aligned with the crank and chainring, and connected to the motor, the battery, and the controller. The chain or belt is fitted and tensioned, the firmware is loaded, and the complete bike goes to a test stand, where a technician rides it through its gears and power modes, checking that the assistance feels smooth and natural at every cadence. Only when the bike passes this final ride test is it boxed and shipped — a small box of gears ready for years of hills.

Main material Case-hardened alloy steel gears in an aluminium housing
Typical weight About 1 to 3 kilograms for the gearbox alone
Gear type Planetary or two-stage reduction gear set
Torque handled Often more than 100 newton-metres at the crank
Gear tolerance Teeth accurate to a few microns
Sealing Sealed against water, mud, and dust for outdoor use
Lubrication Grease applied in exact amounts during assembly
Service interval Sealed for life in most designs, with grease service on some models

What Does an E-Bike Gearbox Cost?

An e-bike gearbox is a mass-produced part, so its price is far lower than a hypercar’s — but it is still a precision component. A replacement mid-drive gearbox unit is estimated at roughly $150 to $400, depending on the brand and model, and a complete mid-drive motor with its gearbox is estimated at $400 to $1,000 or more. These are estimates only, and prices vary widely between brands. For riders, the more important number is the cost of neglect: riding with a worn chain or a dry gearbox accelerates wear, while regular cleaning and chain care can double the unit’s life.

A Rare Fact

The planetary gear set inside many e-bike gearboxes is the same idea that drives automatic car gearboxes and even the landing gear of spacecraft — and it is older than the bicycle itself. Planetary gears were described by engineers in the 19th century and used in early cars, but their real genius is their compactness: several small gears share the load around a central sun gear, so a tiny unit can handle enormous torque. That is why a gearbox the size of a grapefruit can carry a rider, a loaded bike, and a steep hill without breaking a sweat.

An e-bike rider climbing a steep forest hill on a sunny morning
An e-bike rider climbing a steep forest hill on a sunny morning.

The e-bike gearbox is the kind of part nobody thinks about until it breaks. It has no display, no app, no badge — just a quiet hum and a hill that suddenly feels flat. But inside that small metal box is a century of gear-making craft, shrunk down to fit a bicycle. The next time an e-bike sails up a steep slope, spare a thought for the tiny gears doing the heavy lifting.