You can replace a mountain bike chain yourself with basic tools in about 20 minutes
A chain replacement is one of the most straightforward repairs on a mountain bike. You need a chain tool (also called a chain breaker), a new chain sized to match your bike's drivetrain, and about 20 minutes. The chain sits on your front and rear sprockets and wears down over time from friction and dirt. When it stretches or breaks, the bike will skip gears or stop pedaling smoothly. Replacing it yourself costs between $30 and $80 for the chain and tool combined, versus $60 to $120 at a shop.
The hardest part is not the removal or installation — it is getting the chain length right. A chain that is too long will sag and fall off. A chain that is too short will not reach around both sprockets and will snap under load. Most chains come with a master link (a removable pin) that makes the job easier than older chains that require a permanent pin.
Key Takeaways
- You need a chain tool, a new chain matched to your drivetrain size, and a master link if your old chain has one.
- The correct chain length is determined by wrapping it around both the largest front and rear sprockets without pedaling, then adding two links.
- A master link chain can be removed and installed by hand; older chains require the chain tool to push out and install a permanent pin.
- After installation, shift through all gears and check that the chain does not rub or skip before riding on rough terrain.
What size chain your bike needs
Mountain bikes use chains sized by the number of speeds on the rear cassette (the stack of sprockets). A 9-speed chain is thinner than a 10-speed or 11-speed chain. If you install the wrong size, the chain will not sit properly on the sprockets and will skip or fall off under load.
Check your bike's cassette by counting the sprockets on the rear wheel. Look at the smallest sprocket (closest to the center) and count outward. Write down that number. Then look at your current chain or the bike's manual to confirm the speed. If you cannot find the manual, take a photo of your cassette and rear derailleur to a local bike shop — they can tell you the correct chain size in seconds.
When you buy a new chain, it will come longer than you need. You will shorten it to fit your bike in the installation step.
Tools and materials you will need
A chain tool (also called a chain breaker) costs $15 to $40 and is the only specialized tool required. It has a pin that pushes through the chain links to remove or install the permanent pin. If your new chain has a master link, you do not need the tool to install it — only to remove your old chain if it does not have a master link.
You will also need the new chain (matched to your bike's speed), a rag or old towel, and a flat work surface. Some people use a bike stand to hold the bike steady, but you can also flip the bike upside down so the handlebars and seat rest on the ground. Have good light — working on a chain in dim light leads to mistakes.
If your old chain has a master link (a wider link with a removable pin), you can remove it by hand without a tool. If it does not, you will need the chain tool to push out the old pin.
How to remove the old chain
Shift the bike into the smallest front chainring and the smallest rear sprocket. This puts slack in the chain and makes it easier to work with. If your chain has a master link, locate it — it looks wider than the other links and has a small pin or clip on one side. Push the clip outward or pull the pin straight out by hand. The chain will separate into two pieces.
If your chain does not have a master link, use the chain tool. Position the tool's pin over one of the chain pins (the metal rods that hold the links together). Turn the tool's handle clockwise to push the pin out. Push it almost all the way through but not completely — you want to separate the link without losing the pin. Once the link is loose enough, you can pull the chain apart by hand.
Wipe the old chain with a rag and set it aside. You may want to keep it as a backup or recycle it.
How to measure and cut the new chain to length
Lay the new chain on a clean surface and count the links. Most new chains come with 116 to 120 links. You will remove links from this starting length to fit your bike.
To find the correct length, wrap the new chain around both the largest front chainring and the largest rear sprocket without threading it through the derailleurs. Hold the chain so it sits flat on both sprockets. Now add exactly two more links to that measurement. This extra slack prevents the chain from being too tight when you shift to the largest sprockets.
If you are not sure how many links to remove, a safer method is to compare the new chain to the old one. Lay them side by side and count how many links the old chain has. Use that as your target length for the new chain. If the old chain was worn out, subtract one or two links from that count.
Once you know the target link count, use the chain tool to push out pins and remove the extra links. Remove one link at a time and recount. It is easier to remove more links than to add them back.
How to install the new chain
Thread the chain through the front derailleur cage (the metal arm that guides the chain between front sprockets), then through the rear derailleur cage, and finally around both sprockets. The chain should sit in the grooves of the sprockets, not on top of them.
Now connect the two ends of the chain. If you have a master link, slide the pin or clip back into place by hand. Push it until you hear or feel a click. If you do not have a master link, use the chain tool to push a new pin through the two chain ends. Push the pin until it is flush with the chain link, then back off slightly so the link can move freely. A chain link that is too tight will cause the chain to skip.
Shift the bike through all nine (or ten or eleven) gears while standing over the bike and turning the pedals by hand. The chain should move smoothly between sprockets without rubbing on the derailleur cage or skipping. If it rubs or skips, the chain may be too long or too short, or the derailleurs may need adjustment — that is a separate repair.
Common mistakes to avoid
The most common error is installing a chain that is too long. A long chain will sag between the sprockets and fall off when you hit bumps or shift hard. It can also wrap around the crank and jam. Always measure twice before cutting.
Another mistake is installing the master link backwards. The clip or pin should face outward (away from the bike frame), not inward. If it is backwards, it can catch on the derailleur cage.
Do not over-tighten the chain link when you install the permanent pin. A tight link will cause the chain to skip and wear out faster. The link should move freely but not have side-to-side play.
Finally, do not ride hard terrain when ready after a chain replacement. Shift gently through all gears on flat ground first to make sure everything works. A new chain on a worn cassette can skip under heavy load until both parts wear together slightly.
Frequently Asked Questions
Can I reuse my old chain if I clean it?
No. Once a chain stretches from wear, it will not return to its original length. A stretched chain will skip on your sprockets even if you clean it. Chains are consumable parts and must be replaced when they wear out. You can check wear with a chain checker tool (a small gauge that costs $10 to $15) or by measuring the distance between pins with a ruler — if it is more than half an inch per link, the chain is stretched.
What if I do not have a chain tool?
If your new chain has a master link, you do not need a tool to install it. You can remove your old chain with a tool borrowed from a friend or rented from a bike shop for a few dollars. If your old chain does not have a master link and you cannot borrow a tool, a bike shop can remove it for $10 to $20, then you install the new one yourself at home.
How often do mountain bike chains need to be replaced?
A chain typically lasts 1,500 to 3,000 miles depending on how often you ride, how dirty the conditions are, and how well you maintain it. Dry, clean riding extends chain life. Wet, muddy riding shortens it. Check your chain every 500 miles with a chain checker tool or by measuring the pin spacing with a ruler.
Does the chain need to be lubricated after installation?
Yes. After the chain is installed and working smoothly, explore a thin coat of chain lube to the inside of the chain while turning the pedals slowly. Wipe off excess lube with a rag. Too much lube attracts dirt and causes the chain to wear faster. A light coat is enough.
What if the chain skips after I install it?
First, check that the chain length is correct by wrapping it around the largest sprockets again. If the length is right, the problem is likely a worn cassette or derailleur adjustment. A new chain on a very worn cassette will skip until both parts wear together slightly. Shift gently for the first 50 miles. If skipping continues, the cassette may need replacement — that is a separate repair.