What bicycle gears do and why they need adjustment

Your bicycle gears let you pedal at a comfortable speed whether you are climbing a hill or riding on flat ground. The derailleur — a metal arm on each side of your bike — moves the chain between different-sized sprockets to change which gear you are in. Over time, cables stretch, springs wear, and the derailleur gets knocked slightly out of alignment. When that happens, the chain struggles to move between gears, makes noise, or falls off entirely.

You can adjust your gears yourself using tools you likely already own. The process takes 15 to 30 minutes and costs nothing. If the cable is visibly frayed or the derailleur is bent from a crash, you will need a replacement part or a trip to a bike shop — but most shifting problems come from straightforward adjustment, not damage.

Key Takeaways

  • Gear problems usually come from a stretched cable or a derailleur that has drifted out of position, both fixable with basic tools.
  • The front derailleur (at the pedals) and rear derailleur (at the back wheel) are adjusted separately using limit screws and barrel adjusters.
  • Start by shifting to the smallest chainring and smallest sprocket, then use the limit screws to set the derailleur's range of motion.
  • If the chain still struggles to shift after limit screws are set, turn the barrel adjuster a quarter-turn at a time to tighten or loosen cable tension.
  • Test your shifts on flat ground while pedaling gently, and make small adjustments rather than large ones.

Tools and parts you will need

You need a Phillips or flathead screwdriver (whichever fits your derailleur's screws), and possibly a 5 mm Allen wrench if your bike uses hex bolts instead. Many derailleurs have a barrel adjuster — a small threaded collar on the cable — that you can turn by hand without tools.

Lay your bike on its side or hang it in a repair stand so the wheels spin freely and you can see both derailleurs clearly. Shift the chain to the smallest chainring at the front and the smallest sprocket at the back before you start. This is the safest position and the easiest place to begin adjustment.

Adjusting the rear derailleur limit screws

The rear derailleur has two limit screws, usually labeled H (high gear) and L (low gear). These screws stop the derailleur from moving too far in either direction. If the derailleur moves past its limits, the chain can fall off the sprockets or jam between the sprocket and the frame.

Locate the H screw first — it is the one closer to the wheel when the derailleur is in its highest (smallest sprocket) position. Shift to the smallest sprocket and look at where the derailleur's pulley wheel sits. It should be directly below the smallest sprocket, not tilted inward or outward. If it is tilted, turn the H screw clockwise to move the derailleur away from the wheel, or counterclockwise to move it closer. Make quarter-turn adjustments and check after each one.

Once the H screw is set, shift to the largest sprocket and find the L screw. The pulley wheel should now sit directly below the largest sprocket. Adjust the L screw the same way — quarter-turns, checking after each one. The goal is for the derailleur to sit centered under whichever sprocket you are in, with no sideways tilt.

Adjusting the front derailleur limit screws

The front derailleur also has H and L screws. Shift the chain to the smallest chainring and look at the gap between the chainring and the derailleur cage (the metal piece that surrounds the chainring). There should be about 1 to 2 millimeters of space — roughly the thickness of a dime. If the cage is too close, the chain will rub. If it is too far, the chain will not shift up.

Turn the L screw to adjust this gap when you are in the smallest chainring. Then shift to the largest chainring and check the gap on the other side of the cage. Adjust the H screw if needed. The cage should stay roughly parallel to the chainring as you shift between them, not tilt or twist.

Using the barrel adjuster to fine-tune cable tension

Once the limit screws are set, the derailleur should move to its full range without falling off. If the chain hesitates or struggles to shift from one gear to the next, the cable tension is usually the problem. The barrel adjuster is a small collar on the cable housing where it meets the derailleur. Turning it changes how tight the cable is without loosening the cable bolt.

Shift to a middle gear and pedal gently. If the chain is slow to shift to a smaller sprocket (higher gear), turn the barrel adjuster counterclockwise a quarter-turn. This tightens the cable and pulls the derailleur more aggressively. If the chain is slow to shift to a larger sprocket (lower gear), turn the barrel adjuster clockwise a quarter-turn to loosen the cable. Pedal and test after each adjustment.

Make small turns — a quarter-turn at a time — because even a half-turn can overshoot. If you reach the end of the barrel adjuster's range and the shift is still not right, you may need to loosen the cable bolt, pull the cable tighter by hand, and re-tighten the bolt. This is a job for a bike shop if you have not done it before.

Testing your adjustments on the road

Shift through all the gears while pedaling gently on flat ground. The chain should move smoothly between each sprocket without noise, hesitation, or grinding. Listen for a clicking or rubbing sound — that usually means the derailleur is still slightly out of alignment or the cable needs another quarter-turn of adjustment.

Shift under light load first, then gradually increase pedal pressure as you shift. Shifting while standing hard on the pedals puts extra strain on the cable and derailleur and can mask problems that will show up later. If the chain drops off or struggles to shift after you have adjusted both limit screws and the barrel adjuster, stop and check your work. A bent derailleur or a frayed cable will not respond to adjustment alone.

When to take your bike to a shop

If the derailleur is visibly bent — the arm does not hang straight, or it is twisted — it needs to be replaced. If the cable is frayed, kinked, or has visible damage, it needs to be replaced. If you have adjusted the limit screws and barrel adjuster and the chain still will not shift smoothly, the cable may have stretched beyond the barrel adjuster's range, or there may be damage inside the cable housing that you cannot see.

A bike shop can replace a cable in 20 minutes and cost between $20 and $50 depending on the cable type and your location. A bent derailleur replacement costs more and takes longer, but it is still faster and safer than trying to straighten it yourself.

Frequently Asked Questions

Why does my chain rub on the derailleur cage when I shift?

The derailleur cage is not parallel to the chainring, usually because the limit screws need adjustment. Shift to the smallest chainring and check the gap between the cage and the ring — it should be about 1 to 2 millimeters. Turn the L screw to close or widen that gap. If the cage is bent, it will rub no matter how you adjust the screws.

My chain keeps falling off the smallest sprocket — what do I do?

The H limit screw is set too far inward, allowing the derailleur to move past the smallest sprocket. Shift to the smallest sprocket, look at where the pulley wheel sits, and turn the H screw clockwise in quarter-turns until the pulley is directly below the sprocket with no sideways tilt.

The chain is slow to shift up to smaller sprockets — how do I fix it?

The cable is too loose. Turn the barrel adjuster counterclockwise a quarter-turn to tighten the cable, then pedal and test. Repeat in quarter-turn increments until the shift is snappy. If you run out of barrel adjuster range, the cable may need to be pulled tighter at the cable bolt.

Do I need to adjust the front derailleur separately from the rear?

Yes. The front and rear derailleurs work independently — adjusting one does not affect the other. Set the rear derailleur limit screws and barrel adjuster first, then do the same for the front. Test both together on flat ground to make sure they work smoothly in all combinations.

How often should I adjust my gears?

Most bikes need a barrel adjuster turn or two every few months if you ride regularly. Limit screws rarely need adjustment unless the derailleur has been knocked or the cable has stretched significantly. If you notice sluggish shifting, a quick quarter-turn of the barrel adjuster usually fixes it before the problem gets worse.