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

Hub motor vs. mid-drive: what actually breaks

Hub motorMid-drive motor
Typical replacement cost$275-$800$600-$1,800+
Name-brand (Bosch/Shimano) swapRare — most hub motors are genericOften $1,500+, authorized dealer usually required
DIY difficultyModerate — mostly a wheel swapHard — bottom-bracket disassembly, often firmware-paired
Drivetrain wearLowerHigher (~$100-200/yr more)
Common failure pointInternal gears, bearings, phase wiresInternal 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:

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

Generic hub motor kits, torque arms, and connector sets for a DIY swap
  • 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.
Shop e-bike motor kits on Amazon →

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.

Advertisement