Upgel/Bike maintenance

How to Adjust a Rear Derailleur

By Updated 9 min read

The short answer

Work in a fixed order: check the hanger is straight, set B-tension to about a 6 mm gap at the largest sprocket, set the L and H limit screws, then index with the barrel adjuster a quarter turn at a time.

How to Adjust a Rear Derailleur. What is actually wrong when gears shift badly — Cable tension drifted: 40 %; Dirty or corroded cable: 20 %; Bent hanger: 15 %; Worn chain or cassette: 15 %; Limit screws wrong: 10 %.

Key takeaways

  • Order matters more than technique. Limit screws before cable tension, and hanger alignment before either.
  • Limit screws do not set the gears — they only stop the derailleur travelling too far at each end.
  • Indexing is done with the barrel adjuster. A quarter turn is a big change.
  • If shifting is bad in every gear, suspect a bent hanger, a worn chain, or dirty cables before touching a screw.

Rear derailleur adjustment has a reputation for being fiddly, and it earns that reputation almost entirely when people do it in the wrong order. There are four adjustments, they interact, and three of them only need setting once. Do them in sequence and the whole thing takes ten minutes.

The order, and why

Four adjustments, in the order they must be done
#AdjustmentWhat it controlsHow often
1Hanger alignmentWhether the derailleur hangs parallel to the sprocketsOnly after a knock
2B-tensionGap between upper jockey wheel and largest sprocketOnce per setup
3L and H limit screwsHow far the derailleur can travel at each extremeOnce per setup
4Cable tension (indexing)Which sprocket the chain sits on per clickWhenever shifting drifts

Step 1: check the hanger

The derailleur hangs from a small replaceable aluminium tab called the hanger, deliberately made soft so it bends before your frame does. It bends easily — laying the bike on its drive side is enough. A bent hanger makes perfect indexing impossible, because the derailleur is no longer parallel to the cassette.

  1. Look from directly behind the bike, at eye level with the cassette.
  2. The derailleur cage and the two jockey wheels should sit in the same plane as the sprockets.
  3. If the cage leans inwards towards the spokes, the hanger is bent.
  4. A proper alignment gauge is the right tool. Bending it back by hand works but is imprecise and hangers can snap.
  5. If it is bent badly, replace it. They are cheap, model-specific, and worth having a spare of.

Step 2: set B-tension

The B-tension screw pushes against the hanger and rotates the whole derailleur body backwards, changing how close the upper jockey wheel sits to the sprockets. Too close and the chain grinds in the largest sprocket; too far and shifting becomes vague and slow.

Setting the gap

  1. Shift to the largest rear sprocket

    And the smallest chainring at the front, which puts the system at its most compressed.

  2. Look at the upper jockey wheel

    You want a gap of roughly 6 mm between its teeth and the teeth of the largest sprocket — around the thickness of two stacked coins.

  3. Turn the B screw

    Clockwise increases the gap, counter-clockwise reduces it. It is on the back of the derailleur where it meets the hanger.

  4. Check the small sprocket too

    Shift to the smallest sprocket and confirm the gap has not become excessive there.

Setting the gap: 1. Shift to the largest rear sprocket; 2. Look at the upper jockey wheel; 3. Turn the B screw; 4. Check the small sprocket too.
Setting the gap — the sequence at a glance.

Step 3: the limit screws

Two screws, usually marked H and L, are simple mechanical stops. They do not participate in shifting at all — they only prevent the derailleur from travelling past the smallest sprocket into the frame, or past the largest sprocket into the spokes. That second one is the important one.

Setting L and H

  1. Disconnect the cable, or at least slacken it

    Limits must be set with no cable tension influencing where the derailleur sits.

  2. Set H first

    With no cable tension, the derailleur springs to the smallest sprocket. Turn the H screw so the upper jockey wheel lines up directly under the smallest sprocket — not further out.

  3. Set L

    Push the derailleur by hand towards the largest sprocket. Turn the L screw so it stops with the jockey wheel directly under the largest sprocket and cannot go past it.

  4. Verify L carefully

    Push firmly. The derailleur must not be able to reach the spokes. This is the one adjustment that can destroy a wheel, a derailleur and a hanger in one shift.

  5. Reconnect the cable

    Pull it snug by hand with the shifter in its highest position and tighten the anchor bolt.

Step 4: indexing with the barrel adjuster

This is the adjustment you will actually use. The barrel adjuster sits where the cable enters the derailleur, and sometimes at the shifter too. Screwing it out lengthens the housing path, which effectively increases cable tension and moves the derailleur towards the larger sprockets.

Indexing the gears

  1. Shift to the smallest sprocket

    The highest gear, with the least cable tension.

  2. Pedal and shift up one click

    Turn the cranks and click once towards the larger sprockets.

  3. Watch what happens

    If the chain does not move up, there is not enough tension — turn the barrel adjuster counter-clockwise a quarter turn. If it overshoots or is noisy, there is too much — turn it clockwise a quarter turn.

  4. Work up the cassette

    Repeat through every sprocket. Then work back down, because shifting down can need slightly different tension.

  5. Fine-tune by ear

    In each gear, the drivetrain should be quiet. A persistent rattle in one gear means the tension is fractionally out.

  6. Check both chainrings

    Front position changes chain angle, so verify indexing in the big ring as well as the small.

What is actually wrong when gears shift badlyApproximate share of poor rear shifting by underlying cause. Notice that most of them are not the derailleur adjustment at all.
  • Cable tension drifted40%

    The barrel adjuster job. Quick.

  • Dirty or corroded cable20%

    New inner and housing fixes it.

  • Bent hanger15%

    Nothing else will work until this is straight.

  • Worn chain or cassette15%

    Adjustment cannot fix worn parts.

  • Limit screws wrong10%

    Usually after someone else 'fixed' it.

Front derailleur adjustment follows its own sequence and is covered in adjusting a front derailleur. For a symptom-led approach across the whole drivetrain, start at adjusting bike gears.

The limit screws do not control shifting; they only limit the travel of the derailer.

Sheldon Brown, Derailer Adjustment

Frequently asked questions

Which way do I turn the barrel adjuster on a rear derailleur?

Counter-clockwise increases cable tension and moves the chain towards the larger sprockets. Clockwise reduces tension and moves it towards the smaller ones. Work in quarter turns.

What do the H and L screws do on a rear derailleur?

They are mechanical stops only. H limits travel at the smallest sprocket, L limits travel at the largest. Neither affects shifting between gears — that is cable tension.

Why do my gears skip after adjusting the derailleur?

Most often the chain or cassette is worn, which adjustment cannot fix. If the parts are good, check the hanger is straight before touching the barrel adjuster again.

How much gap should there be between the jockey wheel and the cassette?

About 6 mm at the largest sprocket, set with the B-tension screw. Too small causes grinding in the low gears; too large makes shifting vague.

Sources

  1. Derailer Adjustment — Sheldon Brown

    Supports: That limit screws only bound travel rather than control shifting, and the sequence of limit setting before indexing.

  2. Rear Derailleur Adjustment — Park Tool

    Supports: B-tension gap setting at the upper jockey wheel and barrel adjuster indexing procedure.

  3. Chains — Sheldon Brown

    Supports: That a worn chain produces skipping that derailleur adjustment cannot correct.

Related guides