Short answer: Suspect the main harness when a fault comes and goes as you turn the bars, fold the bike or ride over a bump, when the display reports a communication error, or when power cuts as if a brake lever is pulled. Inspect the plugs, wiggle-test and check continuity before replacing the display, throttle or controller, and replace it only with a harness that matches every connector, branch and length.
The main wiring harness is the least glamorous part of an e-bike, and one of the most misdiagnosed. It carries power and signals between the controller and almost everything you touch on the handlebar, so when it fails, the symptoms look like a bad display, a dead throttle or a failing controller. People often replace those parts first and only find the real problem after spending money on the wrong one.
What the main harness actually does
On most e-bikes the controller sits in the middle of the electrical system. The main harness is the cable that runs from the controller up to the cockpit and splits into branches for the parts mounted there. Bafang's widely used "1T4" EB-BUS harness is a good example: retailer documentation describes one 8-pin connector on the controller side and four branches at the handlebar end, a green 5-pin plug for the display, a yellow 3-pin plug for the throttle, and two yellow 3-pin plugs for the left and right brake sensors. Retailers also sell a "1T2" version described as connecting only the display and throttle. The motor usually has its own separate cable, which is why a harness fault tends to show up at the handlebar rather than at the wheel.
Harness symptoms at a glance
Do these checks with the bike switched off and the battery removed; put the battery back in only for the wiggle test.
| What you see | Possible cause to check | Free check first |
|---|---|---|
| The display flickers, power cuts or a code appears when you turn the bars, fold the bike or hit a bump | Wiring rubbing at a frame edge, the head tube or a folding hinge | Wiggle the cable at each stress point while watching the display |
| A display-to-controller communication code (error 30 on Bafang) | The link through the harness, before the display itself | Look for loose connectors, corroded, bent or dirty pins, damaged insulation and cracked shells |
| The display stays on but the motor ignores the throttle and pedal assist | A shorted or wet brake-sensor branch sending a stop signal | Unplug one brake lever at a time |
| Worn-through sheath, a crushed section, or a plug that no longer clicks home | Physical damage | Check that wire end to end for continuity with a multimeter |
Signs the harness is the problem, not the part
- Faults that follow movement. Cables are vulnerable where they rub against sharp frame edges, at the head tube where the bars turn, and at the hinge of a folding bike. If the display flickers, the power cuts out or an error appears when you turn the handlebar, fold the bike or ride over a bump, suspect the wiring before the components.
- Communication error codes. Many systems report a display-to-controller communication fault; on Bafang it is error 30. Bafang's own troubleshooting sheet for that code starts with the harness, not the display: check for loose connectors, corroded pins, bent or broken pins, dirt in the pins, damaged wire insulation and cracked connector shells. At least one other manufacturer's official guide for its communication code lists the replacement order as display, then controller, then harness.
- Power cuts as if a brake lever is pulled. A brake-sensor branch that is shorted or has water in it can send the same "stop" signal as a squeezed lever, so the display stays on while the motor ignores the throttle and pedal assist. Our guide to brake sensors and "no power" faults shows how to isolate that branch by unplugging one lever at a time.
- Visible damage. Worn-through outer sheath, a crushed section, or a connector that no longer clicks home are all reasons to look closer.
Free checks before you buy anything
- Switch the bike off and remove the battery. Photograph every connector and the cable routing before you unplug anything; those photos save a lot of time on reassembly.
- Unplug each connector on the harness and look at the pins: bent or pushed-back pins, green or white corrosion, and water inside the plug are all common failures. The same inspection method is covered in our guide to water in motor connectors.
- Reconnect each plug fully and make sure it seats all the way. Then, with the battery back in, gently wiggle the cable near each connector and at the known stress points while watching the display. A fault that appears and disappears as you move one section points straight at that section.
- For a definite answer, check each wire end to end for continuity with a multimeter. See five multimeter measurements every owner should know for how to set the meter up.
- If you still cannot tell which part is at fault, strip the system down and add parts back one at a time with the minimal-system method.
How to choose a replacement harness
- Match every connector, not just the count. Check the connector family, the number of pins and which side is male or female. Similar-looking plugs are not a guarantee: Grin Technologies warns that two parts with the same connector type and pin count from different suppliers may not be safe to plug together, because the wire order inside can differ.
- Match the branches. Count what your current harness feeds. If your bike has brake sensors on both levers, a display-and-throttle-only harness will leave them disconnected.
- Match the lengths. Good listings give the total length and the length from the split to each plug. Tall handlebars and folding bikes need extra slack, and a harness that is too short will be stretched every time the bars turn.
- Stay within one system. A harness is part of the communication path between controller and display, so it has to belong to the same system as both. If you are also replacing the controller or display, buy them as a matched set; as we explain in KT vs No.2 protocol, parts that plug together do not always talk to each other.
Common questions
Can a bad harness look like a bad display or controller?
Yes. The harness carries power and signals between the controller and the parts on the handlebar, so a fault in it shows up as a dead display, a dead throttle or what looks like a failing controller. That is why the free checks above come before any replacement.
Is a harness with the same plugs always compatible?
No. Match the connector family, the pin count and which side is male or female. Grin Technologies warns that two parts with the same connector type and pin count from different suppliers may not be safe to plug together, because the wire order inside can differ.
Do I need a harness with brake-sensor branches?
If your bike has brake sensors on both levers, yes. A display-and-throttle-only harness, such as the 1T2 version, leaves them disconnected.
Browse the harnesses we carry in our wiring collection, and if you are not sure a part fits, send us the four photos we need to confirm fit before you order.
This guide is part of our e-bike repair DIY guide and the turns on but won't move fault-finding order. Related: a display that won't light up, controller, display or both and our connector guide.
Last updated November 4, 2026: added a short answer, a symptom table and answers to common questions.