Adjusting a Shimano derailleur means setting its three basic relationships in order: the high and low limit screws so the chain cannot shift past the outermost cogs, the cable tension so each click lands on the correct sprocket, and the B-screw (rear only) so the upper pulley tracks the cassette at the right distance. Almost all confusion around this job comes from doing those steps out of order or from mistaking a bent hanger or worn cable for a derailleur misadjustment.

The query is in Spanish ("cómo ajustar un desviador Shimano"), but it does not specify front or rear derailleur, road or mountain groupset, mechanical or electronic (Di2), or the exact model. Those distinctions change some details, so this answer covers the common mechanical rear derailleur first, then the front derailleur and the electronic exception, and it flags where a manual for your specific model is required. Nothing here depends on live prices or part numbers, so the reference date of November 14, 2026, does not affect the substance.

What "adjusting" actually covers

A Shimano derailleur has several adjustments that are often lumped together:

Limit screws (H and L): mechanical stops that prevent the derailleur from throwing the chain off the cassette or off the chainrings. Cable tension / indexing: how far the derailleur moves per shift click, tuned with the barrel adjuster. B-screw (rear): sets the gap between the upper guide pulley and the cassette teeth. Front derailleur height, angle, and low/high limits: a separate procedure with its own geometry.

Adjustment only works if the underlying hardware is sound. A bent derailleur hanger, a frayed or sticky cable, a worn cassette, or a chain that is too short will defeat any screw-turning. Check those first; a hanger alignment gauge is the single most useful tool for diagnosing "it shifts fine in some gears but not others."

Rear derailleur: the reliable order of operations

Work in this sequence. Each step assumes the previous one is correct.

1: Set the high limit with the cable disconnected

Shift to the smallest cog. Disconnect the cable from the derailleur (loosen the anchor bolt). With no cable tension, the derailleur rests at its outward stop. Turn the H screw so that the upper guide pulley sits directly under the center of the smallest cog when viewed from behind. Too far out and the chain can fall between the cog and the dropout; too far in and the chain rattles or won't reach the smallest cog.

2: Set the low limit

Push the derailleur by hand toward the largest cog (or shift it there if the cable is reconnected and indexing is roughly right). Turn the L screw so the guide pulley aligns under the center of the largest cog. The critical test: the chain must not be able to travel past the largest cog into the spokes. On many Shimano setups the L screw is the one that protects the wheel, so verify it under hand pressure, not just under cable tension.

3: Set cable tension and indexing

Reconnect the cable with the shifter in its highest (smallest-cog) position and the derailleur at the high limit. Pull the cable snug—finger-tight, not stretched—and tighten the anchor bolt to the model's specified torque. Then:

Shift one click at a time and watch whether the chain moves cleanly to each cog. If upshifts (toward larger cogs) are slow or hesitate, add tension by turning the barrel adjuster counterclockwise (out). If the chain overshoots or rubs the next cog, reduce tension by turning the barrel clockwise (in).

Shimano's convention on its rear derailleurs is generally that turning the barrel adjuster clockwise reduces cable tension. Confirm against your model's manual, because inline adjusters and some older designs can differ. Make quarter-turn changes and re-test; large jumps make it impossible to tell which direction helped.

4: Set the B-screw gap

The B-screw controls the gap between the upper pulley and the largest cog. Shimano publishes a model-specific gap (commonly expressed as a distance in millimeters measured between pulley tooth and cog tooth). The gap is set with the chain on the largest cog and typically with the suspension at sag on full-suspension mountain bikes—an often-missed detail, because sag changes the effective chainstay-to-cassette geometry. Too small a gap causes harsh shifting and pulley contact; too large a gap slows shifting and reduces chain wrap.

Where the procedure stops applying

Electronic (Di2) rear derailleurs have no cable tension to index. Limits are still set mechanically, but shifting alignment is handled by the system's adjustment mode (often a button sequence that moves the derailleur in small increments), and firmware and battery state matter. Do not follow cable-tension steps on Di2. Front derailleurs are a different geometry: height above the largest chainring, cage angle, and the low/high limits plus cable tension. Many modern Shimano front derailleurs use a tension-setting mark on the cage and a support bolt against the frame; those are model-specific and should be set per the manual. Internal-gear hubs and single-speed setups have no derailleur indexing in this sense. Bent hanger or worn drivetrain: if indexing is perfect in the middle cogs but poor at the extremes, suspect hanger alignment or cassette wear rather than the screws.

Why order matters, and common confusions

The most frequent error is adjusting limits while cable tension is still applied. The H and L screws define the mechanical envelope; if you tune them with the cable pulling the derailleur inward, you are setting the stops against a moving target and the result drifts as the cable settles. That is why the cable is disconnected first.

A second confusion is direction of the barrel adjuster. Riders often turn it the wrong way, conclude the derailleur is broken, and start turning limit screws that were already correct. Test in small increments and observe the chain, not the screw.

A third is treating the B-screw as an indexing adjustment. It is a gap/clearance setting; changing it shifts the whole derailleur's tracking distance and can make indexing seem off even when cable tension is fine. Set it after limits and before final indexing verification.

A short troubleshooting table

Symptom Likely cause First check
Chain falls off largest cog into spokes L screw too far out L limit under hand pressure
Chain falls between smallest cog and frame H screw too far out H limit with cable off
Slow upshifts, crisp downshifts Low cable tension Barrel adjuster out
Overshooting / rubbing adjacent cog High cable tension Barrel adjuster in
Poor shifting only at cassette extremes Bent hanger or worn cassette Hanger alignment gauge
Pulley rubs largest cog B-screw gap too small B-screw per model spec

Frequently asked questions

Do I need special tools? A set of hex keys, a screwdriver for the limit screws (many Shimano derailleurs use Phillips or hex), and a cable cutter are the basics. A hanger alignment gauge and a torque wrench improve reliability; torque values are model-specific and should come from the manual.

Can I adjust without disconnecting the cable? You can fine-tune indexing with the barrel adjuster while riding, but limit screws should be set with the cable disconnected so the stops are defined independently of tension.

How often should this be done? After cable replacement, after a crash, when shifting degrades, or when you change cassette or chainring sizes. Cables stretch and housings compress over time, so periodic barrel-adjuster trimming is normal.

Does the reference date matter? No. The mechanical principles above are stable. Specific gap values, torque figures, and Di2 adjustment sequences are model- and version-specific and must be checked against the manual for your exact groupset.

Is a Spanish-language manual available? Shimano publishes manuals in multiple languages; use the one matching your model number, which is stamped on the derailleur body or printed on the back of the cage.

Practical closing note

Adjust in the order above—limits with the cable off, then tension, then B-screw gap—and change one thing at a time. If the derailleur will not hold a setting, stop turning screws and inspect the hanger, cable, and cassette; adjustment cannot compensate for damaged hardware. For Di2 and for front derailleurs with support bolts, follow the model-specific manual rather than a generic sequence.