Quick Answer: A hub motor replacement typically costs $275-$800 total (parts plus labor); a mid-drive replacement runs $600-$1,800+, with name-brand systems like Bosch or Shimano often exceeding $1,500. Before paying for either, rule out cheaper culprits first — a stuck brake cut-off switch, a corroded connector, or a sagging battery can all look exactly like a dead motor without the motor itself being damaged. If the bike is still under its motor warranty (commonly 2 years), the fix may be free.
Few things kill momentum on an e-bike faster than the motor going quiet mid-ride. But “the motor is dead” is a diagnosis riders reach for too quickly — and ordering an unnecessary $300-$1,500 part is an expensive way to find out you were wrong. Here’s what replacement actually costs by motor type, the warning signs worth trusting, and when a swap is realistic to do yourself.
Motor replacement cost by the numbers
- A geared hub motor replacement runs about $275-$800 all-in (parts plus shop labor), while a mid-drive replacement often costs $600-$1,800+, per repair-cost breakdowns from Upway and EM3EV — name-brand mid-drive parts alone (Bosch, Shimano, Yamaha) can run $600-$1,500+ before labor, since those systems need proprietary components and authorized service tools.
- Most e-bike brands cover the motor and electrical system for 2 years; inside that window, a legitimate motor failure is typically a free warranty replacement rather than an out-of-pocket repair.
- Hub motors generally run safely between 120°F-160°F (50°C-70°C), per Avinox’s hub motor troubleshooting guide — a casing too hot to comfortably touch after a normal ride is a genuine warning sign, not just a side effect of hard riding.
- Mid-drive bikes also run roughly $100-$200/year more in drivetrain wear than a comparable hub-motor bike, per Upway’s maintenance-cost data, since all of the motor’s torque passes through the chain and cassette instead of bypassing it at the hub.
Hub motor vs. mid-drive: what actually breaks
| Hub motor | Mid-drive motor | |
|---|---|---|
| Typical replacement cost | $275-$800 | $600-$1,800+ |
| Name-brand (Bosch/Shimano) swap | Rare — most hub motors are generic | Often $1,500+, authorized dealer usually required |
| DIY difficulty | Moderate — mostly a wheel swap | Hard — bottom-bracket disassembly, often firmware-paired |
| Drivetrain wear | Lower | Higher (~$100-200/yr more) |
| Common failure point | Internal gears, bearings, phase wires | Internal gears, sensor failure, software/firmware faults |
A hub motor failing is, mechanically, closer to a wheel problem than an engine problem — the whole unit unbolts like any other wheel. A mid-drive motor is built into the frame near the pedals and tied into the bike’s electronics more deeply, which is exactly why its parts and labor cost more even when the failure itself is similar.
Rule these out before buying a motor
Several more common (and far cheaper) problems produce the same symptoms as a dead motor:
- Brake cut-off switches — most e-bikes cut motor power the instant a brake lever is squeezed; a switch stuck engaged, or a loose connector at the lever, kills all assist with the motor completely fine.
- Corroded or loose connectors — the plug between motor and controller is exposed to road spray and salt; a quick visual check and reseat is free and fixes a surprising share of “dead motor” reports.
- A sagging battery — a pack that reads fine at rest but drops voltage hard under load can present as weak or absent power. See our battery guide for how to test under load rather than just at rest.
- The controller itself — a glitching or tripped controller can cut power entirely; see our best e-bike controller guide for OEM-replacement and upgrade picks if that’s the actual culprit.
Working through this list before ordering a motor is the single best way to avoid paying for a part that was never broken.
Shop hub motor replacement kits and e-bike-specific tools
- Confirm voltage and wheel size before ordering a hub motor kit.
- A torque arm is cheap insurance against a spun axle on any hub motor install.
- Mid-drive systems from Bosch, Shimano, and Yamaha are rarely sold as standalone replacement units to consumers.
A motor swap usually means the bike is parked for a few days while parts ship — a free 30-day Amazon Prime trial gets replacement connectors, a torque arm, or a diagnostic multimeter there in two days instead of a week (sponsored link; we may earn a fee if you sign up, at no extra cost to you).
DIY swap vs. a shop
A generic hub motor swap is realistic for anyone comfortable with basic bike mechanics: unbolt the old wheel, transfer the disc rotor and cassette or freewheel to the new motor’s hub, reconnect the same style of plug, and re-tension the torque arm. It’s mechanically closer to replacing a wheel than rebuilding an engine.
A mid-drive swap is a different job entirely. Beyond the harder disassembly around the bottom bracket, brand-name systems are frequently firmware-paired to the specific battery and display on the bike — meaning even a mechanically perfect DIY install can leave the system refusing to communicate until an authorized dealer re-pairs it. For anything still under warranty, or any name-brand mid-drive unit, a shop or dealer install is the safer default even for an otherwise capable DIY rider. Routine upkeep that reduces how often you face this choice at all is covered in our electric bike maintenance guide, and the rest of the parts most likely to need replacing alongside a motor are in our best electric bike parts roundup.
The bottom line
Don’t buy a replacement motor on a hunch. Rule out the controller, connectors, and battery first — all three fail more often than the motor itself and cost far less to fix. If the motor really is the problem, a hub motor swap is a few hundred dollars and a realistic weekend DIY project; a mid-drive swap runs into four figures and usually belongs with a shop, especially on a bike still inside its warranty window. And if the bike is older, lower-value, or the quote is creeping toward half the price of a new model, it’s worth cross-shopping our best electric bike rankings before you commit to the repair.