Home / Door stuck? / I forgot the code for the garage keypad

I forgot the code for the garage keypad

The likely cause, a quick check, what's safe to do, and what it usually costs.

No rush. Annoying, not dangerous. Fix it when it suits you.

Most likely: The old PIN is unknown, so a new one must be programmed at the opener

Chamberlain's learn-button steps set a PIN on the keypad without asking for the old one.

Quick check: Can you reach the learn button on the motor unit or wall control? The new PIN is set from there.

You can usually fix this yourself.

Also possible

  • Genie keypads need a keypad reset first. Is it a Genie keypad with PROGRAM and UP/DOWN keys? Reset it, then set a new PIN. DIY
  • Old codes from a previous owner are still stored in the opener. Did you just move in or lose a remote? Erase the opener memory and reprogram everything. DIY

Safe to do now

  • Chamberlain/LiftMaster: press learn, then within 30 seconds enter a new 4-digit PIN and hold ENTER.
  • If you just moved in, erase the opener memory and reprogram your own remotes and keypad.
  • Close the door before you climb up to the learn button. Get off the ladder and stand clear before you run the door.
  • Genie: with backlight off, hold PROGRAM and UP/DOWN about 5 seconds to reset, then set a new PIN.
  • Opener has an app? Also see I need to add or remove someone's access in the garage door app.

Don't

  • Do not keep a previous owner's code; erase and set your own.
  • Do not pick a PIN others could guess, such as your house number.

Typical price

If it's the most likely cause: Often free: you can usually sort this yourself.

National figures, not a quote. Every price range and its source.

Good to know: Steps vary by keypad model. If these do not match your keypad, look up its model number on the maker's support site.

Step by step: How to change your garage door keypad code

Photos that help

If the safe steps don't sort it, these three photos help a shop quote it in writing:

  1. The back of the remote or keypad (model number)
  2. The label on the opener (brand and model)
  3. The colored learn button on the opener, if you can see it from the floor

Take them from where you stand. Don't go under the door, and don't touch the springs, cables or tracks. How to send them.

Where this comes from (3 sources)

We read each source on 10 November 2026. The order of causes follows the makers' own troubleshooting pages where they give one; otherwise it is our judgment, and the page says so.

Not quite it? Describe your problem

Describe it in your own words, like "goes back up" or "remote stopped working".

Related problems

Got a quote that feels high?

Text the amount and what it covers to (918) 205-5200. We compare it with published price data (the sources on our price page), and text you back within a business day. Free, no obligation, and we don't repair doors.

Diagram: Change a LiftMaster or Chamberlain keypad code

Change a LiftMaster or Chamberlain keypad code. For keypads such as the 877LM, 940LM, 376LM and 377LM. The 940EV and 877MAX may need other steps: see the guide. Clear the doorway and keep children and pets away: the door moves when you test the code. Watch it until it stops. You know the current code: 1: Enter the current code. 2: Press and hold # until the opener's light blinks twice. 3: Enter your new 4-digit code and press ENTER. The light blinks once: the code is changed. 4: Test the new code. Our own tip: don't pick your house number, a birthday or 1234. You don't know the code: Wall control with a LEARN button? No ladder needed: press it twice and wait for its light to flash, then enter a new 4-digit code and press ENTER. The opener's lights blink. Test it. Otherwise, use the opener's Learn button. You need a ladder; a helper at the keypad makes it easier. 1: On the motor unit, press and release the Learn button. Its light comes on: you have 30 seconds. 2: At the keypad, enter a new 4-digit code, then press and hold ENTER until the opener's light blinks. 3: Test the new code. Will the old code still work? A keypad can hold more than one code, so test every old code you know (our advice). Just moved in? A factory reset of the opener (not the 6-second Learn button hold) removes every remote, keypad and myQ device; then add back the ones you keep, including your car's buttons.Change a LiftMaster or Chamberlain keypad code. For keypads such as the 877LM, 940LM, 376LM and 377LM. The 940EV and 877MAX may need other steps: see the guide. Clear the doorway and keep children and pets away: the door moves when you test the code. Watch it until it stops. You know the current code: 1: Enter the current code. 2: Press and hold # until the opener's light blinks twice. 3: Enter your new 4-digit code and press ENTER. The light blinks once: the code is changed. 4: Test the new code. Our own tip: don't pick your house number, a birthday or 1234. You don't know the code: Wall control with a LEARN button? No ladder needed: press it twice and wait for its light to flash, then enter a new 4-digit code and press ENTER. The opener's lights blink. Test it. Otherwise, use the opener's Learn button. You need a ladder; a helper at the keypad makes it easier. 1: On the motor unit, press and release the Learn button. Its light comes on: you have 30 seconds. 2: At the keypad, enter a new 4-digit code, then press and hold ENTER until the opener's light blinks. 3: Test the new code. Will the old code still work? A keypad can hold more than one code, so test every old code you know (our advice). Just moved in? A factory reset of the opener (not the 6-second Learn button hold) removes every remote, keypad and myQ device; then add back the ones you keep, including your car's buttons.
Steps from Chamberlain Group support (read November 16, 2026) and LiftMaster's 877LM keypad manual; the 940EV and 877MAX may need other steps, in the guide. The PIN tip and testing every old code are our own advice. Simplified drawing. Sources: Chamberlain Group support: how to add, program or change a keyless entry PIN; Chamberlain Group support: How to find the Learn button; LiftMaster 877LM keypad manual 114A3938B, 2011 (dealer-hosted copy). Free to reuse; please credit us: how to use our diagrams.

Full steps, including the 940EV and 877MAX keypads: how to change your garage door keypad code.