Skip to main content
O Trucking
OBD-II Diagnostic Trouble Code

P0513 — Incorrect Immobilizer Key

P0513 indicates the immobilizer system did not recognize the key, so the ECM will not authorize fuel or starting. The key transponder code did not match the stored codes, or communication with the immobilizer module failed.

Severity 4/5 Truck-relevant
Stop within 50 mi
Severity
Stop within 50 mi Incorrect Immobilizer Key
Code
P0513
Category
Powertrain
Subsystem
Network
Truck-relevant
Yes
O Trucking From the O Trucking network Hotshot trucking jobs — pay & equipment What hotshot work pays and which trucks fit the lanes. See hotshot

What this means for truckers

P0513 (Incorrect Immobilizer Key) — the truck's immobilizer doesn't recognize the key. Common after key cylinder replacement. Requires dealer programming. On commercial trucks immobilizer is less common than in passenger vehicles.

Before you replace parts — try this first

P0513 on the Network system is most often key not programmed to the truck or damaged key transponder — not a dead part. On commercial diesels especially, work these in order before spending money on parts:

  1. Confirm the symptoms. Match what your truck is doing to the Symptoms section below. If the code is set but the symptoms are not there, clear the code and re-test after a drive cycle — it may not return.
  2. Clean and dry the sensor connector. Water, road salt, or oil seeping into a connector is the #1 fake sensor failure. Disconnect, look for green corrosion or moisture, spray with electrical contact cleaner, dry, reseat. Many faults clear here for $0.
  3. Inspect the wiring harness. Trace the wire from the sensor toward the ECM — look for chafing against the engine block, melted insulation near the turbo or exhaust, or pinch points where a clamp has rubbed through.
  4. Test the sensor before swapping it. Most Common Causes (below) list the expected voltage or resistance range — a $20 multimeter saves a $300 sensor swap that does not fix the problem.
  5. Only then, replace the part. Use the OEM or a tier-1 aftermarket. Cheap sensors throw the same code in two weeks.
Symptoms

Engine cranks but does not start, or starts and dies immediately. A security light may flash on the dash.

Common causes
  • CommonKey not programmed to the truck or damaged key transponder ($50–$300)
  • OccasionalFaulty immobilizer antenna ring around the ignition ($150–$450)
  • OccasionalLow key fob battery on systems that rely on it ($5–$20)
  • OccasionalCommunication fault between immobilizer and ECM ($150–$600)
  • RareECM or immobilizer module replaced without programming ($200–$600)
How to fix
Try a known-good spare key
When to use: First step
Program the key with the OEM procedure or tool
When to use: When a new or replaced key is involved
Check the antenna ring and its wiring
When to use: When all keys fail
Check data link communication between modules
When to use: When network codes are also present
Affects most

No specific vehicle pattern found in our complaint database. This code can appear on any vehicle that supports OBD-II diagnostics.

Related

Frequently Asked Questions

Can I drive with code P0513?
Drive with caution. P0513 is severity 4 — stop within ~50 miles. Most commercial diesel codes at this severity (turbo, fuel rail, transmission solenoid) can damage adjacent expensive components if left unrepaired. Get to a service location before highway-speed loads.
How much does it cost to fix P0513 on a commercial truck?
Total repair cost ranges $5–$600 depending on the root cause. The cheapest fix is usually the first one listed below — Key not programmed to the truck or damaged key transponder — which is also the most common. On commercial trucks the cost is usually higher than passenger vehicles due to part availability and shop labor rates ($120–185/hour at most truck shops, vs $90–130 at general auto shops). DIY-capable fixes (sensors, hoses, filters) are at the low end; major component replacements (turbo actuator, high-pressure fuel pump, transmission solenoid pack) are at the high end. Always diagnose with a scan tool BEFORE replacing parts — guessing wrong on a $1,500 turbo actuator when the actual issue was a $30 boost hose is a common expensive mistake.
Will P0513 fail a DOT inspection?
P0513 is generally not a direct DOT inspection fail item by itself. Inspectors focus on safety-critical systems (brakes, steering, tires, lights, hours-of-service). However, the check engine light alone can trigger additional inspection scrutiny. Best practice: fix the code and clear it before a planned inspection.
What's the difference between P0513 and related codes?
P0513 is closely related to: P0500 (Vehicle Speed Sensor Malfunction), P0501 (Vehicle Speed Sensor Range/Performance), P0502 (Vehicle Speed Sensor Low Input), P0503 (Vehicle Speed Sensor Intermittent/Erratic/High). These codes share the same subsystem (network) and often appear together. If you see this code, scan for the full code list — fixing the root cause usually clears multiple companion codes at once. If only P0513 is set without the companions, the issue is more isolated.
How do I prevent P0513 from coming back after a repair?
For P0513 (Incorrect Immobilizer Key), prevention centers on the network system. Pay attention to ground connections at every PM — bad grounds are 70% of communication codes. Inspect harness routing for chafe points. Don't disconnect modules with the key on.

Need help diagnosing a tough engine code?

Ready to Grow Your Trucking Business?

Professional dispatch service starting at just 5% — no hidden fees.