A rear derailleur gets replaced after a crash bends its cage, when its pivots wear loose, or as part of an upgrade. Fitting one is straightforward, but three things decide whether it will ever shift well: whether it matches your shifter and cassette, whether the hanger it bolts to is straight, and whether the chain is the right length.
This guide covers bolting on a new mechanical derailleur and getting it ready to adjust. The fine adjustment itself (limit screws, indexing and B-tension) is in the rear derailleur adjustment guide.
Tools & specs
Tools
- Hex keys 5 mm for most mounting bolts
- Torque wrench For the mounting and cable bolts
- Chain tool or quick-link pliers To open the chain
- Hanger alignment gauge Strongly recommended after any crash
Supplies
- Derailleur that matches your shifter and cassette
- New chain and quick link, if the old chain is worn or the length must change
- New shift cable and rear housing (recommended)
- Spare derailleur hanger for your frame
Specs
| Spec | Value |
|---|---|
| Mounting bolt Shimano value for road and mountain bike derailleurs. | 8–10 Nm |
| Cable clamp bolt Shimano value for current road and mountain bike derailleurs. | 6–7 Nm |
| Compatibility Pull ratios differ between brands and generations. Check the maker’s compatibility chart. | Match speeds, brand and largest cog |
Before you start: A derailleur that can reach past the largest cog will go into the spokes, which can wreck the wheel and lock it. Never ride until the low limit screw is set and tested.
Prepare
Check the new derailleur fits your system
Match the derailleur to your shifter, not just to the number of gears. Within a brand, road and mountain bike derailleurs of the same speed often pull different amounts of cable, and brands rarely mix. Also check the derailleur’s largest cog limit against your cassette.
Some newer systems mount differently. SRAM Eagle Transmission derailleurs bolt straight to a UDH frame without a hanger and come with their own setup procedure; follow SRAM’s instructions for those.
Check the hanger
Remove the old derailleur. Look at the hanger from behind the bike: it should hang straight down, parallel to the wheel. If the old derailleur was damaged in a crash, the hanger is almost certainly bent too.
Check it with an alignment gauge, or replace it. A new derailleur on a bent hanger never shifts properly, and a cracked hanger can snap and pull the derailleur into the wheel.
Tip: Keep a spare hanger for your frame at home. They are frame-specific and often hard to find quickly.
Mount the derailleur
Bolt it to the hanger
Grease the mounting bolt threads lightly. Pull the derailleur body back so the B-tension screw sits behind the stop tab on the hanger, not on top of it, and thread the bolt in by hand.
Check the B-screw is resting against the tab, then tighten the bolt. The derailleur should swing back freely and spring forward.

Mounting bolt: 8–10 Nm
Caution: If the B-screw is jammed on top of the tab when you tighten the bolt, the derailleur sits at the wrong angle and the hanger thread can strip. Check before torquing.
Route the chain through the cage
Open the chain with the quick link or chain tool. Thread it through the cage: in front of the upper pulley, behind the lower pulley, and inside the small tab between the pulleys that stops the chain jumping out.
Look at the old derailleur if you are unsure. A chain routed outside that tab rubs and can lock up when you back-pedal.

Check the chain length
If the new derailleur has a different cage length, or you have changed the cassette, check the chain length with the maker’s method before joining it. The chain replacement guide explains both the common methods.
Join the chain. Shift onto the largest cog and the largest chainring by hand and check the derailleur cage is not stretched forward to its limit.
Connect and set up
Set the limit screws before the cable
With no cable attached, the derailleur sits over the smallest cog. Turn the H screw until the upper pulley lines up with the smallest cog.
Push the derailleur inward by hand while turning the cranks and set the L screw so the upper pulley lines up with the largest cog and cannot go further toward the spokes.
Fit the cable
Fit new rear housing if the old loop is worn; it is the dirtiest section. With the shifter fully released, screw the barrel adjuster almost all the way in, route the cable under the clamp the way the derailleur shows, pull it taut by hand and tighten.
Cable clamp bolt: 6–7 Nm
Index, set B-tension and test
Follow the rear derailleur adjustment guide to index the gears and set the B-tension gap for your cassette. If the derailleur has a clutch switch, turn it on.
Shift through every gear while turning the cranks, then push hard into the largest cog to check it cannot overshift. Test ride before trusting it on a climb.
Troubleshooting
Still not right? Find the symptom, check the cause, apply the fix.
| Symptom | Likely cause | Fix |
|---|---|---|
| Derailleur sits tilted or close to the cogs | B-screw jammed on the hanger tab, or a bent hanger | Loosen the bolt, seat the B-screw behind the tab and retighten. Check the hanger with a gauge. |
| Chain rubs or clicks on the cage | Chain routed outside the tab between the pulleys | Open the chain and reroute it inside the tab. |
| Shifting off by one or more gears across the range | Derailleur doesn’t match the shifter’s pull ratio | Check the maker’s compatibility chart. Mixing generations often fails. |
| Cage pulled straight forward in the biggest gear | Chain too short | Add links or fit a longer chain before riding. |
Questions
Short, medium or long cage?
Cage length sets how much chain slack the derailleur can take up. Wide-range cassettes and doubles or triples need longer cages. The maker lists the range each cage handles.
Can I use a Shimano derailleur with SRAM shifters?
Usually not. The two brands pull different amounts of cable per click, so mixing them shifts badly except in a few specific combinations.
Do I need a new hanger with a new derailleur?
Not always, but check it. If the old derailleur died in a crash, replace the hanger as well.