How to Install a Mid-Drive Conversion Kit: Bafang BBSHD and BBS02 Walkthrough

How to Install a Mid-Drive Conversion Kit: Bafang BBSHD and BBS02 Walkthrough

Installing a Bafang BBSHD or BBS02 mid-drive conversion kit replaces your bike’s bottom bracket with a motor that drives the chain directly, giving you pedal-assist and throttle control. The whole job takes four to six hours with basic bike tools. This walkthrough covers bottom bracket removal, motor mounting, wiring, battery connection, programming, and the first test ride, with model-specific notes and the common snags that trip up first-time installers.

BBSHD vs BBS02: Which Kit Fits Your Build?

Both kits share the same mounting method and motor form factor, but power output, torque, and frame-fit tolerances differ. Use this table to confirm which model matches your bike and riding style before you start.

Feature BBS02 BBSHD
Peak power 750W nominal (1,500W peak) 1,000W nominal (1,700W peak)
Max torque ~120 Nm (88 ft-lb) ~160 Nm (118 ft-lb)
Motor weight 10.5 lb 12.7 lb
Recommended use Commuting, pavement, light gravel Cargo, steep hills, off-road, heavy riders
Typical cost $500–$600 $700–$850
Frame BB shell 68–73 mm 68–73 mm
Chainstay clearance needed ~4 mm minimum from BB face ~6 mm minimum from BB face

The BBSHD’s heavier gear reduction gives it noticeably more low-end grunt for hauling loads or climbing sustained grades above 10%. The trade-off is that its larger housing contacts chainstays more often — especially on frames with fat-tire bikes, 29ers with short chainstays, or full-suspension frames with wide pivot linkages. If you measure less than 6 mm of clearance between your chainstay and a straightedge held across the BB shell faces, the BBS02 is the safer fit without frame modification.

Tools and Parts You’ll Need Before Starting

Pull everything together before you lift the bike onto a stand. Missing a tool mid-job adds an hour of frustration.

Must-have tools:
– Crank puller (Park Tool CCP-22 or equivalent)
– Bottom bracket removal tool matching your BB type – external bearing (Park Tool BBT-22) or cartridge/lockring tool
– 36 mm thin-wall deep socket for the Bafang locknut – a standard impact socket is often too thick to fit between the motor and frame
– Torque wrench, 1/4-inch drive, range 5–30 ft-lb
– Hex keys: 4 mm, 5 mm, 6 mm
– Medium zip ties (UV-resistant preferred)
– Electrical tape – wrap the downtube where cables will run to prevent rub-through
– Degreaser and rags
– Long flathead screwdriver or pry bar for stuck lockrings

Parts that prevent second trips:
Lekkie 42T chainring – improves chainline and reduces noise on most frames; fits both BBS02 and BBSHD
Bafang programming cable (USB to RJ12) – essential if you want to adjust speed limits, pedal-assist levels, or throttle behavior
Dielectric grease – dab onto each motor connector before plugging it in. Moisture in the Higo connectors causes random cutouts, especially on wet commutes

Step 1: Remove the Bottom Bracket and Crank Arms

The Bafang motor replaces the entire bottom bracket assembly. You have to extract everything — crank arms, bearings, and the spindle — and clean the shell threads.

  1. Remove both crank arms. For square-taper cranks, loosen the pinch bolts (usually a 5 mm hex), thread the crank puller into the arm, and turn until the arm pops loose. For Octalink or Hollowtech II cranks, use a dedicated puller with the correct internal thread.
  2. Unscrew the bottom bracket cups. External-bearing Shimano cups (Hollowtech II) need the splined BBT-22 tool. Turn the drive-side cup counterclockwise and the non-drive side clockwise. For threaded cartridge BBs, use a universal BB tool with a 1/2-inch drive and a breaker bar.
  3. Remove all spacers and dust caps. Clean the BB shell threads with degreaser and a shop towel. Bits of old grease or metal swarf will prevent the motor from seating flush.

Seized bottom bracket – If the tool slips or the cup won’t turn, stop immediately. Apply penetrating oil (PB Blaster or equivalent) to both sides of the BB shell threads, let it sit for 20 minutes, and try again with a breaker bar. If the cup still won’t turn or starts deforming, you risk stripping the frame’s threads. Take the frame to a bike shop. Seized BBs are most common on older steel frames with rusted cartridge units — modern external-bearing cups rarely seize.

Step 2: Mount the Bafang Motor to the Frame

Slide the motor into the BB shell from the drive side (the side where your chainring goes). The fit is intentionally snug — the motor shaft is machined to center itself in the shell.

  1. Measure your BB shell width. 68 mm shells get the two thin steel spacers on the non-drive side. 73 mm shells get one spacer on the non-drive side. Installing the wrong stack causes the motor to sit crooked, which puts side load on the bearings.
  2. Wrap electrical tape around the bottom of the downtube and chainstay where the motor housing might touch. This prevents paint chips and frame scratches during test-fitting.
  3. Insert the motor shaft from the drive side until the flat back plate contacts the frame face. Rotate the motor so the cable exit points downward — cables should route along the downtube, not stick out toward the front wheel.
  4. Thread the locknut onto the non-drive side by hand until snug. Torque it to 25–30 ft-lb with the 36 mm socket. Do not exceed 30 ft-lb — the locknut is steel and can strip the softer aluminum motor housing threads.

Motor contacts the chainstay – Stop and inspect the contact point. If the frame is steel or aluminum, you can file a shallow notch about 1/8-inch deep into the chainstay. File a little at a time and test-fit the motor each pass. If the frame is carbon fiber, do not file, grind, or modify it — that voids any warranty and risks catastrophic frame failure. In that case, switch to the BBS02 kit (smaller housing) or have a carbon repair specialist assess clearance options.

Step 3: Install the Chainring and Spacer Stack

The stock Bafang chainring works, but aftermarket rings with offset teeth (like the Lekkie 42T) improve chainline and reduce noise, especially if your frame requires the chainring to sit farther from the frame.

  1. Slide the chainring onto the motor’s splined output shaft. It will only go on one way — the splines are keyed.
  2. Add or remove thin steel spacers behind the chainring to dial in the chainline. The goal: the chain should run straight to the middle of your cassette (the 4th or 5th gear on an 11-speed cassette). A poor chainline causes premature wear on the chainring and cassette and rattles the chain under load.
  3. Start with one spacer, install the chainring, and sight along the chainline from behind the bike.
  4. Add spacers if the chainring is too close to the frame; remove spacers if it sits too far out.
  5. Typical stack: 0–2 spacers depending on BB shell width and frame geometry.
  6. Torque the chainring bolts to 8–10 ft-lb in a star pattern. Use a torque wrench here — undertightened bolts loosen over time, and overtightened ones can crack the chainring spider.

BBS02 note – The stock 46T ring often hits the chainstay on frames with short stays. A 42T ring (Lekkie or Luna Cycle) resolves this and lowers your gearing for climbing. BBSHD note – The stock 46T clears most frames, but if you plan to ride loaded cargo or steep singletrack, a 42T gives you a lower granny gear and better chainstay clearance.

Step 4: Route the Wiring Harness and Attach the Display

The Bafang wiring harness bundles the motor phase wires, throttle cable, display cable, and e-brake sensor wires into one trunk. Routing it carefully prevents snagging and pinched wires.

  1. Plug the motor cables into the harness. Each connector is keyed — match the shapes and push until the rubber boot seats. Apply a dab of dielectric grease to each pin before plugging.
  2. Route the harness along the downtube and secure it with zip ties every 6–8 inches. Leave a small loop near the motor to absorb vibrations. Do not pull the harness taut — a tight wire can snap a pin inside the motor connector after weeks of flexing on rough roads.
  3. Mount the display bracket on the handlebar stem or the left side of the bar (Bafang C965, DPC-18, or similar). Route the display cable under the stem and down the head tube, zip-tying it to the brake cable housing. Leave enough slack at the handlebar to turn the bars fully lock-to-lock without tugging the cable.
  4. Install the throttle on the right side of the bar beside the grip. Position it so your thumb reaches it without your hand leaving the grip position.
  5. Connect the e-brake sensors (if using). These interrupt motor power when you squeeze the brake lever. For hydraulic brakes, install the magnetic sensor on the brake hose near the lever. For mechanical brakes, swap the stock brake lever for the Bafang sensor lever included in the kit.

Check before moving on – Turn the handlebars full left and right. No cable should pull tight, kink, or contact the frame’s head tube or fork crown. Correct any routing that binds.

Step 5: Mount the Battery and Complete Power Connections

Battery location determines the bike’s weight distribution. Most riders mount the battery on the downtube or, on frames with limited triangle space, on a rear rack.

  1. Install the battery cradle on the downtube. Most cradle bolts (M5 or M6 stainless) thread into rivnuts already installed in the frame. If your frame has no bottle-cage mounts, use the Bafang clamp-on mount that secures around the downtube with rubber-lined collars.
  2. Route the battery cable from the cradle to the motor harness. Keep the cable above the bottom bracket to avoid chain snags. Zip-tie the cable to the top tube or along the brake housing.
  3. Connect the battery cable to the harness. The Anderson Powerpole or XT60 connectors are polarity-keyed — they only fit one way. Push until the connector seats fully. A loose connection creates intermittent power loss that mimics a dead battery.
  4. Mount the battery in the cradle. Most Bafang batteries (48V 13Ah or 17Ah) slide in from the top and lock with a key. Turn the key to secure the battery and prevent bounce-out on bumps.

Battery cable tips – Do not coil excess cable and zip-tie it tightly. Coils generate inductive heat under high current draw (especially during hill climbs). Instead, route the extra length in a wide loop inside the main triangle, secured loosely with a single zip tie.

Step 6: Program the Controller (Optional but Recommended)

The factory firmware works, but it ships with conservative settings that limit acceleration and top speed. Programming the controller with the Bafang software and a USB-to-RJ12 cable (about $15) lets you tailor the behavior to your riding style.

  1. Download the Bafang Configuration Tool from a trusted source (e.g., Luna Cycle or Bafang’s support site). Use a Windows laptop — the software does not run natively on Mac.
  2. Connect the programming cable to the display port on the harness, then plug the USB end into your laptop. Power on the battery.
  3. Adjust the current limits:
  4. Keep the maximum current at or below the battery’s BMS rating (usually 25A for a 48V 13Ah pack). Pushing higher current strains the cells and trips the BMS.
  5. Set the pedal-assist current percentages for each of the 9 levels. A common setup: Level 1 at 10% current (gentle assist for flat pavement), Level 5 at 50%, Level 9 at 100%.
  6. Set the speed limit. The factory limit is 20 mph (Class 2). If local laws allow Class 3 (28 mph), increase the limit to 28 mph. Verify where you ride — exceeding 20 mph on bike paths or trails can result in citations.
  7. Save the profile to the controller. Disconnect the cable and test the settings on a short ride before making further tweaks.

Skip programming if… you are happy with the factory assist behavior, your local regulations strictly enforce a 20 mph limit, or you don’t have a Windows computer. The kit runs fine out of the box; programming simply refines the feel.

Step 7: Test Ride and Check for Issues

Take a short 1-2 mile ride on flat ground first, then progress to mild hills. Listen and feel for these specific problems:

  • Chain rub or ticking – If you hear a clicking sound under load, the chainline is off. Adjust the spacer stack behind the chainring or shift to a different cassette gear to find the quietest gear.
  • Throttle hesitation – A half-second lag before the motor responds is normal. If the throttle cuts out completely, check the connector pins for corrosion and ensure the battery is fully charged.
  • Motor cutout over bumps – Indicates a loose connection in the harness. Wiggle each connector while riding slowly (with a helper spotting you). Replace any connector that causes the motor to drop out.
  • Display flickering – Loose display cable or insufficient voltage from the battery. Confirm the battery cable is fully pressed together and the display bracket isn’t pinching the cable.

Battery range check – On a full charge with moderate pedal assist (Level 3–4) on flat ground, a 48V 13Ah battery typically delivers 20–30 miles. Heavier riders, steep hills, or throttle-only use cuts that roughly in half. Note your initial range so you have a baseline for battery health tracking later.

Step 8: Final Torque Check and Cable Management

One week after installation, all the fasteners that you tightened on a clean frame will have settled. Do a re-torque pass:

  • Locknut: 25–30 ft-lb
  • Chainring bolts: 8–10 ft-lb
  • Crank arm pinch bolts (if you reused your original cranks): 12–15 ft-lb
  • Display bracket bolts: snug by hand, no torque spec needed

Trim excess zip-tie tails and check that no wiring can touch the chainring or the disc rotor. If your throttle cable runs near the front brake rotor, reroute it to the inside of the fork leg — a melted throttle cable from rotor heat is a common failure on motor-assisted bikes.


Q: Do I need to remove the cranks and bottom bracket for both BBS02 and BBSHD?
Yes. Both kits replace the entire bottom bracket assembly. You must remove the crank arms and the existing BB cups and spindle.

Q: Can I install a Bafang kit on a full-suspension bike?
It depends on frame clearance. The motor housing often contacts the rear shock linkage on full-suspension frames. Measure the distance between the BB shell and the nearest linkage pivot — if it is less than 4 mm (BBS02) or 6 mm (BBSHD), the motor will not fit without modification.

Q: Why does my motor cut out when I pedal hard uphill?
This is typically caused by the battery’s BMS tripping due to voltage sag under high current draw. Check that your battery is rated for at least 25A continuous discharge. Reducing the controller’s maximum current setting in the programming software (e.g., from 30A to 25A) usually solves it.

Q: How often should I re-grease the Bafang motor gears?
Bafang recommends servicing the internal planetary gears every 1,500–2,000 miles. Open the motor shell (six bolts), clean out the old grease, and apply a high-quality NLGI #2 lithium grease to the planetary gears and bearing surfaces.

Q: Do I need to upgrade my bike’s brakes for the motor?
If your bike currently has rim brakes or low-end mechanical disc brakes, upgrade to hydraulic disc brakes. The extra weight and speed of a mid-drive conversion add 10–15 lb and up to 28 mph stopping distance. Hydraulic brakes give consistent stopping power in wet conditions and require less hand effort.

Explore This Topic

Related guides in this cluster:
How to Install a Front Hub Motor Conversion Kit: Step-by-Step Guide
How to Install a Rear Hub Motor Conversion Kit: Step-by-Step Guide
Front Hub vs Rear Hub vs Mid-Drive Conversion: Which Motor Type for Your Build
Best E-Bike Conversion Kits 2026: Budget, Mid-Range and Premium Picks

Share it with your friend!

Similar Posts