How to Index a Rear Derailleur: 5 Steps in the Right Order
To index a rear derailleur, set the high limit screw first, then turn the barrel adjuster until one shifter click moves the chain exactly one cog with no noise, then set the low limit screw and the pulley gap. Before any of that, the hanger has to be straight and the cable and chain in good shape, because indexing cannot correct them. All you need is a repair stand, a screwdriver and hex keys; the order and tests below follow Park Tool’s rear derailleur adjustment guide for cable-actuated derailleurs.

Check the hanger, cable and chain first
Indexing only lines up the guide pulley with each cog. It cannot make up for a part that is bent, dragging or worn, so rule these three out before you touch a screw.
- Derailleur hanger. Park Tool explains that hangers are made to bend easily in a crash or fall, and that the resulting misalignment cannot be fixed with indexing or limit screws. Look at the derailleur from behind: if the cage tilts out of line with the cogs, have the hanger checked with an alignment gauge. Park’s test treats a gap under 3 mm between the gauge and the rim, compared at opposite sides of the wheel, as aligned.
- Cable and housing. Park Tool lists kinked, worn, frayed or corroded cable or housing as a cause of slow, inconsistent or missing shifts. Replace them before you chase tension.
- Chain. A worn chain meshes poorly with the cogs and shifts badly, per Park’s chain replacement guide. A quick check from that guide: line one rivet up with the zero mark on a ruler and count 24 more rivets. They should land on 12 inches; more than 1/16 inch off means the chain is due. Our guide on how often to replace a bike chain covers the rest.
How to index a rear derailleur in 5 steps
Put the bike in a repair stand so you can pedal the cranks by hand, and keep the screwdriver and hex key within reach. If the shifter has a barrel adjuster at the lever as well as one on the derailleur, use the one on the derailleur for these steps. Unscrewing a barrel adjuster adds cable tension; screwing it in removes tension.
Step 1: Reset the starting point
- If there is more than one chainring, put the chain on the largest ring. Shift the rear to the smallest cog and keep clicking the shifter until no clicks are left.
- If the chain will not reach the smallest cog, turn the H-limit screw counterclockwise a few turns and pedal. Still stuck: turn the barrel adjuster clockwise a few turns.
- With the chain on the smallest cog, screw the barrel adjuster in two more turns, or until it stops. This takes the cable out of the equation so the limit screw settings show up honestly, since a taut cable can hold the derailleur in place and hide a badly set limit.
Step 2: Set the H-limit screw
The H screw stops the derailleur from moving the chain past the smallest cog and into the frame. If the screws are not marked, turn one and watch the derailleur; if nothing moves, it is the other one.
- Turn the H screw in until it is clearly too tight, then back it out until the guide pulley sits directly under the smallest cog.
- Tighten it half a turn and pedal. If the drivetrain is quiet, keep tightening until you hear the chain rub on the next cog.
- Back the screw out a quarter turn at a time until that noise stops. If two settings sound equally quiet, keep the tighter one.
- Turn the barrel adjuster counterclockwise a couple of turns to bring it roughly back to where it was. It does not have to be exact yet.
Step 3: Index with the barrel adjuster
Start on the smallest cog. With two chainrings use the largest; with three use the middle ring. Pedal at a normal cadence and click the shifter one click only. That single click should move the chain one cog.
- If the chain does not move, return the shifter to its outermost click and unscrew the barrel adjuster one full turn. Repeat until one click moves one cog. If the barrel runs out of thread, screw it fully back in, unscrew it one or two turns, then with the shifter at its outermost click and the chain on the smallest cog, take the slack out at the cable pinch bolt.
- If one click moves the chain two cogs, shift back to the smallest cog, screw the barrel in one turn, and try again.
- Fine-tune: unscrew the barrel until you hear noise from the chain starting to touch the next cog in, then screw it in slowly until the noise stops.
- Check each cog in turn up to the second-largest. If one is noisy, screw the barrel in a quarter turn and test that shift again. Leave the largest cog for the next step.
- Shift back out across every cog. If any shift outward is slow, one more quarter turn clockwise usually fixes it.
Park Tool points out that there is a range of barrel positions that shift well, so you are looking for a good setting, not one exact spot.
Step 4: Set the L-limit screw
The L screw stops the chain from going past the largest cog into the spokes. Work it the same way as the H screw, from too tight back to just right. With more than one chainring, use the next-to-largest ring and start on the second-largest cog.
- Try to shift to the largest cog. If the chain will not go, goes slowly, or the drivetrain is noisy there, the screw is already too tight. That is the starting point.
- If the shift is clean, shift one click back out, turn the L screw one turn clockwise, and test again. Repeat until the too-tight symptoms show up.
- Then back the screw out a quarter turn at a time until the shift to the largest cog is quick and quiet.
- Check: on the largest cog, push the shifter harder and watch the derailleur from behind. The cage must not move further in.
Step 5: Check the B-screw gap
The B screw sets how close the upper guide pulley sits to the cogs. Check it with the chain on the smallest chainring and the largest cog. Park Tool says most road and mountain derailleurs want a gap of 5 to 6 mm, and a hex key makes a handy gauge. Tighten the B screw to widen the gap and loosen it to close the gap. If shifting is already good, leave it alone, and if you change it a lot, recheck the indexing from Step 3.
Which way to turn: shifting symptoms and fixes
When a shift goes wrong after you finish, match the symptom to the screw. These directions come from the same Park Tool procedure.
| What the chain does | Likely cause | Turn this |
|---|---|---|
| Will not climb to the next bigger cog after one click | Too little cable tension | Barrel adjuster out (counterclockwise): a full turn at first, then quarter turns |
| One click moves two cogs | Too much cable tension | Barrel adjuster in (clockwise), one turn, then retest |
| Noise on a cog, or a slow shift back out | Tension slightly high | Barrel adjuster in (clockwise), a quarter turn |
| Will not reach the smallest cog | H screw too tight, or the cable is holding the derailleur back | H screw counterclockwise (looser) |
| Slips off the smallest cog toward the frame | H screw too loose | H screw clockwise (tighter), then recheck for noise |
| Slow, noisy or refuses the largest cog | L screw too tight | L screw out a quarter turn at a time |
| Cage moves inward when you push the shifter hard on the largest cog | L screw too loose | L screw clockwise (tighter) |
| Nothing holds, or shifting is poor across the whole cassette | Bent hanger, damaged cable or housing, or worn chain | Go back to the three checks at the top |
If it still will not shift right
A bike that shifts well in the stand and badly on the road has a different problem, covered in why a bike shifts fine on the stand but not while riding. If the chain has gone behind the cassette, read why the chain fell behind the cassette into the spokes, which is an L-limit job. And if the chain keeps dropping off elsewhere, start with 8 causes of a bike chain that keeps falling off.
Torque values and gap specs differ between derailleur models, so when the maker’s documentation for your exact derailleur disagrees with this general procedure, follow the maker.
Suryashankar Dasgupta founded Wise Wheeling. He has been cycling for more than 20 years, on geared and single-speed bikes, across many kinds of terrain. His guides cover bike repair, fit and gear, and each one is checked against manufacturer manuals, Park Tool and other primary sources before it’s published. Read how guides are made: https://wisewheeling.com/editorial-policy/
