More than 2.4 million bicycles are stolen in the United States every year, and e-bikes face three times the theft risk of a standard bike.1 The Complete E-Bike Security Guide covers the full scope of e-bike protection; this guide focuses on how to lock an ebike correctly: frame, rear wheel, and an immovable anchor in a single pass. Most bikes that get taken while locked are lost to routing errors, not the absence of a lock. A U-lock on a seat tube that never touches the rack anchors nothing. A chain with a foot of slack gives a pry bar all the leverage it needs.
Quick Answer
What is the correct way to lock an e-bike frame and rear wheel to a rack?
Thread the lock through the rear triangle of the frame, around the rear wheel inside the rim, and around the rack post in one pass, keeping slack under 3cm. For hub-motor e-bikes, route above the motor housing. Only 20% of cyclists in observational research used this path correctly.2 Remove the battery and display before walking away.
Key Takeaways
- The primary lock must capture the rear frame triangle AND the rear wheel in one pass to the rack; a lock on the frame alone leaves the wheel free to remove.
- Clearance inside the shackle or chain loop must stay under 3cm; any more slack gives an attacker room to insert a pry bar.
- E-bikes with rear hub motors require routing through the frame triangle above the motor housing; removable batteries and displays should come off before you leave the bike.
What You Need Before You Lock an Ebike
Get these in place before you approach the rack. Skipping the checklist is how people end up realizing mid-lock that the shackle is 2cm too short to close.
- A certified lock: Sold Secure Gold or better for a mid-range e-bike parked in a public space. If you are still choosing a lock, the guide to matching e-bike lock security to your parking risk covers the selection in detail.
- Knowledge of your lock's reach: A U-lock shackle needs to fit around the frame, the rear wheel, and the rack post together. An 85-100cm folding lock or a 90cm+ chain covers the same path with more flexible routing.
- Awareness of your e-bike's rear setup: Rear hub-motor e-bikes have a wider dropout area. The lock routes through the rear triangle (above the motor), not around the axle as you might on a standard bike.
- Time: 45-60 seconds once you know the path. The first few times take longer.
- Difficulty: Beginner. The steps are simple; the errors are common only because no one explains them.
Step 1: Check the Rack for True Immovability
By the end of this step you'll know whether the anchor is worth locking to at all. A high-quality lock on a movable or removable post gives a thief a portable puzzle to solve later.
Look at the base of the rack. A rack worth using is welded or bolted to a concrete foundation; the bolt heads should be flush or recessed, not exposed and exposed to a wrench. Sheffield stands, inverted-U racks, and post-and-ring staple racks sunk into concrete are generally reliable. A parking meter bolted to a concrete pavement is fine. A decorative railing that is screwed to a wooden deck surface is not.
Signs to walk away from
A rack with loose base plates, obvious pry damage on previous locks, or missing anchor bolts is a flag. Thieves return to weak anchors because they know the job is half done. If the rack wobbles when you push it, move to the next one. Parking fifty meters farther away costs seconds; losing a high-value e-bike costs considerably more.
E-bike theft in the United Kingdom grew 103% in a single year (2022 to 2023) and e-bikes now account for 6.2% of all reported bicycle thefts there, up from just 1.4% two years earlier.5 Thieves follow value, and e-bikes carry significant value at public racks. The quality of the anchor matters as much as the quality of the lock.
Step 2: Pull the E-Bike Close to the Rack Post
By the end of this step the rear wheel is within 10-15cm of the rack post, and the rear triangle is the part of the frame closest to the post. This single positioning decision determines how much dead space ends up inside your lock.
Dead space is the clearance between the lock body and the nearest solid surface. The less there is, the less room a pry bar has to work with. Walk the bike backward so the rear wheel nearly touches the post. If parking is tight, lean the bike slightly so the seatstay runs parallel to the post.
Rear hub-motor positioning
On a rear hub-motor e-bike the motor housing adds 5-8cm of width around the rear axle. This changes where the rear triangle is accessible. Rotate the bike until the triangle formed by the chainstay, seatstay, and seat tube sits at the same level as the top of the rack post, not the axle level. The lock will enter this triangle above the motor housing, which is the correct path. Trying to route around the axle on a hub-motor bike often fails because the motor prevents shackle closure.
Step 3: Thread the Lock Through the Rear Triangle and Rear Wheel
This is the core step. By the end of it, both the frame and the rear wheel are physically captured by the lock before it closes on the rack. If only one of these is inside the lock when you close it, the bike is not secured.
The rear triangle is the closed shape formed by three tubes: the seat tube (the vertical one the seatpost slides into), the chainstay (the near-horizontal tube running from the bottom bracket to the rear axle), and the seatstay (the angled tube from just below the seatpost down to the rear axle). Together they form a roughly triangular enclosed space on each side of the rear wheel.
"Never lock your bike by the front or rear wheel alone."
Milwaukee Police Department, Bike Theft Reduction Initiative3
Research confirms why this matters: in a field study of around 8,500 public locking events, 87% of cyclists used only one lock, and just 20% locked in a manner security researchers classified as secure.2 Locking by the wheel alone, by the frame alone, or without contact to the rack were the three most common failures.
U-lock path
A U-lock shackle routes with one leg inside the rear triangle (between the chainstay and seatstay), and the other leg outside the rear wheel. The crossbar closes around the rack post. The Mason 300, with its 300mm shackle clearance, fits a wide e-bike frame, the rear tire, and a standard rack post in one pass; it's the right reach when a standard 140mm or 180mm shackle won't close around a bulkier hub-motor dropout.
Folding lock path
Unfold enough links to thread the lock body through the rear triangle opening, wrap it through the rear wheel spokes (inside the rim, not around the tire sidewall, which can be deflated), and bring both ends together at the rack post. A 85-100cm folding lock handles most e-bike frames without extension. The Foldylock Compact at 85cm and 1kg routes through both the frame and wheel in a single pass and mounts flat on the frame between rides, so it doesn't add noticeable weight while riding.
Chain lock path
Thread the chain through the rear triangle opening, through the rear wheel spokes, around the rack post, and join the two ends with the lock head. A 90cm chain is the practical minimum for this combined path on most e-bikes. The Viking Gold 90 covers the three connection points with a tight loop and hardened 10mm links; shorter chain lengths work on step-through frames where the triangle opening is wider.
Step 4: Close the Lock and Eliminate Dead Space
By the end of this step the lock is fully engaged, both shackle ends or chain ends are locked, and the body sits at least a hand's width off the ground with minimal clearance between the lock and any solid surface.
For a U-lock: seat both shackle legs fully into the crossbar cylinder and confirm you hear or feel both locking bolts engage. A partial engagement that lets one leg slide out is a common failure point. For a chain lock: close the lock head with the chain pulled as short as possible before you engage it.
The clearance rule
After locking, try to slide your fingers between the shackle and the nearest solid surface (the frame tube, the wheel rim, or the rack post). One finger of clearance is acceptable; three or more fingers means there is enough gap for a thief to insert a pry bar. Tighten the routing by repositioning the bike closer to the rack or choosing a tighter lock path before you walk away.
Keep the lock off the ground
A lock resting on or near the ground can be attacked with an angle grinder or bolt cutters braced against the pavement. The lock body should sit at or above the center of the rear wheel. On a short rack post where this is impossible, move to a taller anchor point. A lock 30cm off the ground is measurably harder to attack than one at pavement level because the attacker has less room to work.
Step 5: Secure the Front Wheel
By the end of this step the front wheel is either captured by a secondary lock or physically removed and locked alongside the frame. A primary lock on the rear triangle alone leaves the front wheel free to detach in seconds.
The three most commonly stolen components from a bicycle are the front wheel, the rear wheel, and the frame itself.3 Once the frame and rear wheel are secured, the front wheel is the remaining quick target.
Cable loop option
A 120-220cm cable loop threads through the front wheel (inside the spokes), around the secured rear triangle or the rack, and loops back to lock through the primary lock shackle. This adds 10-30 seconds of tool time for an attacker and is enough deterrent for shorter stops in moderate-risk environments. A cable is a secondary deterrent, not a primary lock; it should always accompany, not replace, the certified primary lock on the frame.
Remove and lock the front wheel
On quick-release or thru-axle front wheels without a security skewer, removing the wheel entirely and locking it flat alongside the rear triangle is the stronger option for longer parking. The wheel takes up slack inside the lock loop and reduces dead space as a bonus. If your fork has no quick-release and removing the wheel is impractical, the cable loop is the right call.
Step 6: Remove or Secure E-Bike-Specific Theft Targets
By the end of this step the battery is off or documented, the display is in your bag, and any quick-release saddle is removed or locked. These components are the items a thief takes when the frame lock stops them from taking the whole bike.
Battery
A removable e-bike battery carries significant resale value on its own. If the battery slides or clicks off the frame, take it with you every time. An integrated battery is heavier and harder to remove quickly, but document the battery's serial number separately from the bike's serial number; both appear on police reports and insurance claims. Some insurers treat a stolen battery as a separate claim from a stolen frame.
Display and head unit
Most e-bike displays detach with a button or a half-turn of a collar. These units have real replacement value and take three seconds to pocket. Get in the habit of removing the display any time the bike stays outside for more than a few minutes. The mount itself is usually not worth stealing; the display is.
Saddle and seatpost
A quick-release seatpost clamp lets a thief take the entire saddle and post in under five seconds. The options are: replace the QR clamp with a security bolt clamp (requiring a specific key tool to loosen), use a secondary cable loop through the saddle rails back to the primary lock, or take the saddle with you as you would a helmet. The last option is the most reliable on a high-theft-risk block.
Common Locking Mistakes to Avoid
The field research is unambiguous: most cyclists who lock their bikes do so incorrectly. In a study of around 8,500 observed locking events, 19% of cyclists locked only the frame to the rack stand, leaving the rear wheel completely free to remove.2 The consequences compound on e-bikes because the replacement cost is higher and the resale value of the components is higher.
Locking wheel-only
The mistake: The lock goes through a wheel and around the rack but misses the frame entirely. Why it happens: The wheel is the most accessible thing to loop a lock around. The fix: Always start the routing inside the rear triangle; if the frame is not inside the lock, rethread it before you close.
Locking frame-only
The mistake: The shackle or chain captures the frame and the rack but the rear wheel is outside the loop. Why it happens: This is what "locking a bike" looks like in stock photos, so it seems correct. The fix: After you thread the lock, physically confirm the rear wheel is inside the closed loop before you engage the cylinder.
Too much slack
The mistake: The lock closes but there is 15-20cm of clearance between the lock body and the nearest surface. Why it happens: Riders use a lock that is too long for the routing path, or they don't pull the chain or folding lock tight before closing. The fix: Choose a lock whose reach matches the actual circumference of the path (frame + wheel + rack post), not the largest path possible.
Attaching to a movable anchor
The mistake: The lock goes around a signpost that unscrews, a railing screwed to a deck, or a short bollard that slides out of a concrete sleeve. Why it happens: It looks fixed. The fix: Push hard on the post before locking. If it moves at all, do not lock there.
Leaving the lock on the ground
The mistake: The lock rests on or just above the pavement. Why it happens: Short racks, short seatposts, or routing that pulls the lock down. The fix: Reroute so the lock body sits mid-wheel height or higher. This one adjustment meaningfully reduces the leverage available for ground attacks.
How the Lock Path Varies by Lock Type
The routing goal is identical for every lock type: frame triangle, rear wheel, rack post in a single pass. The execution changes based on the lock's geometry and reach. The table below compares the three main types for e-bike use.
| Lock Type | Routing Path | Minimum Reach Needed | Hub-Motor Adjustment | Key Consideration |
|---|---|---|---|---|
| U-lock | One shackle leg inside rear triangle, other outside rear wheel; crossbar closes to rack post | 220-300mm shackle clearance | Route above motor housing; wider dropout may need 300mm shackle | Least dead space when shackle fits; hardest to defeat at low clearance |
| Folding lock | Links thread through rear triangle opening, through wheel spokes, close at rack post | 85-100cm extended length | Flexible link routing goes around motor housing naturally | Easier to adapt to different frame shapes; mounts on frame for carry |
| Chain lock | Chain through rear triangle, through wheel spokes, around rack post; ends joined with lock head | 90cm minimum; 110cm adds comfort | Extra 10-15cm helps bridge the wider hub-motor spacing | Versatile reach; heavier than folding locks at equivalent security level |
How to Confirm the E-Bike Is Properly Locked
Run this check before you walk away. A lock that looks closed is not always correctly routed, and a 10-second confirmation now prevents a multi-hour insurance call later.
The five-point check
First, confirm both shackle legs or chain ends are fully engaged. On a U-lock, try to pull each leg individually; neither should move. On a folding lock or chain, confirm the cylinder is locked and the lock body does not open when you tug it. Second, count what is physically inside the lock's closed loop: the rear frame triangle and the rear wheel must both be captured. If only one is inside, rethread. Third, check clearance: one to two fingers of gap between the lock and the nearest surface is acceptable, three or more means the routing needs to be tightened. Fourth, lift the lock body. If it rests on or within a few centimeters of the ground, reposition it higher on the rack or reroute to a taller post. Fifth, pull the bike away from the rack firmly. If the bike can move more than a few centimeters without the rack moving with it, something is not anchored.
What correct looks like
After a proper lock-up, the rear wheel cannot rotate freely (the lock captures the rim and the frame holds the axle). The frame cannot be lifted away from the rack. The lock body sits at mid-wheel height or above. The bike is close enough to the rack that there is no more than a hand-width of chain or shackle visible between the frame and the post. If you can walk away from the bike without looking back and feel confident it will still be there, the routing is probably right. If you have a nagging sense that it might not be, re-check. That instinct is usually correct.
Frequently Asked Questions
Does a rear hub motor block the standard rear-triangle lock path?
No. The hub motor fills the dropout area around the axle, not the rear triangle itself. The rear triangle is the enclosed space above and around the wheel, formed by the chainstay, seatstay, and seat tube. A lock threaded through this triangle above the motor housing captures the frame normally. On very wide hub-motor formats, the shackle clearance needed increases by roughly 20-30mm, which is why a 300mm U-lock shackle handles hub-motor e-bikes where a standard 180mm shackle may not close cleanly.
What shackle size fits an e-bike frame, rear wheel, and rack post together?
A 180mm shackle clears most standard e-bike frames at a typical Sheffield or inverted-U rack. Hub-motor e-bikes with wider rear dropouts often need 220-300mm of shackle clearance to fit the frame, the tire, and the post in one pass. The practical rule: measure the distance from the inside of the frame triangle to the outside of the rear tire, add the rack post diameter, and match that sum to the shackle's internal width. When in doubt, size up and then position the bike closer to the post to reduce the slack.
Is a cable lock enough to protect an e-bike?
No. Cable locks can be cut in under 15 seconds with basic bolt cutters or wire snips, making them inadequate as a primary lock on any bike worth more than a few hundred dollars.6 On a $2,000 e-bike, a cable lock as the only security is not protection. Use a cable only as a secondary measure to capture the front wheel or saddle after a Sold Secure Gold or better primary lock is already closed on the frame and rear wheel. The cable adds friction for a thief; the primary lock does the actual anchoring.
Should I remove the e-bike battery every time I park in public?
Yes, if the battery detaches without tools. Removable e-bike batteries carry significant resale value on the secondary parts market and take under ten seconds to lift off the frame. Leaving a detachable battery installed while the bike is parked outside, even briefly, is a real risk. An integrated battery that requires tools or a specific process to remove is a lower immediate target, but documenting its serial number separately from the frame serial is still worth doing. Most replacement batteries are not covered under standard homeowner or renter policies without a specific rider.
How often are bikes stolen while locked to a public rack?
More often than most people expect. The UK's Office for National Statistics recorded around 66,960 bicycle theft reports across England and Wales in a recent 12-month period, many from public parking areas.4 Separate observational research of ~8,500 public locking events found only 20% of cyclists locked in a manner classified as secure by researchers.2 The math is straightforward: most public-rack lock-ups are not secure, and thieves know it. Correct routing through the frame and rear wheel together is the single most effective change most cyclists can make.
Limitations and Edge Cases
- This guide covers standard double-triangle and step-through e-bike frames locked to public racks or street furniture. Cargo e-bikes with extended wheelbases, and e-bikes on car-mounted racks during travel, require different locking approaches not covered here.
- The UK theft figures cited are national totals; theft rates vary considerably by city, neighborhood, and rack type. High-density urban areas and transit hubs carry meaningfully higher risk than suburban areas.
- Shackle and chain length recommendations are based on average e-bike geometry. Fat-tire e-bikes with tire widths of 4 inches or more may need an additional 20-30mm of shackle clearance or 10-15cm of chain length to complete the frame-and-wheel routing.
References
- Bike Index - 2025 Annual Bike Theft Report. Bike Index, 2025. Data on annual US bicycle theft volume, total value, and e-bike theft risk compared to standard bicycles.
- ASU Center for Problem-Oriented Policing - Bicycle Theft (2nd edition), Clarke and Maxfield, eds. Academic analysis of ~8,500 observed public locking events (London) and classification of 180 possible locking configurations by security level.
- Milwaukee Police Department - Bike Theft Reduction Initiative. City of Milwaukee official theft-prevention guidance including identification of the three most commonly stolen bicycle components.
- Office for National Statistics - Nature of Crime: Bicycle Theft dataset. UK government annual crime survey data on bicycle theft volume across England and Wales.
- Cycling Industry News - E-bike thefts up 250% in 2 years in the UK, finds FOI request. Cycling Industry News, 2023. Reports Freedom of Information data from UK police forces on e-bike theft growth rates and share of total bicycle thefts.
- Bike Lock Wiki - Angle Grinder Proof Bike Lock: real-world defeat time testing data for cable, standard, and high-security locks. Independent security review, 2023.
Conclusion
Locking an e-bike correctly comes down to one routing decision: the lock must capture the rear frame triangle and the rear wheel in a single pass to the rack, with minimal slack and the body kept off the ground. Every other step, from removing the battery to securing the front wheel, builds on that foundation. Get the primary routing right and the rest is straightforward.
For a broader overview of all the layers that protect an e-bike, from lock selection to component security to insurance, see the e-bike security overview.