How to Lock Up a Bike: Anchor, Frame and Wheel Basics
How to lock up a bike safely means fixing the frame to a solid anchor, so the bike cannot be lifted or rolled away.
A good lock matters less than where and how you use it, so choose a busy, well-lit spot and lock both the frame and a wheel.
In This Guide
ToggleChoose a Solid Anchor
Bike racks are the best option when they are available. If there is no rack, use something firmly fixed to the ground, such as a sturdy post or a bench that is set in concrete.
Avoid thin posts and fences that can be lifted over or bent. A thief who can lift the bike over the top of an anchor has no need to cut the lock.
Lock the Frame and a Wheel
Lock the frame and the back wheel together through the anchor. A second, lighter lock can secure the front wheel, which stops the bike from being rolled away even if the main lock is strong.

- Pass the U-lock through the frame and the rear wheel
- Keep the lock off the top tube, where the frame can be used to twist and break it
- Use the down tube, seat tube or seat stays for the best position
- Add a cable or second lock for the front wheel
How to Lock Up a Bike Step by Step
Follow the same routine every time, so the bike is always locked in the same way. Work through the steps below, and check the lock once you finish.
- Park in a busy, well-lit spot where the bike is easy to see.
- Position the bike so the lock can go around the anchor and the frame.
- Pass the lock through the frame and the rear wheel, keeping it low on the frame.
- Add a cable for the front wheel, or secure it with a second lock.
- Tug on the lock and the bike to confirm nothing can slip free.
Where Not to Park
Avoid locking to another bike, a tree that is not secure, or a sign post that can be lifted. Quiet, dark areas also make a bike easier to target, so look for visible spots with people around.

If you must lock on a bench or railing, check that the lock cannot slip over the top, and that nothing on the bike can be removed while it is parked.
Overnight and Long Parking
A bike left overnight needs extra care. Choose a spot that is covered by cameras or regular staff checks if you can, and avoid leaving quick-release parts or bags on the bike.
Remove valuable accessories such as lights, a bike computer or a saddle bag where possible. Parts that are easy to remove are often stolen even when the frame stays locked.
Common Mistakes When Locking Up
The most common mistake is locking only the front wheel. A thief can lift the bike with the rear wheel still free, so the frame and a wheel should be locked together.
Another mistake is trusting an empty rack without checking. Thieves can saw through the rack and cover the cut with tape, so inspect the mount before you lock up.
U-Lock, Cable or Both
A U-lock for the rear wheel and frame plus a cable lock for the front wheel is a sound combination. Small U-locks are lighter and harder to attack than large ones, and a cable with a built-in lock is better than one that uses a padlock, which is easy to cut. Keep a light cable for quick stops, and accept that it gives less protection.
Sheldon Brown’s lock strategy page covers these trade-offs in detail. Pass the U-lock around the rear rim and inside the rear triangle, not just the seat tube, so the wheel cannot be pulled through.
Position the Lock Well
Wrap the U-lock around the post with the crossbar on the bike side, so others cannot block the keyhole, and face the keyhole downward so water stays out and drilling is harder. Lock the drivetrain side toward the post to make parts harder to remove.
Quick-release wheels make theft easy. Replace them with locking skewers or locking nuts, and never lock only one wheel, since thieves have built a whole bike from two partly locked ones.
Think Beyond the Lock
Lock up whenever the bike is out of your sight, including at home unless it sits in a secured area. An older, unremarkable bike attracts fewer thieves, and removing lights, computers and bags on the street helps. Choose a thick signpost or a solid rack rather than a thin pole the bike can slide over.
For longer stops, a lock suited to your parking spot matters most, and for overnight storage, see bike storage options at home. If you want an extra layer of protection, a hidden tracker can help with recovery after theft.
A Quick Pre-Lock Checklist
Before you walk away, run through four checks: the lock passes through the frame and rear wheel, the anchor is fixed and thick, the keyhole faces down, and nothing valuable is left on the bike. It takes ten seconds and removes most of the common mistakes.
Make the routine automatic, even for a two-minute stop. Most thefts happen when a rider decides a short errand does not need a proper lock, and an opportunistic thief needs only a few seconds.
Related reads: two guides on locks and locking methods.
Frequently Asked Questions
What is the best way to lock a bike?
Lock the frame and at least one wheel to a solid anchor, using a strong main lock. Add a second lock for the other wheel, and choose a busy, well-lit spot to park.
Should I lock the front or the back wheel?
Lock the back wheel, since it is the one that carries the drive parts and is often the target. Use a second lock or cable for the front wheel if the bike is parked for a while.
Is a cable lock enough?
A cable lock is best as a secondary lock, because it can be cut more easily than a heavy U-lock. Use it for a front wheel or for short stops in a safe place, not as the only protection overnight.
Can I lock my bike to a parking meter?
It is possible, but it is risky. A bike locked to a meter can often be lifted over the top, so use a fixed rack or a secure anchor whenever you can.
Is it safe to lock a bike outside overnight?
It is the riskiest option. If you must, use two locks, choose a well-lit and busy place, and remove anything that can be taken quickly. Indoor storage is far safer.
Lock the frame and a wheel to a solid anchor every time, and keep your routine consistent so the bike is never left half secured.
Ryan Mitchell covers gear, parts, and buying guides for SmartCartCodes, comparing product details, compatibility information, and verified customer reviews from quality sources like Trustpilot. His goal is to turn scattered information into clear, practical guides.