Ebike Error Codes: What They Mean and What to Check
The number on your display is the controller telling you which circuit it stopped trusting. Learn to read the category, check things in the right order, and most faults turn out to be a plug or a brake lever.
On this page
A number appears on the display, the motor stops helping, and the internet offers you a dozen tables that all disagree. That disagreement is the first useful thing to understand. An error code is not a universal language. It is a message from one particular controller, written in the dialect its manufacturer chose, and the same two digits can mean a throttle fault on one bike and a communication failure on another.
What does translate across every bike is the underlying fault. Controllers watch a small, predictable set of circuits, and when one reads out of range, they shut down the motor and report it. Learn those circuits and the order to check them, and you can diagnose most ebikes without knowing their specific numbers. The answer is usually dull: a connector, a lever, a flat battery.
What an error code actually is
The controller sits between the battery and the motor and decides how much current the motor gets; our guide to ebike controllers covers it in detail. For diagnosis, the relevant fact is that it constantly checks its inputs against expected values. It knows what voltage a throttle should send at rest, the pattern the motor position sensors should produce as the wheel turns, and the battery voltage below which it must stop drawing current.
When a reading falls outside its window, the controller stops or limits the motor, because driving a motor on bad information can damage the motor, the controller, or the rider. Then it sends a fault number to the display. The code does not describe the broken part. It describes which measurement the controller stopped believing.
A code pointing at the hall sensors might mean a failed sensor inside the motor, or equally a bent pin in the motor connector, water in a plug, or a cable chafed through at the chainstay. The code narrows the search to one circuit. You still have to walk the circuit.
The circuits a typical controller monitors are the display data link, the throttle, the brake cutoff sensors, the motor hall sensors, the motor phase wires, battery voltage, temperature, and on many mid-drives the pedal and wheel speed sensors.
Why the same number means different things
There is no industry standard for ebike fault codes. Bafang documents codes for its own displays and drive units, Bosch has its own scheme and its own diagnostic tools, and the generic displays fitted to most direct-to-consumer bikes use yet another numbering, sometimes with an E prefix, sometimes without. A bike built from a mix of parts can even show a code defined by the display maker for a fault detected by a controller from someone else.
That is why this guide deliberately does not print a table of numbers. A table that says code 21 means one specific thing will be right for some readers and confidently wrong for others, and a wrong code sends you to replace a part that is not broken. The only reliable reference is the manual for your exact display and drive system. Brand-name systems publish theirs, and direct-to-consumer brands usually list codes in the owner's manual or on a support page. If you cannot find it, the display model is normally printed on its back or shown in a settings menu, and that is the thing to search for. Our guide to ebike displays explains how to identify which family yours belongs to.
Fault categories, what they indicate, and how to check
Once the manual tells you which circuit is involved, the checks are nearly identical from bike to bike. Always switch the system off and remove the battery before unplugging anything.
Communication faults
The display and controller exchange data many times a second. If the display stops hearing the controller, it reports a communication fault, and the motor will not run. The usual causes are physical: a handlebar cable that has been flexed thousands of times at the stem, a connector pushed together slightly misaligned, a bent pin, or corrosion from water getting into a plug. Unplug each connector between display and controller, look for green or white residue and bent pins, then reconnect firmly with the alignment arrows matched. On bikes with integrated wiring, the main harness connector is often under the motor or at the head tube.
Throttle faults
Most throttles are hall-effect devices that output a low voltage at rest and a higher one at full twist, commonly somewhere around 0.8 volts idle to a little over 4 volts wide open. Controllers refuse to start if they see an elevated throttle signal at power-on, because a stuck throttle would launch the bike. A throttle that did not spring back, a cracked housing that let water in, or a pinched cable can trigger this. Check that the throttle returns freely, then unplug it and power up. If the fault disappears and the bike assists by pedalling alone, the throttle is your part.
Brake cutoff faults
Brake levers on most ebikes carry a switch or a magnetic sensor that cuts motor power when you brake. If the controller thinks a brake is applied, it simply will not drive the motor. Many systems show no code at all for this, just a dead motor, and some show a brake symbol that is easy to miss. It is the most common cause of a bike that powers on but will not assist. Levers that do not return fully after being knocked, a lever magnet that has slid out of position on a hydraulic brake, and a pinched sensor cable are the usual culprits. Our ebike brakes guide explains how these sensors are fitted.
Hall sensor faults
Brushless motors contain three small hall sensors that tell the controller where the rotor is, so it knows which winding to energise next. A hall fault shows up as a code, as a motor that stutters or grinds from a standstill, or as one that runs roughly and draws heavy current. Check the motor connector first, since that is where most hall problems actually live, and inspect the cable where it exits the axle or motor housing, which is the spot that gets twisted when an axle spins in its dropout. Testing the sensors themselves needs a multimeter and the wiring diagram, reading each signal wire as it switches between low and high while you turn the wheel slowly by hand.
Motor phase faults
The three thick wires carry the actual motor current. A phase fault means the controller saw a short, an open circuit, or current it did not expect. Look for melted or discoloured connector housings, which indicate a poor contact that has been running hot, and for insulation damage along the cable. A burnt phase connector should be replaced, not cleaned and reused. A phase fault that appears together with a burning smell is a stop-riding fault.
Under-voltage faults
The controller cuts out when battery voltage drops below a threshold that protects the cells. An empty battery triggers it, obviously, but so does voltage sag: a tired or cold pack can read fine at rest and collapse under the load of a hill start. If the fault appears only when you accelerate hard or climb, and the battery gauge drops sharply at the same moment, the pack is losing capacity or the connection between pack and bike has high resistance. Our explainer on ebike battery voltage covers what normal resting voltages look like for 36V, 48V and 52V packs.
Over-temperature faults
Controllers and motors cut power when they get too hot, which is protection rather than failure. Long steep climbs at low speed, heavy loads and hot weather are the classic triggers, particularly on hub motors. Let the system cool for fifteen to thirty minutes. If it happens on short, easy rides, suspect a dragging brake or a controller with no airflow.
| Fault category | Typical symptom | First thing to check |
|---|---|---|
| Communication | Code at power-on, no assist | Display cable and connectors at the stem |
| Throttle | Code at power-on, pedal assist may still work | Throttle returns fully; unplug and retest |
| Brake cutoff | Powers on, no assist, often no code | Both levers fully returned; unplug sensors |
| Hall sensor | Stutter or grind from a stop | Motor connector and cable at the axle |
| Motor phase | Cut-out, sometimes a smell | Phase connector for heat damage |
| Under-voltage | Cut-out under load, gauge drops | Charge state, pack connector, pack age |
| Over-temperature | Power fades on long climbs | Let it cool; check for dragging brakes |
Swipe sideways to see all columns →
The order to check things
Check cheap, common causes before expensive, rare ones. Motors and controllers fail far less often than the plugs and switches around them. Work down this list and stop when the fault clears.
- Battery charged and seated. Charge it fully and confirm the charger light changes state. Remove the pack and click it back into the cradle until the lock engages. A pack that sits a millimetre proud can connect intermittently over bumps.
- Main battery connector. Look at the terminals on both the pack and the cradle. Pitting, black marks, or a loose terminal mean a high-resistance joint that causes cut-outs under load.
- Key switch and power button. Many packs have a key lock that also acts as an on switch, plus a separate button on the pack or the display. Both have to be on.
- Display-to-controller cable. Unplug and reconnect every joint between the handlebar and the controller, checking for bent pins and moisture.
- Brake levers and sensors. Squeeze and release both levers firmly. Then unplug the brake sensor leads one at a time and power up. If the motor wakes with a sensor disconnected, you have found it. Reconnect them before riding.
- Throttle and pedal sensors. Unplug the throttle and test pedal assist. On mid-drives, check that the spoke magnet still lines up with the speed sensor.
- Motor connector and cable. Inspect the plug nearest the motor and the cable where it enters the hub or the drive unit.
- Controller and motor. Only now, with everything else ruled out, does replacement become the likely answer.
Water is behind a large share of intermittent faults, especially ones that appear after rain and vanish once the bike has dried out. If that pattern sounds familiar, our guide to ebike waterproofing covers which connectors to protect and how.
When the ebike will not turn on at all
A blank display with no code is a different problem from a code. The controller is either not getting power or not waking the display. Codes cannot help, so the process is simply to follow the power from the battery forward.
Start at the pack
Most packs have a charge indicator on the case. If pressing its button shows nothing, the pack itself is off or asleep. Many battery management systems shut the pack down after a deep discharge to protect the cells, and plugging in the charger for a few minutes is often enough to wake it. If a pack that was fully charged shows nothing, check any key switch and power button on the pack before anything else.
If you own a multimeter, measure voltage across the discharge terminals with the pack switched on. A 36V pack reads roughly 42 volts full and low 30s when empty; a 48V pack roughly 54.6 volts full and around 40 empty. A reading near zero on a pack that should be charged means the pack has shut itself off or failed. Do not try to force charge into it with a different charger.
Then the charger
A charger that has quietly failed produces a battery that seems to charge and never does. Check that its light changes from charging to full over a sensible time, and that the plug and port are clean and undamaged. Our guide to ebike chargers explains what the indicator lights mean and how to test the output.
Then the path to the display
With a pack you know is live, check the main connector at the cradle, any inline fuse on the battery lead, and the display cable where it bends at the stem. Many displays need the power button held for two or three seconds, not tapped, which catches people on a new bike. A display that flickers when you turn the bars left and right has a damaged cable or connector at that bend.
If the pack is healthy and connected and there is still nothing, the fault is in the controller or the display, and a spare display from the same system is the quickest way to split the two.
When a battery fault means stop
Most of this guide is about finding loose plugs. This section is about the one component you should never try to repair yourself. A lithium-ion ebike pack holds hundreds of watt hours in a small box, and a damaged cell can go into thermal runaway: it heats itself, vents flammable gas, and spreads to neighbouring cells. The National Fire Protection Association treats lithium-ion battery fires as a distinct hazard because they can reignite after appearing to go out.
- Swelling or a split case
- Stop using it. Do not charge it. Move it outside, away from anything that can burn, if you can do so safely.
- Heat when idle, hissing, popping, smoke, or a sweet solvent smell
- Leave the area and call emergency services. Do not try to carry a pack that is actively venting.
- Pack was submerged or took a hard impact
- Treat it as damaged even if it seems to work. Contact the manufacturer before charging it again.
- Pack reads near zero volts or refuses to charge
- Do not bypass the protection circuit or charge the cells directly. The BMS shut it down for a reason.
- Charging stops early or the pack gets hot while charging
- Stop charging, unplug, and have the pack assessed before using it again.
Home fix or shop job
Connectors, brake sensors, throttles, charging, and keeping water out are home territory with basic tools and patience. Hall sensor testing is manageable with a multimeter and a wiring diagram. Controller replacement is straightforward on bikes with an external controller box and standard plugs, and difficult on integrated frames where the controller lives inside the down tube or the drive unit.
Brand-name mid-drive systems are a special case. Bosch, Shimano and similar systems are read by dealer diagnostic software, which shows fault history and sensor values the display never reveals. Once you have ruled out the battery, connectors and brake sensors, a dealer visit is usually faster than guessing, and warranty terms tend to require it.
The inside of a battery pack is never a home job. Neither is a motor that smells burnt, a melted phase connector, or a fault that keeps returning after you have replaced the obvious parts.
If your trouble started right after changing a tire, the likely culprit is a motor cable that was not fully reconnected, covered in our guide to fixing ebike flat tires. If you have a direct drive hub that behaves oddly on descents, how regenerative braking works explains why some controllers refuse regen with a full battery.