How to Wire an Ebike Brake Light Switch and Sensor: Complete Guide
Wiring an ebike brake light switch means connecting the brake lever’s sensor to your controller so the brake light activates when you squeeze the lever. The simplest method: find the brake light wire on your controller (often yellow or blue), then splice it to the signal wire from your brake lever switch. Below are the exact steps for both mechanical cable brakes and hydraulic disc brakes, plus what to do when things don’t work as expected.
What You Need Before You Start
- Brake light compatible controller – Most modern ebike controllers have a dedicated brake light output wire. Check your controller’s manual for a “brake light” terminal; common colors are yellow, blue, or green.
- Brake lever with built-in switch – Mechanical levers usually have a two-wire connector (one wire for motor cut-off, one for brake light). Hydraulic levers use a pressure sensor with two wires.
- Wire stripper/cutter – 20–22 AWG wire is typical for these signals.
- Heat-shrink tubing or electrical tape – For waterproof splices.
- Multimeter – To verify continuity and confirm voltage before connecting (essential for diagnosing issues).
Wiring Steps for Mechanical Brakes with Brake Light
Mechanical brake levers typically use a magnetic reed switch or a simple contact switch. The lever housing has two wires: one triggers the motor cut-off, and the other carries the brake light signal.
Identify the Brake Light Wire on the Controller
Common controller wire colors:
| Controller Terminal | Wire Color | Function |
|---|---|---|
| Brake light output | Yellow / Blue / Green | +12V or battery voltage when brake lever is pulled |
| Ground | Black | Common negative |
If your controller lacks a dedicated brake light terminal, tap into the same wire that sends a signal to the motor controller. This may require a voltage-compatible relay or converter (see troubleshooting below).
Connect the Brake Lever Switch
Cut the brake lever’s brake light wire and strip ¼ inch of insulation. Splice it to the controller’s brake light output wire using a butt connector or solder joint. Connect the black ground wire from the lever to any common ground on the controller or battery negative.
Route and Secure
Use zip ties to keep the wires away from rotating parts such as the chain and spokes. Apply heat-shrink over each splice to prevent shorts from moisture.
Wiring Steps for Hydraulic Brakes
Hydraulic brake sensors use a two-wire pressure switch that closes the circuit when brake fluid pressure rises.
Locate Sensor Wires
The sensor housing usually has a red power wire and a black ground wire. Some sensors also output a signal to the motor controller. For brake light only, use the same power wire that goes to the light input.
Splice into Brake Light Input
Connect the sensor’s red wire to the controller’s brake light terminal. Connect the black wire to the controller’s ground.
Test without Braking
With the bike powered on, the brake light should be off. Pull the lever and the light should come on immediately. If the light stays on constantly, the sensor may be wired to a normally‑closed circuit. Swap the wires or add a resistor to invert the signal (see failure mode below).
Testing the Brake Light (Verification Step)
Before sealing up the wiring, confirm the fix works with these three checks:
1. Visual check – Have someone watch the rear light while you squeeze each brake lever. The light should go from off to full brightness within half a second.
2. Multimeter check – Set your meter to DC volts and probe the brake light wire at the controller. When the lever is pulled, voltage should read battery voltage (e.g., 48V or 52V). No change means a bad connection or incompatible sensor.
3. Voltage drop test – If the light is dim, check that your ground connections are clean and that the wire gauge is sufficient for the light’s current draw. Most LED lights draw under 0.5A, so 20 AWG is fine.
Success signal: Brake light turns on only when a lever is squeezed, and turns off immediately when released.
Troubleshooting Common Wiring Problems
| Symptom | Likely Cause | Fix |
|---|---|---|
| Brake light stays on all the time | Sensor wired backwards (normally‑closed vs normally‑open) | Swap signal and ground wires, or install a pull‑up resistor |
| Brake light doesn’t turn on | No voltage at controller output, or splice is broken | Use multimeter to check continuity; re‑splice if resistance > 1Ω |
| Light flickers or dims | Poor ground connection or undersized wire | Clean ground terminals; use 18 AWG or larger for long runs |
Realistic Failure Mode: Normally‑Closed Sensor
Many hydraulic brake sensors are normally‑closed (NC) – they send a constant 5V or 12V signal until brake pressure opens the circuit. If you wire an NC sensor directly to a controller expecting a normally‑open signal, the brake light will stay on continuously.
What to do: Measure the sensor’s resting voltage with a multimeter. If it reads battery voltage with the lever released, you have an NC sensor. Install a simple pull‑down resistor (1 kΩ) between the signal wire and ground to invert the logic. Alternatively, use a relay that switches the brake light wire only when the sensor voltage drops.
When to Stop DIY and Seek Help (Escalation Threshold)
Stop working and contact a bike shop or the controller manufacturer if you encounter any of these:
- You measure zero volts on the controller’s brake light terminal even with the lever pulled, and there is no dedicated brake light output in the manual.
- You smell burning plastic or notice hot wires after powering on.
- The brake light works but the motor cut‑off no longer kills power when you brake – this is a safety hazard.
- You are unsure about the voltage rating of your controller or sensor (e.g., 48V system tied to a 12V-rated light).
If you hit any of these, stop and take the bike to an e-bike specialist. Continuing could damage the controller, battery, or brake components.
Wiring Branch: What to Do If Your Controller Has No Brake Light Output
If your controller doesn’t have a dedicated brake light wire, you have three options:
- Option A: Use a DC‑DC converter that steps battery voltage down to 12V and wire it to a separate brake light switch – best for systems with 48V+ batteries.
- Option B: Install a brake light module (e.g., from a third‑party e‑bike accessory brand) that senses motor cut‑off signal and triggers the light directly.
- Option C: Add a relay that taps into the motor cut‑off line; works only if the motor controller has a low‑side or high‑side brake signal that can drive a relay coil.
Test which option matches your controller’s voltage range first – using a 12V relay on a 48V signal will burn it out.
Final Check: Recurrence Pattern
Wiring splices can corrode over time, especially in wet conditions. Check your brake light operation monthly. If the light stops working after a few months, the most likely cause is a corroded splice. Re‑strip the wires, clean with isopropyl alcohol, and re‑solder with quality heat‑shrink. If the issue recurs in the same wire, replace the entire section of wire – the strand may have broken inside the insulation.
Related Articles
- How to Bleed Hydraulic E-Bike Brakes: Complete DIY Guide
- How to Select and Wire an ESC for Your BLDC Motor
- What To Look For When Buying An Electric Scooter: Complete Guide
Ryan Williams has spent over 8 years testing, repairing, and writing about electric bikes. He has personally ridden and reviewed 150+ e-bike models from brands like Lectric, Aventon, Rad Power, Super73, and dozens more.
Before founding EBIKE Delight, Ryan worked as a bicycle mechanic for 5 years at independent bike shops across California, where he specialized in e-bike conversions and electrical system diagnostics. He holds a Certificate in Electric Vehicle Technology from the Light Electric Vehicle Association (LEVA).
Ryan’s work has been cited by Electric Bike Report, Electrek, and BikeRumor. When he is not testing the latest e-bike on California backroads, he is in his workshop tearing down batteries and controllers to understand what makes them tick — and what makes them fail.
Areas of Expertise
E-bike performance testing and real-world range verificationBattery diagnostics, charging best practices, and safetyBrand comparisons: Lectric, Aventon, Rad Power, Super73, and moreError code troubleshooting across major e-bike systemsE-bike laws, registration, and compliance by state
Ryan believes every rider deserves honest, hands-on information — not marketing hype.