P0513 — Incorrect Immobilizer Key
powertrain (engine/transmission)
Is it safe to drive?
Limited immobilizer function; repair promptly P0513 is an immobilizer authentication fault, not a general engine-performance code. If the engine starts with a recognized key and the warning does not affect vehicle operation, driving may be possible briefly, but the vehicle should be repaired soon. Do not continue driving if the engine stalls, the key warning remains active, or the engine fails to restart.
Typical symptoms
- P0513 is stored as a confirmed, pending, or permanent trouble code.
- The engine cranks but does not start when a particular key is used.
- The engine starts normally with the primary key but fails with a spare or newly programmed key.
- An incorrect-key, unauthorized-key, or immobilizer warning message appears on the instrument panel.
- The immobilizer security light remains on or flashes after the key is recognized.
- P0513 returns immediately after the ignition is cycled or the key-learning procedure is attempted.
Common causes
- The inserted key contains a transponder ID that the immobilizer control module does not recognize.
- A replacement or spare key was cut and programmed incorrectly for this vehicle.
- The immobilizer has lost, corrupted, or failed to relearn the registered key code.
- The key reader, immobilizer antenna, or surrounding wiring cannot reliably read the key transponder.
- A poor connector, open power or ground circuit, or communication fault exists between the key reader, immobilizer module, and powertrain control module.
- The immobilizer control module has incorrect coding, an internal fault, or incompatible replacement-module data.
How to diagnose with an OBD scanner
- Identify the key-specific failure Test the primary key and every registered spare separately. Record whether P0513 appears only with one key or whenever the ignition is turned on. A single failed key points to incorrect programming, a damaged transponder, or an incompatible key; failure with every key suggests a reader, circuit, or immobilizer-module problem.
- Read P0513 with an OBD scanner Connect an OBD scanner, ELM327 adapter, or AIScanAuto device and retrieve stored, pending, and freeze-frame information for P0513. Confirm whether communication remains active during the crank attempt. A communication drop at that time may indicate a fault in the immobilizer communication circuit rather than an incorrect key alone.
- Inspect the key-reader interface Check the key for physical damage, incorrect transponder placement, or a bent contact in the reader. Inspect the immobilizer antenna or key-reader connectors for looseness, corrosion, damaged pins, or pinched wires, and verify power and ground at the reader using the vehicle wiring diagram.
- Check immobilizer communication wiring Follow the model-specific wiring schematic and test the connections between the key reader, immobilizer control module, and powertrain control module. Look for opens, shorts, high resistance, or intermittent data faults. Do not assume the transponder is defective merely because P0513 is present.
- Program and validate the key Use a manufacturer-capable key-learning or immobilizer programming procedure to add or relearn the key. A basic ELM327 or AIScanAuto connection can read and clear P0513, but it generally cannot perform secure key programming. If the immobilizer rejects an original key, communication fails during cranking, or P0513 returns after learning, diagnose the module and circuits.
- Clear and verify the repair After correcting the key, programming, connector, or circuit fault, clear P0513 with the scanner. Cycle the ignition and test all registered keys, including a start-and-restart cycle, to verify that the code does not return and that the immobilizer indicator operates normally.
Approximate repair cost
A typical independent-shop estimate for P0513 diagnosis and key programming is about $125 to $500, including diagnostic time and programming when supported. A replacement key or transponder may add roughly $75 to $300, while immobilizer-reader, wiring, or module repairs can raise the total to approximately $1,000. These figures are estimates and vary by region, vehicle, and parts availability.
Common questions
Does P0513 always mean the physical key is wrong?
No. A key can fit and turn normally while its transponder data is not recognized. P0513 can result from failed key programming, lost immobilizer registration, a damaged reader, or a communication-circuit fault.
Can I clear P0513 with an ELM327 or AIScanAuto scanner?
You may be able to erase the stored code, but clearing it does not correct the key or immobilizer circuit. The code will normally return if the authentication fault remains, and key learning may require a manufacturer-capable tool.
Can the vehicle still be driven with P0513 present?
If it starts normally with a registered key and remains stable, short-distance driving may be possible, but the immobilizer fault should be diagnosed promptly. If P0513 causes a no-start condition or the engine stalls, the vehicle should not be driven.
Why would P0513 appear after replacing the battery or immobilizer module?
Some immobilizer systems can lose registered-key information during a power interruption or require the replacement module to learn the keys. A key-learning procedure may resolve P0513, but communication and power faults should also be checked first.
The immobilizer system exists to prevent vehicle theft. When you turn the key or push the start button, the Powertrain Control Module sends a challenge signal to the transponder chip embedded in the key. If the chip returns the correct encrypted response, the PCM allows the engine to start and run normally. When the module cannot verify the key's identity, it cuts fuel and ignition, leaving the car stranded. P0513 is the OBD2 code that flags exactly this condition — an unrecognized or invalid immobilizer key signal.
The PCM monitors the immobilizer circuit in real time from the moment you open the driver's door. If it detects an anomalous signal for longer than the calibration allows, it stores P0513, illuminates the check engine light, and records freeze frame data. That snapshot captures RPM, engine load, coolant temperature, and vehicle speed at the instant the fault occurred. This information is invaluable when you connect a scan tool, because it shows the exact driving conditions that triggered the code and helps you reproduce the problem during testing.
P0513 can sometimes appear alongside other codes related to the security system, sensor networks, or control modules. These related codes frequently point to the real root cause rather than a bad key itself. Always pull the complete trouble code list before clearing anything, and note any TSBs (Technical Service Bulletins) published for your specific make and model — manufacturers occasionally release software updates or known-fix documentation for immobilizer complaints.
Symptoms of P0513
- Engine cranks but fails to start, or starts and then stalls immediately
- Check Engine Light or dedicated security (padlock) light stays on
- Security system appears to lock out the engine without obvious reason
- Noticeable increase in fuel consumption due to repeated failed start attempts
- Vehicle may enter a limp-home mode with reduced power output
- Affected immobilizer components operate inconsistently or cease functioning entirely
- No-start condition that comes and goes, especially in cold or wet weather
What causes P0513?
- Defective or damaged transponder chip inside the key fob
- Faulty immobilizer ring antenna (the coil reader around the ignition switch)
- Blown fuse supplying the immobilizer circuit
- Corrosion, broken wires, or loose connectors in the security wiring harness
- Poor ground connection at the immobilizer module or PCM
- Unprogrammed replacement key that was never matched to the vehicle
- Faulty Engine Control Module (ECM) or Body Control Module (BCM) with corrupted security data
How to diagnose P0513
- Connect an OBD2 scanner and confirm P0513 is present. Record the freeze frame data and any additional stored codes before clearing anything — secondary codes often reveal whether the problem is electrical or logical.
- Rule out the easiest issues first. Verify that the correct programmed key is being used. If a replacement key was recently cut, it may not have been programmed to the vehicle's immobilizer.
- Perform a thorough visual inspection of the immobilizer ring antenna and its wiring. Look for chafed insulation, corrosion at connectors, and signs of water intrusion. Wiggle the harness gently while monitoring live data — signal dropouts indicate intermittent opens in the wiring.
- Check the fuses that power the security system. A single blown fuse can mimic a full immobilizer failure. Consult your owner's manual or fuse box diagram for the correct amperage rating.
- Test the immobilizer antenna's resistance against manufacturer specifications. An open or shorted antenna will not allow the PCM to read the key transponder. Replace if out of spec.
- Clear the code, insert a known good programmed key, and attempt a full drive cycle that replicates the freeze frame conditions. If P0513 returns, the problem lies deeper in the control module or its programming.
Repair options and costs
- Reprogramming a replacement key to the vehicle: $50–$150
- Replacing the immobilizer ring antenna: $80–$250
- Repairing damaged wiring or corroded connectors: $80–$250
- Replacing the Engine Control Module or Body Control Module: $300–$1,000
The most common culprits are a dead key battery (in push-button starts) and an open immobilizer antenna circuit. Tackle those before committing to expensive module replacement.
How much does fixing P0513 cost overall?
A realistic total for P0513 diagnosis and repair, including parts and labor at independent shop rates, ranges from roughly $80 to $1,000 depending on which component fails. Key reprogramming or an antenna replacement typically lands on the lower end. A failed PCM or BCM requiring replacement pushes the job toward the upper range. The most important step is confirming the exact cause before purchasing parts — a $10 fuse or $30 key battery solves a surprising number of immobilizer complaints.
Can you drive with P0513?
P0513 itself does not create an immediate safety hazard on the open road. The engine will run normally once the vehicle has started. However, the code means the vehicle may not restart after you shut it off, leaving you stranded. If you experience stalling, hard starting, or warning lights related to brakes and steering alongside P0513, treat it as urgent and seek repair promptly. For intermittent no-start complaints with no other driveability symptoms, schedule service within a few days.