What the B-screw does
The B-screw sets the gap between the rear derailleur’s guide pulley and the cassette. The guide pulley is the lower wheel of the derailleur cage, which keeps the chain taut and helps it move cleanly between cogs. The B-screw holds the cage at a set distance from the cassette.
Adjust it after the limit screws and indexing are right. Changing the B-screw can change the indexing, so it’s best to do it last.
Find the B-screw
The B-screw is on the body of the rear derailleur, usually near the cage and its pivot. It’s often labeled B, and it’s the one that doesn’t affect the limit stops.
Measure the gap
Shift the chain to the smallest front ring and the largest rear cog. Use a hex key or a small ruler to measure the gap between the guide pulley and the largest cog. A common guide is a gap of about 5 to 6 mm, measured this way. Manufacturer specs can differ slightly, so if you have one, follow it.
Adjust the gap
Turn the B-screw to change the gap. Tightening it moves the guide pulley away from the cassette, which widens the gap. Loosening it moves the pulley closer, which narrows the gap. Make small changes, and measure again after each one.
After a significant change, check the indexing. If the shifts go out of time, retune the barrel adjuster and recheck. Index rear derailleur gears covers the indexing steps.
When the adjustment matters
If the bike shifts cleanly, you don’t need to chase an exact number on the B-screw. A gap that’s a little off can still shift well, especially if the limit screws and indexing are set correctly.
The B-screw matters more when the chain rubs the largest cog, when the chain drops or skips under load, or when the derailleur cage sits too close to the cassette. In those cases, check the B-screw alongside the limit screws and the hanger, since all three can affect the chain’s path.