Mazda Key Types by Year: 4D63, ID8E and Advanced Keyless Explained
Which key your Mazda takes depends on the year and trim: 4D63 transponder, ID8E transponder or Advanced Keyless proximity. A year-by-year guide with what each costs to replace.

Mazda has used three key technologies across its current used-car market, and your model year and trim decide which one you hold. Early cars use a 4D63 transponder, most cars from about 2009 to 2018 use an ID8E transponder, and newer or higher-trim cars use Mazda Advanced Keyless, the proximity push-button system. As of October 2026, the Mazda make page on this site prices those from $155 for a basic spare up to $425 for an all-keys-lost job on a proximity car.
This guide is a year-by-year map, so you can tell which row your car is in before you ask for a quote. Every price is taken from our Mazda make page, stated as of October 2026.
The map: Mazda key types by year
| Era | Key technology | Typical vehicles | Spare price (mobile) |
|---|---|---|---|
| 2004 to 2009 | 4D63 transponder | early Mazda3, CX-7, CX-9 | $155 – $215 |
| About 2009 to 2018 | ID8E transponder | CX-5, Mazda3 and most of the lineup | $175 – $245 |
| 2014 / 2015 onward | Advanced Keyless proximity (push-button) | Mazda3, CX-5 upper trims, CX-9 | $215 – $295 (working key) |
| 2019 onward, BP platform | Advanced Keyless, hardened rolling-code AES | Mazda3, CX-30, CX-50, MX-5 Grand Touring | $215 – $295 (working key) |
| 2024 onward | Advanced Keyless with display-key fob on some trims | CX-70, CX-90 Premium Plus | $275 – $365 |
| Any proximity car, all keys lost | Advanced Keyless | same vehicles | $295 – $425 |
Eras overlap because trim, not just year, decides the key. Treat the table as a guide, and let the VIN confirm.
Era 1: 4D63 (about 2004 to 2009)
The earliest Mazda transponder. A Texas Instruments 4D chip in the key head, a turn-key ignition and, on most models, a separate remote. It is mature technology with broad tool support, which is why a spare is the cheapest transponder row on the make page.
The usual surprise on these cars is wear. An old blade that no longer reads the chip cleanly on the first attempt sometimes needs a clone rather than a fresh program, which the make page notes across its difficulty matrix.
Era 2: ID8E (about 2009 to 2018)
Mazda moved the lineup to an NXP ID8E transponder around 2009 and kept it for most of a decade. This is the largest group on the road, including most CX-5 and Mazda3 vehicles that people are now replacing keys for. A 2014 Mazda3 ID8E spare is cited at $175 to $245 on the make page.
On most of these cars the key is a plastic-headed blade with a chip, plus a remote built in or on the head. There is nothing exotic: no PIN, no per-VIN gate, and a relearn that is quicker than on a newer car.
If you are unsure whether your key holds a chip, our guide on transponder versus smart key explains how to tell.
Era 3: Advanced Keyless (2014 / 2015 onward)
Mazda's proximity system arrived with the 2014 Mazda3 and expanded to CX-5 upper trims, CX-9 and others. The fob stays in your pocket, you push a button, and the car does the rest. A spare with a working key is $215 to $295; all keys lost is $295 to $425.
This is where trim matters most. A CX-5 can take a transponder key on one trim and an Advanced Keyless fob on another in the same year. You can usually tell from the dashboard: a push-button start means Advanced Keyless.
Era 4: Advanced Keyless on the BP platform (2019 onward)
The newer Mazda3, CX-30, CX-50 and MX-5 Grand Touring use a hardened rolling-code AES scheme. It is still locksmith-friendly with current tools, but an all-keys-lost relearn on a 2019 or newer CX-30 or CX-50 takes about 20 to 25 minutes because of the encrypted handshake. That is longer than on an ID8E car and is part of why the proximity all-keys-lost row is the most expensive.
Era 5: CX-70 and CX-90 display-key fobs
The 2024 and newer CX-70 and CX-90 on the inline-six platform use a refined Advanced Keyless system, with display-key fobs on Premium Plus trims. A spare is $275 to $365 on the make page. The make page also flags these trims as a case where the dealer can be faster while aftermarket tool support catches up.
Which Mazda is which: quick lookups by model
Mazda3. Spans every era: 4D63 on the early cars, ID8E in the 2010s, Advanced Keyless from 2014 on upper trims, and the AES system on the 2019 and newer BP platform.
CX-5. The best-selling Mazda. Second generation from 2017 starts on ID8E and moves to Advanced Keyless on Touring and above.
CX-30 and CX-50. Advanced Keyless AES on Select and above.
CX-9. 4D63 on early cars, Advanced Keyless later; discontinued after the 2023 model year.
MX-5 Miata. Advanced Keyless on the Grand Touring from 2019.
What this means for cost
The era decides the price more than the model does. The cheapest Mazda key is the 4D63 spare at $155 to $215; the most expensive is the proximity all-keys-lost job at $295 to $425. A working key is the main lever. Our service pages publish the all-keys-lost surcharge as $80 to $250, and our explainer on what that surcharge covers breaks down why.
If you have a working key, a spare now is much cheaper than a replacement later. If you have none, start with the VIN, as described in what the VIN changes about your quote.
For other brands, compare Toyota key types by year, Nissan key types by year and Subaru key types by year, and our Honda key types by year guide. For how a Mazda compares on price to the mainstream brands, see Honda key replacement cost and Toyota key replacement cost.
How to tell which key you have without a VIN lookup
You can often place your Mazda from the driver's seat.
- A push-button start means Advanced Keyless. You are in the proximity rows of the table.
- A turn-key with a thick plastic head usually means a transponder: 4D63 on early cars and ID8E on most of the rest.
- A turn-key with a thin bare blade and a separate remote may mean no chip at all. Confirm by VIN before assuming.
- A fob with a small screen or display points to the CX-70 and CX-90 display-key on Premium Plus trims.
The era overlaps are real, so treat these as a first guess. The VIN settles it in one lookup, and our explainer on what the VIN changes about your quote covers why.
Three worked examples
Example 1: a 2012 Mazda3 with a turn-key ignition. This is the ID8E era. A spare is $175 to $245 on the make page, completed on site, with no PIN and no dealer.
Example 2: a 2022 CX-5 with a push-button start. An Advanced Keyless car. A spare with a working key is $215 to $295. If every key is lost it moves to $295 to $425, and the AES handshake adds time to the relearn.
Example 3: a 2024 CX-90 Premium Plus. A display-key fob. A spare is $275 to $365. Because it is a newer platform, the make page flags the dealer as a possible faster route if tool support lags.
Why the era matters more than the model
A customer calling about a Mazda3 might hold any of four key types depending on the year, and so might a customer calling about a CX-5. If a shop quotes from the model name alone, the quote can be wrong by more than $150. Asking for the VIN is how a shop shows it intends to quote the right job.
This is the same logic we apply to other brands in our key-types series. The pattern repeats: the chip family and the ignition type decide the job, and the model name is a rough guide. If you want to see how a different manufacturer's generations map, Hyundai and Kia key types by year uses the same approach.
The spare-key arithmetic
On the make page, an ID8E spare is $175 to $245, an Advanced Keyless spare is $215 to $295, and an Advanced Keyless all-keys-lost job is $295 to $425. A spare made while a key still works is cheaper than the same car after the last key is lost, and the all-keys-lost surcharge on our service pages is $80 to $250.
If your Mazda has a single key, the spare is the best value in this guide.
When the dealer is the better call
The make page names three: an open i-Activsense safety suite recall, a Mazda Premium Care extended warranty that covers the work, and a CX-70 or CX-90 Premium Plus in a firmware lag. Check the NHTSA recall lookup before paying anyone. Otherwise a mobile specialist is lower.
To find who covers your area, browse the state hubs and city pages such as Detroit, Phoenix or Seattle. Contact is through the contact page.
Frequently asked questions
What kind of key does my Mazda use?
It depends on year and trim. Early Mazda3, CX-7 and CX-9 models of roughly 2004 to 2009 use a 4D63 transponder key. From about 2009 through 2018 most of the lineup uses an ID8E transponder. Mazda Advanced Keyless, the proximity push-button system, appeared on the 2014 Mazda3 and spread from there, and 2019 and newer BP-platform cars use a hardened rolling-code version.
Does every Mazda from the same year take the same key?
No. Trim decides it on several models. A CX-5 from the late 2010s can take a transponder key on a base trim and a push-button proximity key on a Touring or higher trim. The VIN settles the question in one lookup, which is why a good quote starts with it.
How much does a Mazda key cost in 2026?
As of October 2026, the Mazda make page on this site lists a 4D63 spare at $155 to $215, an ID8E spare at $175 to $245, an Advanced Keyless spare with a working key at $215 to $295, and an Advanced Keyless all-keys-lost job at $295 to $425. A CX-70 or CX-90 display-key fob spare is $275 to $365.
Does a Mazda need a PIN or the dealer to program a key?
Not on the make page's account. Mazda is described there as locksmith-friendly with no NASTF restriction, no per-VIN PIN and no Component Protection, which is the volume-lock system on some European brands. The tool still needs a current license for the model year.
Why does an all-keys-lost job take longer on a newer CX-30 or CX-50?
The 2019 and newer Advanced Keyless system uses an encrypted handshake, and the relearn runs about 20 to 25 minutes against a shorter one on legacy ID8E cars. That time is a reason the all-keys-lost price is higher on those models.
My Mazda has a key fob and a separate metal key. Which one starts the car?
On a push-button Mazda the fob does. The metal blade inside it is for the door lock if the fob battery is dead. If your Mazda has a turn-key ignition, the transponder key does both jobs and the chip inside the head is what the car reads.
Is the dealer ever the better option for a Mazda key?
Sometimes. The make page names an open i-Activsense safety suite recall, a Mazda extended warranty, and CX-70 or CX-90 Premium Plus trims in a firmware lag as the cases where the dealer can be cheaper or faster.