Why you got locked out and what fixes it

Most lockouts come from a key left inside, a fob with a dead battery or a door that locked itself. The right fix depends on the type of key and lock you have, not just the time of day. This page is about the cause and the options. The first-minutes checklist is on our guide for what to do when locked out.

In danger or blocking traffic? Call 911 first.
Free for driversNo account neededPlain answers
SquadRoadside assistant
What's going on with the car? Pick one, or tell Squad in your own words.
Squad can make mistakes. In danger, call 911.

The usual ways it happens

A lockout is rarely a mystery. Looking at how it happened tells you what will work.

  • Keys left inside. A door shut with the lock button pressed, or a car that locks itself when the fob is out of range.
  • A dead fob battery. The fob stops sending its code and the doors will not unlock by button.
  • A dead car battery. Power locks and keyless entry do nothing, and the key may not turn a stuck lock cylinder.
  • A lost key. No key means a new one must be made, which is a bigger job than opening a door.
  • A failed lock actuator or latch. The key works in the cylinder, but the door will not move.

Each cause points to a different fix. For the step-by-step first minutes, including who to ring and where to wait, read the locked-out checklist.

Check before you pay for help

Walk around the car and try every door and the trunk. Rear doors and hatches are sometimes unlocked by a child, a friend or an earlier errand. Check the windows for a gap. If you have an app from your carmaker, a phone unlock may work, and some cars let a spare fob in your pocket do the job from the second door.

If the car has a keyless fob and the buttons are dead, try the mechanical key. Many fobs hide a thin metal key blade behind a release catch, and many door handles have a small cap that hides the key slot. Your owner's manual shows where. Do not force the cap or pry the handle, since broken trim costs more than a lockout service.

If the fob works from a short distance but not far away, the battery is probably weak. Fobs usually work within about 5 to 20 meters (16 to 66 feet), and a weak battery shrinks that range first. Once you are inside, a fob that has died completely can often still start the car, as our steps for a flat fob explain.

What not to try

Coat hangers, wedges and slim-jim tools damage the weather seal, the wiring inside the door and the side airbag components on newer cars. Modern doors often have shields and electronics in the exact spot a hanger pushes. Forcing a window can crack the glass or knock it off its track, and the repair will cost more than the service call. A driver who tries a trick and fails also tends to leave scratches the professional then has to avoid.

If keys are locked in with a child or an animal inside, do not wait on a repair appointment. Emergency crews and police respond to that situation, and they have the authority to break a window. In hot weather a closed car heats up quickly.

Who can open the door

A car lockout service opens the door without damage using inflatable wedges and long reach tools. It is the quickest route when the key is inside and the car is otherwise fine. If the real problem is a dead car battery, the door may still open by a mechanical key, but the car will not start afterward. A jump start may be needed as well.

When the key is gone altogether, you need a replacement key made for the car. Keys with chips are programmed to the vehicle. Fobs use a rolling code, where each press sends a different code that the car's receiver recognizes in sequence, so a copy cut at a hardware store may open the door but not start the engine. A mobile mechanic or a dealer can advise on programming for your model. Kelley Blue Book puts a replacement transponder key at about $125 to $250 and a switchblade fob at about $150 to $300 with programming, so ask for a quote that lists cutting, the fob and programming separately.

If the cause is the car, not the key

A car that unlocks and locks on its own, or a fob that works only sometimes, can mean a failing lock actuator, low battery voltage or a short in the body control circuits. A shop that handles electrical repair can trace it. If the problem began alongside slow cranking, see dead battery and have the battery tested at a battery service shop.

If the engine will not turn over with a good key in hand, you may have an immobilizer issue, not a lockout problem. The no-start troubleshooting page covers that.

Lockouts away from home

A lockout in your driveway is an inconvenience. A lockout on a shoulder, at a trailhead or at a gas station at night is a safety issue. If you are on the side of a road, stay out of traffic lanes and wait where drivers can see you. The advice on a highway breakdown says where to wait.

Keep your phone, ID and a spare key with you. Many people lose time because the phone was in the locked car too. A lockout is also a good reason to keep a roadside plan from your insurer or a motor club saved on a card in your wallet.

Keeping it from happening twice

  • Replace the fob battery on a schedule. Most use a small coin cell that costs a few dollars and takes a minute.
  • Keep a spare mechanical key with a person you trust, not in a magnetic box under the bumper.
  • Get in the habit of pocketing the key before closing the door.
  • If your car locks itself when it senses the fob walking away, learn which door that applies to.
  • Program a second fob now. Making a first replacement after you lose the only key costs more than adding a spare while you still have one.

Updated November 25, 2026

Questions drivers ask

Plain answers to the questions we hear most.

Can I unlock my car with my phone?

Only if your carmaker offers a connected-car app and it was set up before the lockout. Many newer cars from major brands can unlock by app. If you never activated the service, it cannot be done on the spot, so a lockout service is the quicker path.

Will a lockout service damage my car?

A trained technician uses an air wedge and a long reach tool, which should leave no marks. Damage usually comes from coat hangers, wedges forced in by hand or prying at the window. Ask what method they use and whether they cover damage before they start.

My key fob is dead and the doors will not open. What now?

Look for a hidden key blade in the fob and a small cap on the driver's door handle that hides the key slot. Your owner's manual shows where. Once inside, many cars start by holding the fob against a marked spot on the dash, even with a dead fob battery.

Can a locksmith make a key without the original?

Usually yes, for most cars, using the vehicle's identification number and proof of ownership. Keys with chips must be programmed to the car, which takes more equipment than cutting. Have the title or registration and a photo ID ready.

What if a pet is locked inside?

Do not wait for a repair appointment. A closed car can heat up quickly. Get help from emergency crews or police, who can enter the vehicle. A lockout service can follow later for the remaining repairs or a new key.

Help in your city

Local roads, towing rules and the help that covers them.

Run a tow company, roadside crew or repair shop?

Get jobs from drivers near you on your phone, and pay only for results.

TowSquad for pros

Every TowSquad service