Cart
Your cart is empty
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.

MAINTENANCE & REPAIR AFTER THE WHEEL SWAP UK + US

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.
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:
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.
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.
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.
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.
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'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.
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:
So: washers first, then the brake, then the gears. Change a washer later and you start the gears again.
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.
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.
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.
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.
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.
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.
| 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.
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.
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.
Sprockets → spacers → hanger → chain → H → index → L → B.
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.
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.
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
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.
Stay in the know
Conversion guides, fitting advice and the deals worth knowing about. No spam.
By signing up you agree to our Privacy Policy.
How To & Install160mm vs 180mm vs 203mm Brake Rotors: Heat, Fit and Trade-Offs on a ConversionA conversion adds motor and battery weight and raises the speeds you carry into corners, so the brakes are working harder than the donor bike was designed for....
How To & InstallXT90 vs MT60 vs Julet Ebike Connectors: What Each Cable Carries and How to Match ItThese are not three grades of the same thing. They serve different circuits carrying very different currents — so the first question is never which connector looks right,...
How To & InstallWhat Are the Self-Learning Wires on an Ebike Controller? Safe Setup and Direction ReversalThey are a commissioning connection, not a riding feature. Joining them puts the controller into a temporary mode where it works out how to drive your motor —...