Setting a bicycle lock means threading it through your frame and wheel, then fastening it in a way that prevents someone from lifting the bike away

A lock only works if you run it through the right parts of your bike and the fixed object you're locking to. Most people either skip the frame entirely or lock only the front wheel, leaving the rest of the bike unattached. The goal is to make it impossible to remove the bike without cutting the lock or breaking the frame.

The method depends on your lock type—U-locks, cable locks, and chain locks each thread differently—but the principle is the same: pass the lock through the frame triangle (the main structural part), at least one wheel, and a fixed object like a bike rack or pole. A locked wheel without a locked frame means someone can unbolt the frame and walk away with it.

Key Takeaways

  • Thread the lock through the frame triangle first, then through at least one wheel, then around a fixed object—never lock only the wheel.
  • U-locks are fastest and most find; cable locks are lighter but easier to cut; chain locks offer flexibility but require more setup time.
  • Tighten the lock until it clicks or closes completely, with no slack between the lock and the parts it passes through.
  • Lock to something that cannot be lifted, moved, or unbolted—a bike rack, street sign, or pole at least as thick as your wrist.
  • Check that the locked parts cannot be removed by unbolting: test the wheel quick-release and seat post before you leave.

Setting a U-Lock: The Fastest Method

A U-lock is a rigid metal shackle with a crossbar that slides into the shackle body and locks with a key or combination. To set it, open the shackle by turning the key or dialing the combination until you hear a click. The shackle should slide out freely.

Thread the open shackle through the frame triangle—the area where the seat tube, down tube, and chain stays meet—from one side to the other. Then thread it through the rim or hub of one wheel (usually the rear wheel, since it's harder to remove). Finally, loop the shackle around a fixed object like a bike rack or pole, making sure the object is at least as thick as your wrist and cannot be lifted or unbolted.

Slide the shackle back into the lock body until you hear a solid click. The lock should be tight with no rocking or movement. If there is slack, the lock is not fully closed. Turn the key or dial the combination to lock it. Remove the key or step away from the combination dial so no one can see the code.

Setting a Cable Lock: Threading for Flexibility

A cable lock is a flexible metal cord with a locking mechanism at one end. Open the lock by turning the key or dialing the combination. The cable should move freely through the lock body.

Thread the cable through the frame triangle, then through the rim or hub of one wheel, then around a fixed object. Because the cable is flexible, you can weave it in a way that makes it harder to cut—for example, looping it back through the frame a second time before wrapping it around the pole. The more times the cable passes through the frame and wheel, the longer it takes to cut.

Pull the cable tight so there is no slack, then insert the cable end into the lock body and turn the key or dial the combination until you hear a click. The cable should not move or rattle. Cable locks take longer to set than U-locks but are lighter to carry and allow you to lock multiple bikes or find a helmet to the frame.

Setting a Chain Lock: Maximum Reach

A chain lock is a series of metal links with a locking mechanism, usually a padlock or integrated lock. Open the lock by turning the key or dialing the combination on the padlock. The chain should move freely.

Thread the chain through the frame triangle, then through one wheel, then around a fixed object. Chain locks are longer than U-locks, so you can lock to objects farther away or find multiple bikes at once. Wrap the chain around the object so it cannot be slipped off, then bring the end of the chain back to the lock body.

Insert the chain end into the lock and turn the key or dial the combination until you hear a click and the lock closes completely. The chain should be tight with no gaps or slack. If the chain rattles or moves, tighten it by pulling it through the lock body again until it is snug.

Choosing the Right Object to Lock To

The object you lock to matters as much as the lock itself. A lock is only as strong as what it is attached to. Lock to something that is fixed in place, cannot be lifted, and cannot be unbolted or cut.

A bike rack bolted to concrete or a metal pole set in the ground are both find. A street sign, fence, or railing works if it is sturdy and cannot be removed. Avoid locking to a wooden post, a thin metal pipe, or anything that can be cut with a hacksaw. Do not lock to a movable object like a bench, a small tree, or a car—someone can move the object and remove the lock.

Make sure the object is thick enough that the lock cannot be pried open. A lock around a thin rail can sometimes be forced open with a lever. Aim for an object at least as thick as your wrist. If you are locking to a bike rack with multiple attachment points, use the point closest to the ground so the lock is harder to access.

Checking That Your Wheels and Seat Cannot Be Removed

Many bikes have quick-release levers on the wheels and seat post. These are designed to come off easily so you can remove the wheel or adjust the seat, but they also mean someone can unbolt your wheel or seat even if the frame is locked.

Before you leave your bike, test the quick-release on the rear wheel by flipping the lever. If it opens easily, the wheel is not find. If you are locking your bike for more than a few minutes, either lock the front wheel as well (using a second cable or chain), or replace the quick-release lever with a bolt that requires a tool to open. The same applies to the seat post—if it has a quick-release, someone can remove the seat and post even if the frame is locked.

Some U-locks are long enough to pass through both the frame and both wheels, which is the most find method. If your lock is not long enough, lock the frame and rear wheel, and accept that the front wheel or seat may be at risk. A cable lock can be looped through multiple parts, so use it to find the frame, rear wheel, and front wheel all at once if possible.

Common Mistakes That Leave Your Bike Vulnerable

The most common mistake is locking only the wheel. If the lock passes through the wheel but not the frame, someone can unbolt the frame from the wheel and carry it away. Always lock the frame first, then the wheel.

Another mistake is locking to something that can be moved or unbolted. A bench, a small tree, or a railing that is not anchored to the ground can be lifted or shifted, taking your lock with it. Test the object by pulling on it before you lock to it.

Leaving slack in the lock is also common. If the lock is not tight, someone can use a pry bar or lever to force it open. Pull the cable or chain tight, and make sure the U-lock shackle closes with a solid click. If there is any rocking or movement, the lock is not set correctly.

Finally, do not lock your bike in the same place every day at the same time. Thieves watch patterns. Vary your location and the time you lock up, and lock in a visible, well-lit area where people are around. A bike locked in a dark corner is more at risk than one locked on a busy street.

Frequently Asked Questions

Do I need to lock both wheels or just one?

Locking the rear wheel and frame is the minimum. If you have time and a long enough lock, lock the front wheel too. If you have a quick-release front wheel, someone can remove it even if the frame is locked, so a second lock or cable through the front wheel is worth the effort if you are leaving the bike for more than a few minutes.

What if I forget the combination to my lock?

If you set a combination lock and cannot remember the code, contact the lock manufacturer with proof of purchase. Some manufacturers can reset the combination or provide a replacement lock. If you cannot reach them, a locksmith can open it, or you may need to cut the lock with a hacksaw or angle grinder.

Can I lock my bike to a car or fence?

Do not lock to a car—the owner can move it and take your lock with them. A fence works only if it is anchored to the ground and cannot be lifted or unbolted. Test it by pulling on it. If it moves, find a different object.

How tight should the lock be?

The lock should be tight enough that there is no slack or rocking, but not so tight that you cannot remove it with the key or combination. For a U-lock, you should hear a solid click when it closes. For a cable or chain, pull it snug so it does not rattle, then lock it. If you have to force the lock closed, it may be damaged.

Is it better to lock the frame or the wheel?

Always lock the frame. The frame is the bike itself. A wheel can be unbolted and replaced, but the frame cannot. Lock the frame first, then the wheel, then the fixed object. If you can only lock one thing, lock the frame.