Adjust a rear derailleur: limit screws, indexing and the hanger check
Step-by-step rear derailleur setup for e-bikes with cable shifting: check the hanger, set the H and L limit screws, index with the barrel adjuster and set the B screw.
The Pedalwise team started this page from official manuals, support pages and repair videos. Fixed this yourself, or spotted something wrong? Help improve it.
- Difficulty
- Moderate
- Time
- 20 to 45 minutes
Tools
- Hex keys
- Screwdriver (to fit the limit screws)
- Bike repair stand
- Derailleur hanger alignment gauge (optional)
If your chain won't climb to the next cog, rattles, or jumps two gears at once, the rear derailleur probably needs adjusting. This guide covers the hanger check, the high and low limit screws, indexing with the barrel adjuster and the B screw. It follows Park Tool's derailleur guides. If your bike has electronic shifting or an internal gear hub, this page doesn't apply, so follow your maker's manual.
Step-by-step
1Check the hanger first
The hanger is the small part that holds the derailleur to the frame. Park Tool says a bent hanger causes poor shifting that limit screws and indexing generally can't fix (Park Tool). With an alignment gauge, a hanger is straight when three points 90 degrees apart on the rim are within 3 mm of each other (Park Tool hanger).
Photo needed: View from behind the bike showing the derailleur hanging straight in line with the cogs. Add one
2Set up the gears
If you have more than one chainring, shift to the largest. Shift the rear to the smallest cog, then keep clicking the shifter until no clicks are left (Park Tool).
3Free up the high limit
If the chain won't reach the smallest cog, turn the H screw counterclockwise a few turns and pedal. If it still won't, turn the barrel adjuster clockwise a few turns. Then turn the barrel adjuster about two more turns clockwise so the cable doesn't hide the limit setting (Park Tool).
Photo needed: Fingers turning the barrel adjuster where the cable enters the derailleur. Add one
4Find the H screw
5Set the H screw
Tighten it until the chain starts to rub the next cog while you pedal, then back it out a quarter turn at a time until the noise stops. If two settings are equally quiet, use the tighter one. Turn the barrel adjuster back counterclockwise a couple of turns (Park Tool).
6Index with the barrel adjuster
Pedal and shift one click.
- If the chain doesn't move, return to the smallest cog and turn the barrel adjuster counterclockwise one full turn, then try again.
- If it jumps two cogs, return to the first cog and turn it clockwise one turn.
- Shift through each cog and listen. If one is noisy, turn the adjuster clockwise a quarter turn and test again.
If the barrel adjuster is almost all the way out, Park Tool threads it back in, backs it out one or two turns, and takes up cable slack at the pinch bolt (Park Tool).
Photo needed: Chain moving cleanly onto the next cog after one click. Add one
7Set the L screw
Shift to the second largest cog, then the largest. A failed, slow or noisy shift means the L screw is too tight. Back it out a quarter turn at a time until the shift is clean (Park Tool). The L screw stops the chain going past the largest cog. To check it, push a little extra on the shifter in the largest cog. The derailleur should not move further in (Park Tool).
8Check the B screw gap
In the largest cog, Park Tool measures the gap between the top pulley and the cog and gives 5 to 6 mm for most road and mountain derailleurs. Tightening the B screw opens the gap. If you change it a lot, recheck the indexing. Don't fuss over it if the bike already shifts well (Park Tool).
Photo needed: Hex key held between the top pulley and the largest cog to gauge the gap. Add one
9Test ride
Ride and shift through every gear. If the chain still slips under hard pedaling, it may be worn (Park Tool chain wear). See check and replace a chain.
Videos
When to get a pro
- The hanger is bent. Park Tool says to realign in small steps, that a hanger bent many times may break during alignment, and that hangers built into the frame need extreme care (Park Tool hanger). Without a gauge, let a shop do it.
- The derailleur or its cage is visibly bent or cracked after a fall.
- Shifting goes out of adjustment again soon after you set it.
- More on what to leave to a shop: when to call a pro.
Sources
- Rear Derailleur Adjustment, Park Tool
- Rear Derailleur Hanger Alignment, Park Tool
- When to Replace a Worn Chain, Park Tool
Stuck after these checks? Find a shop near you.
If these steps didn't fix it, find a shop near you in our partner network of shops that work on electric rides.
Talk
Questions, things that worked for you, or something that looks wrong on this page.
Sign in to join the conversation.
CC BY-NC-SA 4.0Text by Pedalwise and contributors, shared under CC BY-NC-SA 4.0. Linked videos and manuals keep their own terms. How to reuse it