If your gears were fine and slowly got worse, needing more and more barrel-adjuster turns or shifting sluggishly to larger cogs, the cable is the usual cause. Shift cables fray inside the shifter, rust inside the housing or collect grit at the frame stops. A new cable and housing is cheap and often brings back factory-fresh shifting.
The hardest part is getting the old cable out of the shifter, so this guide covers both flat-bar trigger shifters and drop-bar brake-shift levers. After fitting, you will re-index the derailleur.
Tools & specs
Tools
- Cable and housing cutter Cuts housing square and cable without fraying
- Hex keys For the cable clamp and any shifter covers
- Awl or sharp pick To reopen the housing liner after cutting
- Small Phillips screwdriver For cable port covers on some shifters
Supplies
- Shift inner cable (stainless or coated)
- 4 mm shift housing and ferrules, if replacing housing
- Cable end crimp
Specs
| Spec | Value |
|---|---|
| Shift inner cable With a small round head. Brake cable is thicker and will not fit. | ≈1.1–1.2 mm |
| Shift housing Lengthwise strands give precise shifting. Do not use brake housing. | 4 mm, compressionless |
| Rear derailleur cable bolt Shimano value for current road and mountain bike derailleurs; some city models use 5 Nm. | 6–7 Nm |
| Tail past the clamp Crimp an end cap on so it cannot fray or catch the spokes. | 20–30 mm |
Before you start: A frayed cable inside a shifter can jam it in one gear, or snap and drop you into the smallest cog mid-climb. If the cable is frayed at the shifter, replace it before your next ride.
Remove the old cable
Release the cable tension
Shift the rear derailleur into the smallest cog (or the front into the small ring) so the shifter is fully released and the cable is slack. Do this before cutting anything, or you lose the shifter position.
Snip off the end crimp, loosen the cable clamp bolt at the derailleur and pull the cable free of the clamp.
Find the cable head in the shifter
Flat-bar trigger shifters: look for a cable port on the side or bottom of the shifter, sometimes under a small screw-in cap or a cover held by a Phillips screw. With the shifter fully released, the cable head sits right behind it.
Drop-bar levers: fold the rubber hood forward. On most current Shimano levers, the cable enters from the outer side of the lever body, under the hood. On others, swing the brake lever in and look inside the lever body for the head.

Tip: If the cable will not come out, it is almost always because the shifter is not fully released. Click it once more toward the smallest cog.
Push the old cable out
Push the cable from the derailleur end toward the shifter so the head pops out of the port, then pull the whole cable out through the shifter.
If the cable has frayed inside the shifter, pull the loose strands out gently with fine pliers. Never leave broken strands inside; they jam the mechanism.
Fit the new cable
Replace the housing if needed
Replace any housing that is kinked, cracked, rusty at the ends or tight around the bars. Cut new pieces to the same length as the old ones with a cable cutter, reopen the liner with the pick and fit ferrules where the housing meets a stop.
The rear loop from the frame to the derailleur gets the most dirt and wear. Replace it even if the rest looks fine.
Feed the new cable
Push the new cable through the shifter port, through each housing section and frame guide in turn, following the old route. Coated cables run best dry; plain steel cables can take a tiny drop of light oil where they run inside housing.
On internally routed frames, feed the cable through the old housing or a liner left in the frame, so it comes out at the right exit hole.
Clamp the cable
Check the shifter is still fully released and screw the barrel adjusters almost all the way in, leaving a turn or two out.
Route the cable under the clamp the way the derailleur shows, usually in a groove. Pull it taut by hand and tighten the bolt. Then shift through every gear five or six times to settle the new cable and housing.

Rear derailleur cable bolt: 6–7 Nm (Shimano)
Re-index the gears
New cable settles, so the shifting will be slightly off at first. Shift to the second-smallest cog and turn the barrel adjuster out (more tension) until the chain moves smoothly up and down the cassette.
For the full method, including checking the limit screws, follow the rear derailleur adjustment guide. Do the same for the front derailleur if you replaced its cable.
Trim, crimp and recheck
Cut the cable 20–30 mm past the clamp and crimp an end cap on with the crimping notch of your cutter.
After your first ride, recheck the shifting. New cables almost always need a quarter to half turn of the barrel adjuster once they have bedded in.
Troubleshooting
Still not right? Find the symptom, check the cause, apply the fix.
| Symptom | Likely cause | Fix |
|---|---|---|
| Old cable won’t come out of the shifter | Shifter not fully released, or the cable is frayed inside | Click to the smallest cog position, then push from the derailleur end. Pull frayed strands out with fine pliers. |
| Shifting slow toward the larger cogs after fitting | Cable settling, or not enough tension | Turn the barrel adjuster out a quarter turn at a time. |
| Cable frays at the clamp | Wrong side of the clamp bolt, or overtightened | Reroute it in the clamp groove and torque the bolt to the stated value. |
| Shifting gritty even with a new cable | Old or crushed housing, or a sticky shifter | Replace the housing and check each end is square with an open liner. If it persists, see the sticky shifter guide. |
Questions
How often should I replace gear cables?
When shifting becomes slow or needs frequent adjustment, or when you see fraying. On bikes ridden in the wet, once a year is a sensible habit.
Are coated cables worth it?
They run smoothly with less friction, which helps on long or internal routes. Plain stainless cables work well too if the housing is in good shape.
Can I reuse the old housing?
If it is clean, unkinked and the ends are square, yes. Housing is often the source of friction, so new housing usually makes more difference than the cable alone.