How to Program a Garage Door Opener
Learning how to program a garage door opener takes under 5 minutes with the Learn button. You do not need a technician just because you bought a new remote, changed a keypad PIN, or bought a car with HomeLink buttons. A sturdy step ladder is usually the only tool required. For the full picture — every repair, its cost, and when to call a pro — see our garage door repair guide.
Button labels vary by brand, but the process is nearly always the same: put the opener into learning mode, send it a signal from the device, and test the door.
Before you start: find the Learn button
The Learn button is on the motor unit hanging from the garage ceiling. Look on the back or side panel, near the hanging antenna wire and light cover. You may need to swing down a light lens to see it.

On many LiftMaster, Chamberlain, and Craftsman openers, the square button is:
- Yellow: Security+ 2.0 models
- Purple: 315 MHz Security+ models
- Red or orange-red: older 390 MHz Security+ models
Many Genie openers use a red Learn button. A small LED sits next to it.
Press and release Learn once to start programming. The LED turns on, and you generally have 30 seconds to complete the next step. Do not hold it down: holding it for about 6 seconds erases every programmed device.
Keep the door area clear. It may move as soon as programming succeeds.
How to program a handheld remote control

Use these steps for a replacement remote or an extra remote for another driver.
- Press and release the Learn button on the motor unit. The indicator LED should stay lit.
- Within 30 seconds, press and hold the button you want to use on the handheld remote.
- Keep holding until the opener light blinks or you hear one or two clicks. Some remotes also have an LED that changes when the signal is accepted.
- Release the remote button.
- Stand clear and press the programmed button once to test it.
If the door does not respond, repeat the process and hold the remote button longer. Confirm that the remote matches the opener’s brand, frequency, and security system. Set a universal remote to the correct opener type before pairing.
How to program a wireless keypad
A wireless keypad lets you open the door with a four-digit PIN. You must reach the keypad within the opener’s 30-second learning window.
- Open the keypad cover and decide on a new four-digit PIN.
- Press and release the Learn button on the motor unit.
- Within 30 seconds, enter your new PIN on the keypad.
- Press and hold Enter until the opener light blinks or clicks.
- Close the cover, wait a few seconds, and test the PIN.
Changing an existing PIN
On many keypads, programming a new PIN through the Learn button replaces the old one. Follow the steps above, then test both codes: the new PIN should work and the old PIN should not.
Some keypads use a direct PIN-change sequence printed inside the cover or in the manual. Use it if your model requires one. Avoid temporary PINs for everyday use unless you want a code that expires for a visitor or service provider.
How to program HomeLink in your car
HomeLink is the set of one to three garage-door buttons built into a car’s visor, mirror, or overhead console. It first copies your handheld remote, then syncs with the motor unit on rolling-code openers.
Step 1: Clear old HomeLink codes, if necessary
If a previous owner used the buttons, erase them first. Hold the two outside HomeLink buttons until the indicator flashes rapidly, usually after about 20 seconds. This clears all three buttons, so skip it if another button controls a gate or second door you still use.
Step 2: Train HomeLink from the handheld remote
- Turn the ignition to accessory or on if the vehicle requires it.
- Hold the working handheld remote 1 to 3 inches from HomeLink.
- Press and hold both the remote button and the chosen HomeLink button.
- Release them when the HomeLink indicator changes from a slow flash to a rapid flash or stays solid.
Step 3: Sync HomeLink with the opener
- Press and release the opener’s Learn button.
- Return to the car within 30 seconds.
- Press and hold the trained HomeLink button for about 2 seconds, then release.
- Repeat the press-and-release step if the door does not move on the first try.
Some older vehicles cannot communicate directly with Security+ 2.0 openers. If training works but syncing repeatedly fails, the car may need a HomeLink compatibility bridge. Check the vehicle and opener instructions before buying one.
How to erase all remotes and codes
Erase the opener’s memory when you move into a new home, lose a remote, suspect one was stolen, or sell the house.
- Locate the Learn button on the motor unit.
- Press and hold it for about 6 seconds.
- Release it when the indicator LED goes out.
This removes all paired handheld remotes, wireless keypads, and HomeLink buttons from the opener’s radio memory. It does not usually reset Wi-Fi or smart-home settings. After erasing, immediately program back only the devices you own and choose a new keypad PIN. Test an old remote or PIN to confirm it no longer works.
Smart openers and app-based setup
Newer openers may use Wi-Fi and an app such as myQ in addition to physical remotes. Setup generally means creating an account in the manufacturer’s app, adding the opener, selecting your home Wi-Fi network, and following the pairing prompts in the garage.
Keep the model and serial number nearby, and use the 2.4 GHz network if the app asks you to choose. Once connected, you can check the door, receive alerts, and share app access without giving everyone the keypad PIN. Remotes and keypads can normally still be programmed with Learn.
Troubleshooting programming problems
| Symptom | Likely cause | Fix |
|---|---|---|
| Remote has very short range | Weak battery, poor antenna position, or radio interference | Replace the battery, straighten the antenna downward, and test away from metal or LED-light interference. |
| Remote works up close only | Signal is too weak for the receiver | Install a fresh battery and inspect the antenna for damage. |
| Keypad works once, then stops | Weak battery or a temporary PIN was programmed | Replace the battery and program a permanent PIN through Learn. |
| Opener light blinks, but the door does not move | Wall-control lock is on, or safety sensors are blocked or misaligned | Turn off lock mode; clean and align both sensor eyes until they light steadily. |
| New remote will not pair | Opener memory is full or the remote is incompatible | Erase old devices and reprogram, or confirm the brand, frequency, and security system match. |
Door still won’t open?
A successful signal does not prove the door is healthy. If the motor runs but the door barely lifts, feels extremely heavy, or stops after a few inches, stop using it and inspect the springs from the ground. A broken spring makes the opener strain and can look like a programming problem. See our guide to garage door spring replacement cost before deciding on a repair. Never adjust or wind a torsion spring yourself.
Keep your garage secure
Rolling-code openers create a new code after each use, so a captured signal cannot simply be replayed later. That protection only helps if you control who has the current remotes and PINs.
Choose a PIN that is not your house number or birthday. Erase the memory when you move in, because previous owners, tenants, or contractors may still have access. Give temporary access through the app when possible, and change the PIN after a service provider no longer needs entry.
The bottom line
Start with the Learn button, work within the 30-second window, and test each device before moving on. Program remotes first, then the keypad and HomeLink, and erase old codes whenever the home changes hands. For more projects, browse our Garage Doors & Floors guides.