Berkeley Bike Almanac
Menu

Chains, Gears & Drivetrain

Derailleur Adjustment: Fix Rear and Front Shifting Step by Step

Fix rear and front derailleur shifting in the right order: pre-checks, limit screws, indexing, B-screw and front setup, plus a symptom-to-fix table.

By
Berkeley Bike Almanac
Published
Reading time
7 min read
A bicycle rear derailleur, chain and cassette seen from behind through the wheel spokes
Rear gears on a bicycle. Photo: Thegreenj, CC BY-SA 3.0

Job card

Difficulty
IntermediateSome specialist tools or careful adjustment.
Time
30–60 minutes for a rear derailleur, plus 20–30 minutes for the front

Tools

  • Repair stand
  • Hex keys and a small screwdriver
  • Clean rags and light lubricant
  • Cable cutter and end caps, if cable work is needed
  • Chain wear checker

Parts and supplies

  • Shift cable and housing, if the old ones are dirty, frayed or kinked

Key points

  • Check the derailleur hanger, chain wear and cable condition before touching any screw, because adjustments cannot fix a bent hanger or a worn chain.
  • The order that works is limit screws, then indexing with the barrel adjuster, then the B-screw; adjust the front derailleur only after the rear works.
  • Turning a barrel adjuster counterclockwise tightens the cable on most systems, which speeds shifts to larger cogs; Shimano Rapid Rise works the opposite way.
  • Park Tool gives about 5 to 6 mm (0.2 to 0.24 in) for the B-screw gap, and 1 to 2 mm (0.04 to 0.08 in) for front derailleur cage height.
  • Electronic systems are adjusted through the manufacturer's procedure or app, and a bent hanger is a shop job.

Most shifting problems come from three things you can check before you touch a screw: a bent derailleur hanger, a worn or dirty chain, and cables that have gone stiff. If all three are fine, adjust in this order: limit screws, indexing with the barrel adjuster, then the B-screw on the rear, and the front derailleur only after the rear shifts well. Each step takes a few minutes and uses a hex key and screwdriver.

This guide is for cable-operated derailleurs on road, gravel, commuter and mountain bikes. It includes a table that links symptoms to adjustments, and a short note on electronic systems. Drivetrain wear is covered in chain care and drivetrain wear and compatibility.

What to check before you adjust anything

An adjustment cannot make up for a damaged part. Spend five minutes ruling these out.

  1. The derailleur hanger. The hanger is the tab on the frame that holds the derailleur. When a derailleur gets hit, the hanger usually bends rather than the derailleursource 3. Look at the derailleur from behind: the two pulleys should sit directly beneath one another, with the chain running straight between themsource 3. Park Tool says that if the hanger is clearly bent, your adjustments are not going to worksource 1.
  2. The chain. A worn chain mostly causes skipping under load rather than poor shifting, but it also meshes poorly with the cogssource 3. Measure it, as described in the chain care guide.
  3. The cable and housing. Dirt in the housing adds friction and makes shifting heavy. SRAM says that if shifting takes much more effort than before, or shifts to harder gears are sluggish, replace the cable and housing, and suggests a 1.1 mm shift cable with 4 or 5 mm compressionless housing for best resultssource 4.
  4. The chain length. Too short a chain risks jamming if you shift into the largest chainring and cog; too long a chain only droops in the small-small combination, which you should not usesource 3. Sheldon Brown's rule for most derailleur bikes is to size the chain with one full link overlapping on the large-large combination, and notes that SRAM 1x systems need two extra linkssource 3.

Job for a professional mechanic

Straightening a bent hanger needs a hanger alignment tool. Sheldon Brown notes that bike shops have a special tool for it, that pulling the derailleur cage back by hand bends the cage instead, and that a bent hanger can pull the derailleur into the spokessource 3. A professional mechanic should align or replace the hanger.

Symptom to adjustment

What you see or feelLikely causeTry
Chain overshifts into the spokesLow (L) limit screw too looseTighten L-screw in small stepssource 1,3
Cannot reach the smallest cogH-screw too tight, cable friction or bent hangerLoosen H-screw; check cable and hangersource 1,3
Slow shifts to larger cogsCable too looseTurn barrel adjuster counterclockwisesource 1,3
Slow shifts to smaller cogsCable too tightTurn barrel adjuster clockwisesource 3
Works on one chainring but not anotherBent hangerCheck the hangersource 3
Pulley touches the largest cogB-screw gap too smallTighten B-screwsource 1,3
Skipping under loadWorn chain or cassetteMeasure the chainsource 3
Repeating hitch every few pedal turnsStiff chain linkFind the link in small-small and free or replace itsource 3
Chain falls off on a front downshiftFront L-limit set too looseTighten front L-screwsource 2,3

Source: Park Tool and Sheldon Brown procedures cited in the last columnsource 1–3. Shimano Rapid Rise rear derailleurs work in the opposite direction at the barrel adjuster.

Rear derailleur, step by step

Put the bike on a stand so the wheel turns freely, and lubricate the cable ends and derailleur pivots lightly before you begin.

  1. Go to the smallest cog. With a multi-chainring bike, shift the front to the largest chainring first. Keep clicking the rear shifter until no clicks are left, so the shifter is fully releasedsource 1.
  2. Set the H-limit screw. Park Tool's method is to make the screw too tight, then back it out until the upper pulley sits directly below the smallest cog, tighten half a turn, pedal and listen, then back out a quarter turn at a time until the noise stops; if two settings seem equally quiet, use the tighter onesource 1. First turn the barrel adjuster in, so the cable is not what stops the derailleursource 1.
  3. Index with the barrel adjuster. Start in the smallest cog, shift one click and pedal. If the chain does not move to the next cog, the cable is too loose: turn the barrel adjuster counterclockwise, a full turn at a timesource 1. Sheldon Brown suggests half-turn steps, because beginners often overcorrectsource 3. Then turn the adjuster clockwise slowly until noise stops, and test each cog one at a timesource 1.
  4. Remove slack at the pinch bolt if needed. If the barrel adjuster runs out of travel, return it to a near-closed position, shift to the smallest cog, remove slack from the cable and retighten the pinch boltsource 1.
  5. Set the L-limit screw. Make the screw too tight, then back it out a quarter turn at a time until the shift to the largest cog is quick and quietsource 1. As a check, put extra pressure on the shifter: the cage should not move further inwardsource 1.
  6. Check the B-screw gap. With the chain on the smallest chainring and largest cog, most road and mountain derailleurs need a gap of about 5 to 6 mm (0.2 to 0.24 in) between the upper pulley and the cog; a hex key can gauge itsource 1. Tighten the screw to increase the gap and loosen it to reduce itsource 1. If shifting is already good, do not chase the numbersource 1.
  7. Re-test the whole range. Ride or pedal the stand through every gear in both directions, and fine-tune with quarter turns of the barrel adjuster.

Front derailleur, step by step

Front shifting depends on the rear, so complete the rear firstsource 3. The front derailleur moves the chain while the upper run is under load, so expect it to shift less crisply under heavy pedalingsource 3.

  1. Set the height. The gap between the outer chainring teeth and the lower edge of the outer cage plate should be 1 to 2 mm (0.04 to 0.08 in), about a penny's thicknesssource 2. Sheldon Brown notes makers commonly recommend 2 mm, and that lower generally shifts better as long as the cage clears the teethsource 3.
  2. Set the angle. Seen from above, the outer cage plate should be parallel to the chainsource 2,3.
  3. Set the L-screw. With the chain on the smallest chainring and cog, and the cable fairly loose, adjust so a small gap of about 1 mm (1/16 in) shows between the chain and the inner cage platesource 2. If the chain falls off the inside, tighten the L-screw 1/8 turnsource 2.
  4. Set the H-screw. With the chain on the largest chainring and smallest cog, pull the cable taut by hand and set about 1 mm (1/16 in) between chain and outer cage plate. If the chain shifts off the outside of the large chainring, tighten the H-screwsource 2.
  5. Set cable tension. For indexed levers, set the barrel adjuster so the chain clears the cage in each positionsource 2. When tightening a cable pinch bolt, Park Tool gives approximately 30 to 40 in·lb (3.4 to 4.5 N·m); check the value printed on your derailleur or in its manualsource 2.

Warning

Do not turn limit screws by large amounts. A loose rear L-screw can send the chain or derailleur into the spokes, which can wreck the wheel, derailleur and framesource 3. Make changes in small increments and test by hand before riding.

Electronic and integrated systems

Electronic derailleurs have no cable to tension. Limit and fine-tuning adjustments are made through the manufacturer's procedure, often a mobile app. SRAM's guidance for its Eagle Transmission, for example, refers to micro-adjustment in the app for AXS components and a barrel adjuster for mechanical onessource 5. Follow your maker's manual, since the steps differ by brand and model. The pre-checks still apply: a bent hanger or a worn chain will upset an electronic system as much as a mechanical one.

When shifting is not an adjustment problem

If you have set limits, indexing and B-screw and shifting is still poor, the cause is often elsewhere:

  • Bent hanger, which shows as good shifting on one chainring and poor on anothersource 3.
  • Worn chain or cassette, which shows as skipping under loadsource 3.
  • Sticky cable or housing, the most common fix being replacementsource 4.
  • Worn or dry derailleur pulleys, which squeal and cause sloppy shiftssource 3.
  • Cage play, where the derailleur body wiggles; Sheldon Brown says excess play means replacementsource 3.

For a wider list of symptoms, see common bike problems.

Test before you ride

Shift through every gear on the stand, then ride slowly in a quiet area and shift under light and moderate load. Check that the chain does not jump or drop. Re-check the cable tension after the first few rides, because new cables settle. For the right tools to carry out this job, see essential bike repair tools, and for the wider maintenance routine, the complete bike maintenance guide.

Sources

  1. Park Tool (2015). Rear Derailleur Adjustment.
  2. Park Tool (2015). Front Derailleur Adjustment.
  3. Sheldon Brown and John Allen (Harris Cyclery). Derailer Adjustment and Maintenance.
  4. SRAM. Maintenance Tips: Apex Mechanical D1 Welcome Guide.
  5. SRAM. Easy Maintenance: Eagle Transmission Welcome Guide.