Battery & electrical

Radio asking for a code after battery was disconnected

Some older or security-equipped radios lock themselves and require an anti-theft code after losing power, which is normal and just needs the correct code entered.

Difficulty
Easy
Time
10–30 minutes
DIY cost
$0
Pro cost
$0–$50

Symptoms

  • Radio screen displays 'CODE' or 'LOCKED' message
  • Radio worked fine before a battery disconnect or replacement
  • Radio won't play any audio until the code is entered
  • No obvious damage or other electrical issues

Likely causes

  • CommonBuilt-in radio anti-theft lock triggered by power lossMany factory radios are designed to lock themselves if disconnected from power to deter theft.
  • CommonLost or unknown radio codeThe code is usually a small card or sticker from when the car was new, easily misplaced over the years.

What to do

  1. Check the glovebox, owner's manual, or a card that may have come with the vehicle for the radio code.
  2. Check the VIN-based lookup some manufacturers offer online or through their customer service for the radio code.
  3. Contact the dealership with your VIN if you can't find the code, since they can often look it up.
  4. Enter the code exactly as instructed in the manual, usually using the radio's preset buttons or a code entry screen.
  5. Avoid repeatedly entering wrong codes, since many systems lock out after a few failed attempts and require a longer wait or dealer visit.
  6. If the radio locks out after failed attempts, wait the specified time (often an hour) before trying again.
  7. Have a dealer or locksmith retrieve the code if all other options are exhausted.
  8. Consider writing down and storing the code somewhere safe once retrieved for future reference.

Tools and parts

  • Owner's manual
  • VIN number

When to call a pro

A dealership can usually retrieve a lost radio code using the VIN if you can't find the original card.

Safety

Generally low risk

Generally low risk for a careful person. Stop if anything looks different from what this guide describes.

Related guides

Operator provides AI-generated troubleshooting information. It can be wrong. For safety-critical, electrical, gas, structural, medical, automotive safety, or other high-risk problems, consult a qualified professional.