How to lock a bike with a U lock comes down to one move: closing the shackle tightly around a fixed anchor, the rear wheel and the frame. The overview in Proper Bike Locking summarises how to leave a bicycle and find it whole; this article covers the U-lock technique itself. Technique matters too: in observations of around 8,500 London bicycle-locking events, researchers rated just 20 percent as locked in a secure way1.
Quick Answer
What is the right way to lock a bike with a U-lock?
Pass the shackle around a fixed anchor and through the rear rim inside the rear triangle, securing the wheel and frame together, then close it with minimal empty space. Sheldon Brown explains that a wheel locked this way can't be pulled through the rear triangle2. Turn the keyway down, keep the lock off the ground, and add a cable for the front wheel.
Key Takeaways
- Partial lock-ups are common: in the same London observations, only the frame was locked to the stand in 19 percent of locking events1, which leaves both wheels unsecured.
- The lock type already does considerable work. In a Montreal theft survey published in 2015, U-locks reduced the odds of theft more than any other lock type, with an odds ratio of 0.005 against no lock3.
- By Seatylock's calculation, a frame-only lock-up on a 3-inch rack tube4 leaves much of a 180 mm shackle empty. With an oversized seat tube5, the stack fills 111.1 mm and leaves 68.9 mm.
- A single U-lock secures only one wheel. Wheels made up 20.1% of reported parts thefts in the Montreal survey3, so the front wheel needs a cable or a second lock.
How to Lock a Bike With a U Lock: What to Check First
A U-lock is a rigid bicycle lock made of a hardened steel bar bent into a U, which closes into a separate crossbar holding the cylinder. The shackle is that U-shaped bar, and its inside width and inside length decide what can fit inside the lock. Those two measurements govern the entire technique, so it's worth knowing them before relying on the lock at a rack.
Measuring a bike U-lock requires only a tape measure and very little time. Every object inside the lock sits between the legs, so each one has to be narrower than the inside width. The objects also stack end to end along the inside length, so their thicknesses add up:
- Inside width: measure straight across, between the inner faces of the two legs.
- Inside length: measure from the inside of the curved end to the inside of the closed crossbar.
- Usual anchors: measure the rack tubes and posts at work, at home and at the shops with the same tape.
| Model | Inside width | Inside length | Weight | Sold Secure listing |
|---|---|---|---|---|
| Mason 140 | 85 mm | 140 mm | 0.97 kg | Pedal Cycle Diamond |
| Mason 180 | 85 mm | 180 mm | 1.07 kg | Pedal Cycle Diamond |
| Mason 220 | 115 mm | 220 mm | 1.53 kg | Pedal Cycle Diamond |
| Mason 300 | 115 mm | 300 mm | 1.72 kg | Pedal Cycle Diamond |
Anchor thickness is the measurement cyclists most often overlook. The Association of Pedestrian and Bicycle Professionals warns that rack tubes with a cross section larger than 2 inches can complicate the use of smaller U-locks6. Portland's rack permit allows tubing up to a 3-inch outside diameter4, which is 76.2 mm. By Seatylock's calculation, that tube leaves only 8.8 mm spare across an 85 mm inside width, so the thickest permitted rack tube nearly fills a narrower shackle on its own.
A cyclist who knows the lock's two inside measurements and the thickness of their usual anchors can plan the entire lock-up at home, before reaching the rack.
Step 1: Choose an Anchor the Shackle Can Close Around
The anchor has to be fixed, solid and slim enough to share the shackle with the bicycle. A policing guide describes thieves lifting the bicycle and lock over the top of a post, and warns that some posts aren't anchored securely1. The lock is only as strong as whatever it's attached to.
Locking the frame to its own wheel isn't enough, because the entire bicycle can still be lifted and carried off or put into a vehicle7. An anchor transforms a lock from a nuisance into a genuine barrier.
What a suitable U-lock anchor looks like
Well-designed bicycle parking is built around exactly this lock. The APBP guide says a closed loop of the rack should allow a single U-lock to capture one wheel and a closed section of the frame6. Portland's permit asks for the same result: the frame and at least one wheel locked to the rack with a standard U-type lock4. The practical side of using public stands is covered in a sibling guide to locking to a public rack.
Anchors that deserve a second inspection
Sheldon Brown advises checking before locking, because some posts can be lifted out of the ground and thieves have been known to cut racks and tape over the cuts2. Give a signpost a firm pull, look for a removable sign at the top, and examine each rack tube for tape or fresh paint. Avoid wooden fences, thin railings, drainpipes and anything attached by bolts a thief could undo.
A stronger lock can't compensate for a weak anchor, so a slow, careful look at the rack is time well spent.
Step 2: Capture the Rear Wheel Inside the Rear Triangle
The strongest single U-lock position goes around the anchor and through the rear rim, inside the rear triangle, which secures the rear wheel and the frame together. The rear triangle is the part of the frame formed by the seat tube, the seat stays and the chainstays, which together surround the rear wheel.
"A U-lock can go around the rear rim and tire, somewhere inside the rear triangle of the frame without looping it around the seat tube: the wheel cannot be pulled through the rear triangle."
Sheldon Brown, bicycle mechanic and technical writer, Lock Strategy, revised by John Allen2
The same page adds that a lock passing around a rim makes the bicycle unrideable, even if the object it's locked to can be broken or taken apart2. Brown also calls the rear wheel the most expensive part of a bicycle after the frame2. One closed shackle therefore protects the two most valuable components.
- Position the bicycle: position it alongside the anchor so the rear wheel sits directly beside the tube.
- Thread the shackle: pass the U around the anchor and through the rear rim, behind the seat tube and between the seat stays and chainstays.
- Close the crossbar: push the crossbar onto both legs and turn the key until both ends lock.
- Verify the result: pull the bicycle away from the anchor; the shackle should hold the rim inside the rear triangle.
When the rear wheel won't reach the anchor
Some stands, step-through frames and racks with wide tubes place the rear rim out of reach. The fallback is a closed frame section with whichever wheel does reach. Avon and Somerset Police use one such position, the front wheel and down tube, as half of their two-lock layout8. Locking the frame alone remains the last resort, because a policing guide warns that a thief may then remove a wheel or wheels1. A sibling guide on the frame and wheel lock-up covers more rack layouts.
The rear-triangle position deserves a few extra seconds at every destination, because this single U-lock placement secures both the frame and the wheel a thief values most.
Step 3: Fill the Shackle So No Tool Fits
A well-filled shackle leaves no room for a jack or a bar, so the last task before closing the lock is to eliminate the empty space inside it. A policing guide describes that gap as working space for a thief's tools.
"Thieves will use the gap between the stand and the bike left by a loosely fitted lock to insert tools such as jacks or bars to lever the lock apart."
Shane D. Johnson, Aiden Sidebottom and Adam Thorpe, Bicycle Theft, Problem-Specific Guides Series No. 52, ASU Center for Problem-Oriented Policing1
The same guide adds that thieves will rotate the frame itself against the stand as a lever, until either the bicycle or the lock breaks1. In the Montreal survey, 2.3% of theft victims named crowbars as the method3. That share is small, but a loose shackle makes the task easier for the thieves who attempt it.
Seatylock's calculation shows the space a frame-only lock-up leaves. On a 3-inch rack tube4, an oversized 34.9 mm seat tube5 brings the stack to 111.1 mm. In a 180 mm shackle such as the Mason 180, that leaves 68.9 mm of empty length. A traditional 28.6 mm seat tube5 on a 2-inch tube6 leaves 100.6 mm, more than half the shackle.
That empty length is space the rear rim can take. Avon and Somerset Police describe a layout with the back wheel and seat tube in the same lock8, which puts the rim into that space. Brown's rear-triangle method leaves the seat tube out, so the anchor and the rim share the shackle instead. When the rim can't reach, the bicycle should be pressed hard against the anchor and the lock rotated until the frame tube sits tight against the crossbar.
- Add the rim: thread the rear rim through the shackle whenever it reaches.
- Inspect the play: after locking, try to slide two fingers into the shackle; if they fit easily, reposition and lock again.
Shackle length is a trade-off, not a race: the shortest U-lock that still takes the cyclist's usual anchor and rear rim leaves the least room for a tool.
Step 4: Turn the Keyway Down and Keep the Lock Off the Ground
Once the shackle is filled, the orientation of the lock body matters. The keyway is the slot in the lock cylinder where the key goes in. Sheldon Brown advises having a U-lock's keyway facing downward so it isn't as easy to drill out2. The same page notes a second benefit: with the keyhole facing down, water doesn't run into it2.
Sheldon Brown also recommends two additional placement habits. Wrapping the U around the post so the crossbar sits on the bicycle side keeps the key accessible if someone else locks to the far side of the post2. Putting the right side of the bicycle toward the rack makes removing drivetrain parts harder2.
Height is the final inspection, because a policing guide describes thieves using a hammer and chisel on a lock left touching the ground1. Avon and Somerset Police give the same advice in short form: keep locks off the floor, because they're more vulnerable on the ground8. The key itself deserves the same care, and a sibling guide covers key handling habits.
These adjustments cost nothing and require only seconds, so a U-lock left with its keyway up or its body on the pavement is a lock-up that isn't finished.
Step 5: Add a Cable for the Front Wheel
A single U-lock in the rear-triangle position leaves the front wheel unsecured. Sheldon Brown describes one answer: a cable secures the front wheel to the frame and the anchor, while the U-lock secures the rear wheel and frame2. Many cyclists use a long cable this way, for the wheels or seat, alongside a U-lock on the frame7.
Wheels are a genuine target. In the Montreal survey, wheels made up 20.1% of reported parts thefts, and 60.6% of respondents currently leave removable bicycle parts unlocked3. A quick release is a lever-operated clamp that lets a wheel come off without tools. Brown notes that quick releases are great for fast wheel changes, but also great for thieves2.
Avon and Somerset Police also suggest security skewers or nuts, which make seats or front wheels harder to steal8. Fasteners that need a coded key remove the tool-free shortcut.
How to lock a bike with a U-lock and cable
A looped steel cable such as the Cable Loop 120 works with the U-lock rather than replacing it. Avon and Somerset Police advise avoiding cable-style locks on their own, because thieves can remove these in seconds8. The cable is a secondary layer for the wheel, and the U-lock remains the primary lock.
- Thread the front wheel: pass one end of the cable through the front rim and spokes.
- Make the loop: feed the other end through the first loop and pull it snug against the rim.
- Close it into the U-lock: slip the free loop over one shackle leg before pushing the crossbar home.
- Test the loop: tug the front wheel sideways; once the U-lock is closed, the cable should stop it from leaving the bicycle.
A U-lock plus a cable covers both wheels, and that combination suits most daily destinations better than a single lock stretched to reach everything.
Step 6: Use Two U-Locks for Long or High-Risk Stays
For an overnight stay, a workday outside or a busy station rack, a second U-lock gives each wheel its own hardened shackle. Avon and Somerset Police describe this layout with two D locks secured to the same stand. One goes through the front wheel and down tube, the other through the back wheel and seat tube8.
Single-lock setups dominate the London data: 87 percent of observed locking events used only one lock1. The same policing guide advises two locks of different types, so a thief must bring two different tools1. By Seatylock's reading, the two pieces of advice are compatible. A U-lock plus a cable or chain follows the guide's mixed-type logic, while a second U-lock gives the front wheel the same hardened steel as the rear.
- Rear lock first: position the main U-lock through the rear rim, frame and anchor, as in Step 2.
- Front lock second: pass the second U-lock through the front wheel and down tube to the same stand.
- Fill both shackles: press the front wheel close to the stand, so the second lock leaves as little empty space as the first.
- Simplify the keys: a keyed-alike pair, where one key opens both locks, means a single key set to carry and manage.
The second lock matters most where the bicycle stays longest, so a commuter's workday rack is a better place to double up than a brief visit to a shop.
Step 7: Carry the U-Lock in a Frame Mount Between Stops
A U-lock that rides on the frame is ready at every destination, so the final step is putting it back in its mount before riding away. Sheldon Brown's view is that the best U-locks to carry on the bicycle are the smallest2. A shackle sized to the cyclist's usual anchor and rim is lighter to carry and leaves less empty space once it's closed.
Seatylock's mounting bracket attaches to the frame tubing and gives the lock a firm, rattle-free docking point while riding, then releases it rapidly at the rack. That handling detail is part of the security case, not a convenience extra. In Seatylock's view, a lock that is awkward to carry tends to stay at home, and a lock left at home protects nothing.
How to mount a bike U-lock on the frame
Mounting position determines whether the lock remains quiet and out of the way. The down tube and seat tube are the usual choices, and each bicycle requires a fit inspection before the first ride:
- Find clear tube space: select a section where the lock won't contact the cranks, the rider's legs, the cables or a bottle cage.
- Fit the bracket: attach it with the supplied hardware and tighten it evenly, so it can't twist around the tube.
- Dock the lock: seat the U-lock in the bracket and rotate the cranks through a full revolution to confirm nothing rubs.
- Test ride: ride a short loop over rough pavement and listen for rattles before relying on the setup.
A frame mount makes the U-lock part of the bicycle, so the whole technique happens at every destination, not only on planned trips.
Common U-Lock Mistakes to Avoid
Lock placement is where most possible configurations fall short. A policing guide reports research that counted 180 possible ways to lock a two-wheeled bicycle to a standard stand. It rated 109 of them as bad, 48 as OK and just 23 as good1. By that count, 157 of the 180 configurations fell short of good1. Each mistake in the table has a simple correction at the rack.
| Mistake | What it allows | Fix |
|---|---|---|
| Locking a wheel alone | The rest of the bicycle can be taken; at the University of Wisconsin in 1991, only the lock and secured wheel remained in 22 percent of cycle thefts1 | Lock the rear rim and frame to the anchor |
| Locking only the frame | A thief may remove a wheel or wheels1 | Thread the rear rim inside the rear triangle |
| Leaving the shackle half empty | Room for jacks or bars to lever the lock apart1 | Add the rim and press the bicycle against the anchor |
| Keyway facing up | Easier to drill out, and water runs in2 | Rotate the lock body so the keyway points down |
| Lock resting on the pavement | A hammer and chisel attack against the ground1 | Lift the lock clear of the floor |
| Quick-release front wheel left free | Tool-free wheel removal; Sheldon Brown calls quick releases great for thieves2 | Add a cable or a second U-lock |
Every mistake in the table costs nothing to avoid, so one practice lock-up at home is worth more than any upgrade bought to compensate for poor placement.
What a Correct U-Lock Setup Looks Like
A correct U-lock setup passes a brief visual inspection before the cyclist walks away. The lock choice already contributes. In the Montreal survey's statistical model, U-locks had an odds ratio of 0.005 against using no lock, compared with 0.076 for chains and 0.120 for cables3. Technique decides how much of that advantage reaches the street:
- Anchor: fixed, tested, and slimmer than the shackle's inside width.
- Inside the shackle: the anchor and the rear rim within the rear triangle, or a closed frame section, with little space left over.
- Lock body: keyway down, crossbar on the bicycle side, and clear of the ground.
- Front wheel: held by a cable looped into the U-lock, or by a second U-lock on longer stays.
The lock's certified grade matters too. For a high-value bicycle, Avon and Somerset Police say Sold Secure diamond-grade locks are worth buying, since they offer excellent protection and can be angle-grinder resistant8. A certified lock and a correct lock-up work together, and neither compensates for the absence of the other.
The finished lock-up is a set of separate defences, and its strength comes from completing every step rather than perfecting any single one.
Frequently Asked Questions
How do you lock a bike with a U-lock and a cable?
Lock the U-lock through the rear rim, the frame and the anchor. Then run a looped cable through the front wheel and hook its free loop over a shackle leg before closing. Sheldon Brown describes this split, with the cable on the front wheel and the U-lock on the rear wheel and frame2. Wheels made up 20.1% of reported parts thefts in a Montreal survey3.
Should a U-lock go through the frame or the wheel?
Through both, together with a fixed anchor, because a wheel locked alone may be all that's left. A policing guide cites a University of Wisconsin finding from 1991: in 22 percent of cycle thefts, only the lock and secured wheel remained1. Threading the rear rim inside the rear triangle secures the wheel and the frame with one shackle.
How do I measure a bike U-lock?
Measure two inside dimensions: the width between the legs and the length from the inside of the curve to the closed crossbar. Every object must be narrower than the width, and their thicknesses add up along the length. A 3-inch rack tube, the largest Portland permits4, measures 76.2 mm and leaves 8.8 mm spare in an 85 mm wide shackle.
Which way should a U-lock keyhole face?
Downward, toward the ground. Sheldon Brown gives two reasons: a downward keyway isn't as easy to drill out, and water doesn't run into a keyhole that faces down2.
Is one U-lock enough to lock a bike?
For a short stop, one U-lock through the rear rim, frame and anchor, plus a cable for the front wheel, covers both wheels. In the London observations, 87 percent of locking events used only one lock1. For long stays, Avon and Somerset Police describe two D locks, one through each wheel and the frame8.
Limitations and Edge Cases
- Step-through, cargo, fat-tire and small-wheel bicycles can keep the rear rim out of reach or exceed the shackle's inside width. A wider shackle, a second lock or the front-wheel fallback then applies.
- The anchor sizes come from US guidance, the lock-up observations from UK studies in a 2008 policing guide, and the theft figures from a 2015 Montreal survey. Local racks and theft methods differ.
- No lock-up makes a bicycle theft-proof: one Montreal participant reported a bicycle locked to a rack with a high security U-lock and stolen overnight3.
References
Methodology: every third-party figure was checked against its live source page on November 9, 2026. The shackle stack and spare-width figures are Seatylock calculations from those sources, and Mason inside dimensions come from Seatylock's product pages. Michael Shenkerman holds editorial responsibility, and Shahaf Levavi, Head of Product, reviewed the article.
- ASU Center for Problem-Oriented Policing - Bicycle Theft, Problem-Specific Guides Series No. 52, by Shane D. Johnson, Aiden Sidebottom and Adam Thorpe, 2008.
- Sheldon Brown - Lock Strategy, by Sheldon Brown, revised by John Allen, accessed November 2026.
- Transportation Research at McGill (TRAM) - Breaking into bicycle theft: Insights from Montreal, Canada, by Dea van Lierop, Michael Grimsrud and Ahmed El-Geneidy, International Journal of Sustainable Transportation, 2015.
- City of Portland, Bureau of Transportation - TRN-10.09 Bicycle Rack Permit, rack design requirements, amended February 3, 2015.
- Sheldon Brown - Front Derailers, section on mounting types and seat tube clamp sizes, accessed November 2026.
- Association of Pedestrian and Bicycle Professionals - Essentials of Bike Parking: Selecting and Installing Bicycle Parking That Works, Revision 1.0, September 2015.
- Wikipedia - Bicycle lock, sections on U-locks and cable locks, accessed November 2026.
- Avon and Somerset Police - Protect your bike from thieves, crime prevention advice, accessed November 2026.
Conclusion
A U-lock does its best work when one closed shackle holds a fixed anchor, the rear rim and the frame, with little room left for a tool. Turning the keyway down, lifting the lock off the ground and covering the front wheel with a cable complete the procedure. A frame mount keeps the lock available at every destination.
See the short overview of proper bike locking for how this technique fits the wider habit of leaving a bicycle and finding it whole.