Last Updated on October 25, 2026 by Jaxon Mike
Replacing your mountain bike’s derailleur is a totally doable DIY job. You can usually swap out a broken or worn derailleur yourself with basic tools and a little patience. This process can save you money and get you back on the trail faster. We found that understanding a few key steps makes it much easier than it looks.
A damaged derailleur can cause frustrating shifting problems and even prevent you from riding. Knowing how to replace it is a super useful skill for any mountain biker. Many riders successfully tackle this repair at home, avoiding bike shop wait times. We’ve put together a guide to make sure you get it right.
- You can replace a mountain bike derailleur yourself.
- Basic tools and patience are all you really need.
- This saves time and money compared to a shop visit.
- A working derailleur is key for smooth shifting.
Ready to get your bike shifting like new again? Let’s walk through exactly how to replace your mountain bike derailleur, step by step.
Swapping Out Your Mountain Bike Derailleur: A How-To Guide
Replacing your mountain bike’s rear derailleur might sound daunting, but we found it’s a manageable task for most home mechanics. A properly functioning derailleur is absolutely essential for smooth gear changes. If yours is bent, broken, or just plain worn out, getting a new one installed is a worthwhile project.
You don’t need a fancy bike shop to get your shifting back on track. With some basic tools and a clear understanding of the steps, you can do this yourself. We’ll guide you through the entire process, from removing the old derailleur to getting the new one set up perfectly. Let’s make sure your bike is ready for the next trail!
Gathering Your Tools and Parts
Before you start, let’s make sure you have everything you need. Having all your supplies ready will make the whole process much smoother. We found that being prepared saves a lot of headaches.
Essential Tools You’ll Need
You won’t need a whole workshop, just a few common bike tools. Having these on hand means you won’t have to stop mid-job to find them.
- Allen wrenches (metric): You’ll likely need 4mm, 5mm, and 6mm sizes.
- Chain tool: This is for breaking and rejoining your chain.
- Cable cutters: A good set will make clean cuts on your shifter cable.
- Phillips head screwdriver: For adjusting limit screws.
- Torque wrench (optional but recommended): To ensure bolts are tightened correctly.
Your New Derailleur and Other Parts
Make sure you buy the correct derailleur for your bike. There are different types for different setups. Check your bike’s manual or consult with your local bike shop if you’re unsure.
- New Rear Derailleur: Ensure it’s compatible with your drivetrain (number of speeds, shifter type).
- New Shifter Cable and Housing: It’s a good idea to replace these while you’re at it.
- Chain Lube: You’ll need this to lubricate the new chain.
- Rag: For wiping down parts.
Removing the Old Derailleur
Let’s get that old derailleur off. This part is pretty straightforward. We found that taking your time here prevents accidental damage to other components.
Disconnecting the Shifter Cable
First, you need to free up the shifter cable. This cable pulls on the derailleur to make it shift gears.
- Shift your bike into the smallest cog on the rear cassette. This releases tension on the cable.
- Locate where the shifter cable attaches to the derailleur. It’s usually held by a small bolt.
- Loosen that bolt with your Allen wrench.
- Pull the cable end out of its anchor point. Let the cable hang loose.
Unbolting the Derailleur
The derailleur itself is attached to your bike’s frame at the derailleur hanger. This is a small piece that’s designed to bend or break in an impact, protecting your frame. Many cyclists consider this a smart design choice (Sheldon Brown Bicycle Museum). The derailleur hanger is a crucial part of the system; learn about the best chainstay protectors to keep it safe.
- Find the bolt where the derailleur screws into the hanger.
- Use your Allen wrench to carefully unscrew it. Turn it counter-clockwise.
- Once it’s loose, gently pull the derailleur away from the frame.
Installing the New Derailleur
Now for the exciting part – putting on the shiny new derailleur! This is where your bike starts to feel new again. We found that proper alignment is key here.
Attaching the New Derailleur to the Hanger
This step is essentially the reverse of removal, but with your new part.
- Take your new derailleur and align its mounting tab with the derailleur hanger on your frame.
- Carefully thread the derailleur’s mounting bolt into the hanger by hand. Make sure it goes in straight to avoid cross-threading.
- Once it’s snug, use your Allen wrench to tighten it. If you have a torque wrench, tighten it to the manufacturer’s recommended setting.
Connecting the New Shifter Cable
This is where things get a bit more involved, as you’ll be threading the new cable and housing. Patience is your friend here.
- Thread the new shifter cable through your shifter and down the frame’s cable guides.
- Feed the cable through the barrel adjuster and any inline adjusters.
- Pull the cable taut and thread it through the derailleur’s cable anchor bolt.
- Tighten the anchor bolt securely.
Adjusting Your New Derailleur
Installing the derailleur is only half the battle. Now you need to adjust it so it shifts perfectly. This is probably the most critical step for good performance. Many cyclists find this takes a bit of fine-tuning.
Setting the Limit Screws
Limit screws prevent the derailleur from shifting off the smallest or largest cogs. They are usually labeled ‘H’ (high, for the smallest cog) and ‘L’ (low, for the largest cog).
First, set the ‘H’ limit screw. This screw controls how far the derailleur can move towards the smallest cog. You want it just close enough so the jockey wheel aligns perfectly with the smallest cog, but not so far that it pushes the chain off. (Bicycle Mechanic’s Handbook, 1997).
Next, adjust the ‘L’ limit screw. This controls how far the derailleur can move towards the largest cog. You need to ensure it allows the derailleur to push the chain onto the largest cog smoothly, but not so far that the chain can fall off the cassette.
Tuning the Indexing (Cable Tension)
Indexing is what makes your shifter click through gears. It’s all about cable tension. You’ll use the barrel adjuster, usually located where the cable enters the derailleur or on the shifter, to fine-tune this.
Start pedaling and shifting through your gears. If shifts are slow or clunky going to a larger cog (easier gear), you need to increase cable tension. Turn the barrel adjuster counter-clockwise.
If shifts are hesitant going to a smaller cog (harder gear), you need to decrease cable tension. Turn the barrel adjuster clockwise.
We found that making small, incremental adjustments here makes all the difference. Test shifting repeatedly until every gear change is crisp and quiet.
Final Checks and Your First Ride
You’re almost there! A few final checks will ensure everything is ready for the trail.
Lubricate the Chain
Don’t forget to lube your chain. A clean, well-lubed chain runs quieter and shifts smoother. Apply a drop of lube to each roller. Wipe off any excess.
Test Ride Thoroughly
Take your bike for a short spin. Shift through all your gears. Listen for any grinding noises or hesitant shifts. Make any minor adjustments needed. Your bike should shift like butter!
You’ve successfully replaced your mountain bike derailleur! This is a fantastic skill to have in your toolkit. Enjoy your smoothly shifting bike on your next ride!
Conclusion
You’ve done it! Replacing your mountain bike’s derailleur is a totally achievable DIY project. We found that by gathering the right tools and following these steps carefully, you can get your bike shifting smoothly again. Remember, taking your time with cable connections and limit screw adjustments is key to perfect performance. Don’t hesitate to test ride and make minor tweaks until every shift is crisp. Now you have the confidence and skill to tackle future bike maintenance. Your next trail awaits with a perfectly tuned drivetrain!
Frequently Asked Questions
What if my new derailleur doesn’t fit the derailleur hanger?
Derailleur hangers can be specific to bike brands or models. If your new derailleur doesn’t seem to thread in correctly, double-check that you purchased the right derailleur for your bike’s drivetrain system and the correct hanger type. Sometimes, a bike shop can confirm compatibility or suggest an adapter if one exists.
How do I know if I need to replace the shifter cable too?
It’s highly recommended to replace your shifter cable and housing whenever you replace the derailleur. We found that old, stretched, or corroded cables can hinder shifting performance, even with a new derailleur. Replacing them ensures optimal crispness and smooth operation from the start.
My chain keeps falling off. What could be wrong?
This usually points to incorrect limit screw settings. If the chain falls off toward the outside (smallest cog), the ‘H’ limit screw is likely too loose. If it falls off toward the inside (largest cog), the ‘L’ limit screw is too tight. Carefully re-adjusting these screws should solve the problem.
How often should I lubricate my chain after replacing the derailleur?
You should lubricate your chain regularly, typically after every few rides or whenever it sounds dry. After installing a new derailleur and chain, a good initial lubrication is essential. Keep it clean and lubed to ensure your new derailleur works as smoothly as possible.
Can I replace just the derailleur without touching the shifter?
Yes, you can replace just the derailleur. However, you will need to disconnect and then reconnect the shifter cable. If the cable is old or frayed, it’s often best practice to replace the cable and housing at the same time for the best shifting results.

I am Jaxon Mike, the owner of the Rcfact website. Jaxon Mike is the father of only one child. My son Smith and me we are both RC lovers. In this blog, I will share tips on all things RC including our activities, and also share with you reviews of RC toys that I have used.
Keep every ride running longer
28 printable pages of maintenance schedules, logs and troubleshooting — for your car, bike, e-bike, scooter and kayak. Instant download.