Quick answer
Error 15 on the Bafang E170 / E180 / E181 means “Error with the temperature sensor inside the controller.” Most likely cause: an internal controller fault. Try this first: restart the system first.
Code meanings vary by brand. The same number can mean different things on different displays and controllers. Check your bike's manual to confirm.
About the Bafang E170 / E180 / E181
The E170 shows a code with its colored light: blue flashes give the first digit and cyan flashes give the second (2 blue + 5 cyan = 25). source The E180 and E181 flash their level 1 and level 2 lights at about once per second to show a code. source Bafang's manuals say: when an error code appears, first restart the system. If it doesn't go away, contact your dealer. source
In plain English
The controller's temperature sensor isn't working. It's an internal fault, so there's little to do yourself beyond ruling out loose connections and water.
Step-by-step checklist
Reset
Work from the top. Steps go from free and easy to shop jobs. Switch the bike off before touching any connector. Tick each step as you go. Your progress is saved on this device.
As an Amazon Associate I earn from qualifying purchases. Steps marked "affiliate link" link to Amazon.
1 Restart the system first Free
Bafang's manual says to restart first whenever an error code appears: switch the system off, wait a few seconds, then switch it back on. If the code doesn't go away, carry on with the steps below.
2 Unplug and check the main connectors Easy
Switch off and remove the battery. Find the round waterproof plugs along the cables (usually near the handlebar, down the frame and near the motor). Pull each one apart, look for bent pins, water, green corrosion or melted plastic. Melted or burnt plastic means stop and see a shop. Clean green corrosion with electrical contact cleaner and let it dry fully, then push the plug back together with the arrows lined up.
Need it? Electrical contact cleaner spray on Amazon (affiliate link)
3 Dry the bike out if it got wet Moderate
If the problem started after rain or washing, remove the battery and leave the bike somewhere warm and dry for 24 to 48 hours, then test again. Don't use a heat gun or put the bike next to a heater.
4 Have the controller tested Shop job
If the wiring checks out, the controller may be faulty. A shop can test it and replace it if needed.
⚠ When to stop and get a shop
Stop and see a shop if the controller is hot to the touch, smells burnt, or has melted plastic on any connector. Don't open the controller or cut into the main wiring harness.
Anything inside the battery, the controller, or the thick high-power motor wires is a job for a qualified e-bike shop.
Parts you might need
As an Amazon Associate I earn from qualifying purchases. These links go straight to Amazon.
Only buy a part if the free steps didn't fix it. Always match the voltage and connector type to your bike.
Electrical contact cleaner spray Cleans dirt and corrosion from connector pins and battery contacts.
View on Amazon
Still not fixed?
Pages to try next:
When it's time for a shop: if you've worked through every step and the problem is still there, take the bike to an e-bike shop. Bring your notes on when it happens, plus the code.
Words on this page: Controller
Sources
Written and checked by Kazolt against the sources above. Last checked: October 18, 2026. How we write our fixes
Does Error 15 mean something different on your bike? Let us know so we can fix this page.