Auto & Transport

Key locked inside the car: what to do?

Stay calm, check all doors, and call a professional locksmith or roadside service. Avoid breaking windows unless there is an emergency.

Written by Mohamed IDBRAHIM · Reviewed by Michael Osei · Updated October 31, 2026 · Reviewed October 30, 2026 · 3 min read

Immediate actions

  1. 1 Check every door and the trunk, including the rear hatch and any manual locks.
  2. 2 Look for a spare key or call someone who has one.
  3. 3 Contact a locksmith or roadside assistance for help.
  4. 4 Only break a window as a last resort if a person or pet is in danger.

What not to do / warning

If a child or pet is locked inside the car, call emergency services immediately. Heat or cold can be deadly within minutes.

Locking your keys inside the car is a common and frustrating situation, but it is usually easy to resolve without damage. The right approach depends on whether anyone is trapped inside and what tools you have available. Follow these steps to get back on the road safely.

What to do first

  1. Stay calm and check for immediate danger. If a child or pet is locked inside, especially in hot or cold weather, call emergency services immediately. This is a life-threatening emergency.
  2. Try all doors and the trunk. Sometimes a door is unlocked, or the trunk can be opened with a physical key or release lever. Check the rear hatch and any manual lock buttons.
  3. Look for a spare key. If you have a spare at home or with a family member, call someone to bring it. If you are far from home, consider a taxi or rideshare to retrieve it.
  4. Call a professional. A locksmith or roadside assistance service can often unlock your car without damage. Have your vehicle identification number (VIN) and proof of ownership ready.

What NOT to do

  • Do not break a window unless there is an emergency involving a person or animal. Breaking glass can cause injury and expensive damage.
  • Do not attempt to use coat hangers or other tools to unlock the door yourself. This can damage the locking mechanism or trigger the alarm, leading to costly repairs.
  • Do not leave the scene if someone is inside the car. Stay with the vehicle and call for help.

When to call for help

Call emergency services (such as 911 in the US) immediately if a child or pet is locked inside and appears distressed, or if the temperature is extreme. For non-emergency situations, contact a locksmith or your roadside assistance provider. If you have a roadside assistance membership, use their app or phone number. Otherwise, search for a local locksmith with good reviews.

How to prevent it

  • Keep a spare key in a safe place, such as with a trusted friend or in a magnetic key holder (though these can be found by thieves).
  • Always check for your keys before closing the door.
  • Consider a keyless entry system or a smartphone app if your car supports it.
  • Never leave children or pets in the car unattended, even for a moment.

In most cases, a locksmith or roadside service can unlock your car quickly and without damage. Stay patient and avoid shortcuts that could cost more in the long run.