Word lid van onze Facebook Groep—ontvang een kortingsbon van £20.

Winkelwagen

Blog12 min lezen

Indexing Gears After Fitting a Rear Hub Motor: Spacers, Chain Line and Derailleur Setup

Shifting that goes wrong after a rear motor swap is usually about where the new sprockets sit, not the derailleur. This step-by-step guide covers freewheel vs cassette, axle spacers, chain line, then H/L limits, barrel-adjuster indexing and B-tension, with a symptoms table.

KirbEbike 60V 2500W-3000W motor wheel in the 7-speed freewheel version: a black direct-drive hub motor in a black rim with a red stripe, threaded axle end and motor cable visible
Op deze pagina

MAINTENANCE & REPAIR AFTER THE WHEEL SWAP UK + US

KirbEbike 60V 2500W-3000W motor wheel in the 7-speed freewheel version: a black direct-drive hub motor laced into a black rim with a red stripe, with the threaded axle end and motor cable visible
A new motor wheel puts new sprockets in a new place. Even a few millimetres of difference between the old hub and the motor is enough to upset indexed shifting.
The Short Answer

If your rear hub motor gear shifting went wrong after the wheel swap, the derailleur is usually fine. The sprockets have moved. A motor wheel puts its freewheel or cassette at a slightly different distance from the frame than your old hub did, and your old cable setting was tuned to the old position.

Work in this order: confirm the sprockets match your shifter, seat the axle fully and evenly in both dropouts with the washers where you want them, check chain line and chain length, then set the derailleur from scratch: H limit screw, barrel-adjuster indexing, L limit screw, B-tension. Skipping straight to the barrel adjuster is why so many people chase the same noise for a week.

Fix the Hardware Before You Adjust Anything

Derailleur screws only fine-tune. They cannot correct a shifter built for a different sprocket pitch, a crooked wheel or a bent hanger; Park Tool says a misaligned hanger "can generally not be accounted for" by indexing or limit screws. Check these first, in order:

  1. Sprocket type and count match your shifter.
  2. Axle seating and spacers: axle fully home in both dropouts, washers and torque arm where they should be, nuts tight.
  3. Hanger and dropouts: straight, not bent during the swap.
  4. Chain: right length, right width, not worn out.

This guide starts after the kit is fitted. For choosing a motor, see our freewheel vs cassette guide and the 8 to 12-speed compatibility guide.

Freewheel or Cassette: What Changed When You Swapped Wheels

Most KirbEbike rear-hub kit and motor wheel pages list two motor versions per wheel size: a 7-speed threaded freewheel or an 8–11-speed cassette body, with cassette sprockets not included. The fat-tyre options are listed as 7-speed, and the 72V 4000W kits list 1-speed (135 mm) and 7-speed (142 mm) versions.

Not sure which you have? Park Tool's test: spin the sprockets backwards with the wheel out. If the tool fitting turns with the cogs, it is a cassette on a freehub; if it stays still, it is a threaded freewheel.

Why the speed count matters to an indexed shifter

An indexed shifter pulls a fixed length of cable per click, sized for one sprocket pitch. Change the pitch and the error adds up across the block:

Shimano sprocket set Centre-to-centre spacing Total width
7-speed HG 5.0 mm 31.9 mm
8-speed 4.8 mm 35.4 mm
9-speed 4.34 mm 36.5 mm
10-speed 3.95 mm 37.2 mm

Source: Sheldon Brown, cassette spacing crib sheet. Other brands differ slightly; measure your own if in doubt.

The 0.2 mm difference between 7 and 8-speed grows to 1.2 mm over six shifts, so the middle gears work and the ends rattle. If you moved from a cassette to a 7-speed freewheel motor, fit a 7-speed shifter; no barrel adjuster setting fixes that.

Cassette spacers on the freehub body

If you moved your old cassette onto a cassette-body motor, check the spacer behind it. Sheldon Brown notes that an 8/9/10-speed body takes a 7-speed cassette with a 4.5 mm spacer, and a 10-speed cassette with a 1 mm spacer on an 8 or 9-speed body. Refit any spacers in the order they came off. A cassette that still moves sideways after the lockring is tight is missing one. Park Tool gives at least 40 Nm for a standard lockring, or the maker's figure.

Freewheel threading

A cross-threaded freewheel wobbles, and a wobbling block cannot index. Park Tool's routine: grease the threads heavily, start it by hand with the cogs parallel to the rim, and if it resists early, back it off and start again. Seat it by pedalling or with a chain whip.

KirbEbike installation tools: a crank puller, a folding hex key set, a splined freewheel removal tool, a red tyre lever and an adjustable spanner
KirbEbike sells a freewheel removal tool on its installation tools page. It is for freewheel motors; a cassette needs a lockring tool and chain whip instead.

Spacers, Washers and Dropout Fit

KirbEbike's kit pages give a 135–142 mm rear dropout for the standard (non-fat) rear-hub kits, and the wheel and dropout size page notes that spacers add 2–3 mm. Compare your frame's inside dropout width with the motor's width across the outer washers. Park Tool's rule of thumb for a normal hub is within 1–2 mm. Don't use the axle nuts to pull the frame to fit; our 135 mm vs 142 mm fit guide covers the options.

Where the washers go decides where the cogs sit

Moving a 2 mm washer from the non-drive side to the drive side keeps the total width the same but shifts the whole wheel 2 mm towards the non-drive side. Three things follow:

  • The sprockets sit 2 mm further from the right dropout and derailleur hanger, so your old cable setting is now off by nearly half a 7-speed gear.
  • The rim is no longer centred between the chainstays.
  • The disc rotor moves 2 mm, so the caliper needs re-centring.

So: washers first, then the brake, then the gears. Change a washer later and you start the gears again.

Seat the axle the same way every time

If one side of the axle sits deeper in its slot than the other, the wheel sits at an angle and the sprockets swing relative to the derailleur. Push the axle fully home on both sides before tightening, and fit the torque arm as in our torque arm guide. If the torque arm or an extra washer goes on the drive side, check that the derailleur hanger still clamps flat and the derailleur has not been pushed outwards.

Check the hanger and dropouts

Wrestling a heavy motor wheel into a frame easily knocks the hanger. Park Tool's gauge check compares the gauge-to-rim gap at opposite points of the rim; 3 mm or less counts as aligned. No gauge? A bike shop can check it quickly, and it saves hours of indexing.

Checking Chain Line

Chain line is the distance from the centre plane of the bike to the middle of the sprockets. Park Tool's formula for the rear is:

Rear chain line = (hub width ÷ 2) − (sprocket set width ÷ 2) − gap from smallest cog to dropout

Measure the dropout-to-smallest-cog gap with feeler gauges or hex keys. The table assumes a 135 mm motor and a 4 mm gap; yours will differ.

Sprocket set (Park Tool width) Calculation Rear chain line
SRAM 7-speed freewheel, 31.8 mm 67.5 − 15.9 − 4 about 47.6 mm
Shimano 8-speed cassette, 35.4 mm 67.5 − 17.7 − 4 about 45.8 mm
Shimano 9-speed cassette, 36.3 mm 67.5 − 18.15 − 4 about 45.4 mm
Shimano 10-speed cassette, 37.2 mm 67.5 − 18.6 − 4 about 44.9 mm

Illustrative calculation using Park Tool's formula and its listed sprocket widths. Hub width 135 mm and a 4 mm cog-to-dropout gap are assumptions, not KirbEbike measurements.

Compare it with the chainset. In Park Tool's worked example, a 43.1 mm rear chain line would likely work with a 45 mm crank chain line, but 50 mm would probably be too far out. Park Tool also says a bike that shifts well has an acceptable chain line whatever the number says, so only chase it if the chain throws off a chainring, rides off the lower jockey wheel when nothing is bent, or rattles in many gears. While you're there, check the chain clears the frame on the smallest cog and the motor cover and spokes on the largest.

Chain length

A different largest sprocket can leave the old chain too short or too long. Park Tool's check: in the largest chainring and largest sprocket, the chain wraps both jockey wheels with two slight bends; in the smallest sprockets there is no slack and the chain doesn't touch itself. Replace a stretched chain too: Park Tool notes that running a worn chain too long wears the sprockets it runs on.

Derailleur Setup, Step by Step

This follows Park Tool's procedure. Bike in a stand, largest chainring, and click the shifter towards the smallest cog until no clicks are left.

  1. Take the cable out of the equation. Turn the barrel adjuster on the derailleur clockwise until it is nearly or fully in. Otherwise the cable, not the H screw, may be what stops the derailleur.
  2. Set the H (high) limit screw. Tighten it too far, then back it out until the jockey wheel sits directly under the smallest cog. Tighten half a turn and pedal. If it's quiet, keep tightening until the chain rubs the next cog, then back out a quarter turn at a time until the noise stops. If two settings are equally quiet, use the tighter one.
  3. Restore rough cable tension. Turn the barrel adjuster back out a couple of turns. With the chain on the smallest cog and the shifter fully released, pull out cable slack and tighten the pinch bolt.
  4. Index with the barrel adjuster. Click once. One click should move the chain one cog. If it doesn't climb, turn the barrel adjuster anticlockwise a full turn and try again. If it jumps two cogs, turn it clockwise. Then fine-tune by quarter turns, listening for the chain touching the next larger cog. Check every cog up and down, except the largest for now.
  5. Set the L (low) limit screw. From the second-largest cog, shift to the largest. If it shifts cleanly and quietly, the L screw is not too tight yet. Tighten it in steps until the shift turns slow or noisy, then back out a quarter turn at a time until it is clean. Push hard on the shifter: the cage should not move any further inwards. That is what keeps the chain out of the spokes.
  6. Set B-tension. With the chain in the smallest chainring and largest rear cog, check the gap between the upper jockey wheel and the cog. Park Tool says most road and mountain derailleurs want 5–6 mm, and you can use a hex key as a gauge. Tightening the B screw opens the gap. If you change it much, check the indexing again.

If the new largest sprocket is much bigger than your old one, check your derailleur's maximum sprocket size in the maker's dealer's manual before forcing it with B-tension.

Symptoms and Likely Causes

What you notice Most likely cause First thing to try
Middle gears fine, ends drift and rattle Shifter speed count doesn't match the sprocket pitch Match the shifter to the freewheel or cassette; indexing won't fix it
Slow or hesitant shift to larger cogs Cable tension too low Barrel adjuster anticlockwise, a quarter turn at a time
Slow shift to smaller cogs, or overshoots two cogs up Cable tension too high Barrel adjuster clockwise, a quarter turn at a time
Won't reach the smallest cog H screw too tight, or cable still tight Release the shifter fully, back off the H screw, recheck
Chain goes past the largest cog towards the spokes L screw too loose Stop riding; reset the L screw (step 5)
Clatter in the largest cogs only B-tension gap too small Tighten the B screw towards a 5–6 mm gap
Shifting good in some gears, no setting works everywhere Bent hanger or wheel seated crooked Reseat the axle; have the hanger checked with a gauge
Cassette rocks on the body Missing freehub spacer or loose lockring Add the correct spacer; tighten the lockring to spec
Skipping under load on new sprockets Worn chain Fit a new chain sized to the new sprockets
Shifting changed after a brake or wheel job Washers moved or axle reseated differently Put the washers back where they were, then re-index

Pairings follow Park Tool's adjustment, chain line, hanger and cassette articles. A frayed cable or kinked housing can mimic any of these.

Product touchpoint

Pick the motor version that matches your gears

KirbEbike's rear-hub kits, such as the 52V 2000W MTX kit, and motor wheels such as the 60V 2500W–3000W motor wheel are listed in a 7-speed freewheel version or an 8–11-speed cassette version for each wheel size. Cassette sprockets are not included. The installation tools page sells a freewheel removal tool on its own. If you are unsure which version suits your shifter, email support with photos of the shifter and the rear sprockets.

See the 52V 2000W kit →

Conclusion: Position First, Screws Last

Most shifting trouble after a rear motor swap comes from where the new sprockets sit and how many there are, not from the derailleur. Match the shifter, fix the washers and axle seating, check hanger, chain line and chain, then set H, indexing, L and B-tension in that order.

Get the order right

Sprockets → spacers → hanger → chain → H → index → L → B.

FAQs

Why did my gears stop indexing after I fitted a rear hub motor?

The motor puts its sprockets at a different distance from the hanger than your old hub, and your cable tension and limit screws were set for the old position. Reset the derailleur from scratch once the wheel position is final.

Can I use my 8-speed shifter with a 7-speed freewheel motor?

Not well. Shimano 7-speed sprockets sit 5.0 mm apart and 8-speed 4.8 mm apart, so an 8-speed shifter drifts further off with every click. Fit a 7-speed shifter, or choose a cassette-body motor and an 8-speed cassette.

Do I need spacers for my cassette on a hub motor?

It depends on the cassette and the length of the freehub body. On a standard 8/9/10-speed body, a 7-speed cassette needs a 4.5 mm spacer and a 10-speed cassette may need a 1 mm spacer. KirbEbike's pages don't list the cassette body length, so check that the cassette doesn't move side to side once the lockring is tight.

Sources

Bronnen

  1. [1] Park Tool — Rear Derailleur Adjustment.
  2. [2] Park Tool — Chainline Concepts.
  3. [3] Park Tool — Rear Derailleur Hanger Alignment.
  4. [4] Park Tool — Cassette Removal and Installation.
  5. [5] Park Tool — Freewheel Removal and Installation.
  6. [6] Park Tool — Determining Cassette / Freewheel Type.
  7. [7] Park Tool — Frame Alignment and Dropout Alignment.
  8. [8] Park Tool — Chain Replacement – Derailleur Bikes.
  9. [9] Sheldon Brown — Cassette and freewheel spacing crib sheet and Cassettes and freehubs.
  10. [10] Shimano — Dealer's manuals and service instructions (model-specific derailleur limits and B-tension settings).
  11. [11] KirbEbike — Wheel and dropouts size.
  12. [12] UK Government — Electric bikes: licences, tax and insurance.
🛡️
A note on safety and the rules. Switch the battery off or unplug it before working near the drivetrain, and keep fingers clear of the chain while turning the cranks in a stand. Never ride with the L limit screw unset: a chain in the spokes can lock the rear wheel. In Great Britain a converted bike counts as an EAPC only with a motor of no more than 250W continuous rated power that stops assisting at 15.5 mph (25 km/h) (GOV.UK). The 2000W and 2500W–3000W kits mentioned here are for private land or off-road use with the landowner's permission.

About this guide

Author: Andy Kirby. Last reviewed: December 2026. KirbEbike has not run its own shifting or chain line tests, and no figure here comes from KirbEbike measurements. The derailleur, chain line, hanger, dropout, cassette, freewheel and chain procedures come from Park Tool's repair help articles; sprocket spacing and cassette spacer figures come from Sheldon Brown. The chain line table is an illustrative calculation with stated assumptions. Freewheel and cassette options, dropout widths and the tools listing come from KirbEbike's live kit, motor wheel, wheel-and-dropout and installation tools pages, December 2026.