OBD-II trouble code
B1213: Fewer Than the Required Number of Keys Programmed (PATS)
Ford's Passive Anti-Theft System has fewer keys programmed than it requires — usually fewer than two. The car typically still starts with a working key; the fix is to program an additional key.
Quick facts
- System
- Body
- Category
- Anti-Theft / Immobilizer
- Severity
- Low severity
- Drivable
- Usually safe to drive short-term
- Repair cost range
- $0 – $250
- DIY difficulty
- Beginner DIY
What does B1213 mean?
B1213 is a manufacturer-specific Ford body (B) code indicating that fewer than the required number of keys are programmed into the Passive Anti-Theft System (PATS). Most Ford PATS systems require a minimum of two programmed keys — three on vehicles equipped with a valet key — so the system flags B1213 when only one (or too few) keys are stored.
Unlike the no-start PATS codes, B1213 is generally informational: the vehicle usually still starts and drives normally with the one key it does recognize. The system is essentially warning you that you're a single point of failure away from being locked out — if that lone key is lost or its chip fails, there's no backup, and recovering can mean towing the car and an all-keys-lost programming session. That's why Ford's procedures require a minimum key count.
The most common time to see B1213 is right after a module or PCM replacement, or an all-keys-lost relearn, where only one key was programmed before the job was finished. The remedy is simply to program a second (or additional) key so the system meets its minimum. It is a configuration/count issue, not a wiring, antenna, or recognition fault — which distinguishes it from B1600, B1601, B1602, and B2103.
Common causes
- Only one key programmed after a PATS/PCM module replacement or all-keys-lost relearn
- A previously programmed key was erased or lost, dropping the count below the minimum
- Programming session ended before the second (or valet) key was added
- Vehicle equipped with a valet key requires three programmed keys and has fewer
- Aftermarket or salvage module installed without a complete key set programmed
Symptoms
- Theft/security light or a stored B1213 code, often after key or module service
- Vehicle usually still starts and drives with the recognized key
- May be found only when scanning for another concern
- No driveability effect
Diagnostic steps
- 1.Confirm how many keys are currently programmed to the vehicle using a scan tool or the module's key-count function.
- 2.Determine the vehicle's required minimum — two for most PATS systems, three if it uses a valet key.
- 3.Verify the car starts with the key(s) you have, confirming B1213 is a count issue rather than a recognition fault.
- 4.If the code followed recent service, check whether the programming session was completed with all keys.
- 5.Program an additional approved key (on-board two-key method if you already have two, otherwise a scan tool with the security-access wait) to meet the minimum.
- 6.Clear B1213 and confirm it does not return once the required number of keys is stored.
Repair cost
$0 – $250
If you already have the minimum keys and simply need the code cleared, cost can be nothing. Adding a key is the usual fix: an approved transponder key cut and programmed runs about $60-$250, or nothing if the vehicle supports the on-board two-key procedure and you have two keys. This is a programming/key cost, not a parts repair.
Estimate your repair
Run the numbers for your vehicle
Open the Repair Cost Estimator with immobilizer key / anti-theft service preselected. Adjust labor rate and vehicle category to fit your situation.
DIY vs shop
This is a beginner-friendly repair. Common hand tools, a free afternoon, and a willingness to follow a procedure are usually enough. The risk of causing a bigger problem is low if you read up on your specific vehicle first.