Guide

Forgot Your Combination Lock Code? How to Open It and Reset It

Most number-wheel locks give their code away by feel in a few minutes. Decoding, the full sweep, shims, the dial padlock route and how to reset a new code, for locks you own.

Updated 26 November 2026 · Technique · 7 min read

You set the code, you were sure you'd remember it, and now the gym locker or the suitcase won't open. Good news: most combination locks with number wheels can be opened by feel in a few minutes, because they leak information the same way a pin tumbler lock does. This guide is for locks you own.

Quick answer: pull the shackle up hard and keep pulling. Turn each wheel slowly: one will feel stiffer than the others. Turn it until it clicks or loosens, then move on to the next stiff wheel. When every wheel is set, the shackle opens. If that fails, a 3-digit lock has only 1,000 codes, and a methodical sweep takes about half an hour.

Which combination lock do you have?

Lock type How to recognise it Best method
Wheel padlock, 3 or 4 digits Number wheels on the body. Gym, locker and gate padlocks Decode by feel, or shim it if it has a spring latch
Luggage or TSA lock Small 3-wheel lock on a zip or case, often with a red diamond logo Decode by feel, or sweep 000 to 999
Bike cable lock Wheels along the barrel of the cable Decode by feel while pulling the cable apart
Dial padlock One spinning dial, like a school locker padlock Ask the manufacturer, or replace it

Method 1: Decode a wheel combination lock by feel

This is the same flaw that makes pin tumbler locks pickable. Inside, each number wheel sits on a sleeve with a notch, and the shackle only comes free when every notch lines up. No lock is made perfectly, so when you pull on the shackle, one wheel binds before the others, exactly like the binding pin in a pin tumbler lock.

  1. Pull the shackle, or the two ends of a cable lock, away from the body, and keep that tension on the whole time.
  2. Turn each wheel slowly through all ten numbers. Most spin freely. One feels stiff, with a slight grinding resistance.
  3. Find the give on the stiff wheel. Turn it slowly until you feel a tiny click, or the wheel suddenly turns more loosely. That wheel is set. Leave it there.
  4. Find the next stiff wheel and repeat. The lock decides the order, not left to right.
  5. When the last wheel sets, the shackle pops.

Two tips. If a wheel seems set but nothing else changes, release the tension, move that wheel one number and try again: on cheap locks the right position can sit one number either side of where it feels best. And on some cheap padlocks you can simply look. Shine a torch into the gap between the wheels and turn each one until a flat spot or notch on the inner sleeve faces you.

Method 2: Try every combination

Brute force is slow but certain. A 3-digit lock has 1,000 codes, from 000 to 999. At about two seconds per code, that is just over half an hour. Work in order: hold the first two wheels, run the third through 0 to 9 while pulling the shackle each time, then move the second wheel up one and repeat.

A 4-digit lock has 10,000 codes, more than five hours at the same pace. Try method 1 first. Even if you only manage to set one or two wheels by feel, you cut the sweep to 1,000 or 100 codes.

Method 3: Shim the shackle

Many inexpensive combination padlocks hold the shackle with a spring latch, a small sprung catch that clicks into a notch. A padlock shim, a thin curved strip of steel, slides down the gap beside the shackle and pushes that latch aside. On the right lock it takes a few seconds and ignores the code entirely.

It does nothing on padlocks whose shackle is held by ball bearings, which is the case on most better padlocks. If the shim goes in and nothing gives, stop before you bend it. Our ranking of the hardest padlocks to pick explains which designs resist it.

Padlock Shim Set – 10 Pieces – image 19
Our pick · €14.9Padlock Shim Set – 10 Pieces

Ten shims for 4 to 10 mm shackles, so one of them fits the usual gym, locker and luggage padlocks. Also a quick way to find out which of your own padlocks a two-second bypass defeats.

See the product

Method 4: Dial padlocks and the lost-combination service

Dial padlocks, the ones with a single spinning dial, are much harder to decode by hand, and the techniques that exist are slow and model-specific. The practical route is the manufacturer. Master Lock, for example, runs a lost-combination service for many of its dial padlocks, based on the serial number stamped on the lock and proof that it is yours. Check the maker's website for its form.

If the padlock is cheap and what it protects matters more, bolt cutters on the shackle are the honest last resort. Then buy one with a resettable code.

How to reset the code once the lock is open

Resettable combination locks all work on the same idea. With the lock open, you put it into reset mode, dial the new code, and leave reset mode. The trigger depends on the model:

  • Padlocks: with the shackle open, turn it 90 or 180 degrees and press it down, set the new code, then turn it back.
  • Luggage and TSA locks: press the small reset button or slide the lever with a pen tip, set the new code, release.
  • Bike cable locks: usually a reset button or a collar that only moves when the cable is out.

Before you close it again, test the new code three times with the lock open. Then write it down somewhere that isn't the lock's own bag.

Frequently asked questions

Is it legal to open a combination lock without the code?

Yes, if the lock is yours or the owner has given you permission. Decoding by feel and shimming are standard locksport and locksmith knowledge. Using them on someone else's lock is not legal anywhere.

How many combinations does a 4-digit lock have?

10,000, from 0000 to 9999. A 3-digit lock has 1,000. That is why it is worth decoding the wheels by feel before starting a sweep.

Why does my combination lock open on a number that isn't the code?

Cheap locks have loose tolerances, so the gate on each wheel accepts the right number and sometimes its neighbour. It also means the lock is easy to decode, which is worth knowing before you trust it with anything valuable.

Can you open a TSA lock without the combination?

TSA locks have a small keyway for airport security master keys, but travellers don't have those. As the owner, decode the wheels by feel or sweep the 1,000 codes. Both work on almost every luggage lock.

What makes a combination padlock more secure?

A ball-bearing shackle that resists shims, tight wheel tolerances that give nothing away by feel, and a hardened shackle. Then test it yourself: if you can decode it in a minute, so can anyone.

Curious how much your padlocks really resist? The padlock ranking compares the common brands, and a transparent padlock lets you watch the mechanism while you learn. Cover photo: Radu Prodan on Unsplash.

Written by the Lockpit Kit teamWe pick every practice lock we list, grade it against the community belt ranking and write the guide that ships in the box. Everything here comes from that bench work and from the public sources linked in the article. Only pick locks you own — see legality by country.

Alle sæt leveres med en gennemsigtig øvelseslås og vores illustrerede begynderguide.

Se begyndersæt

Læs også