Skip to content
Julian's Locksmith

Automotive locksmith

2021 Mazda CX-5 Key Replacement

Short answer: The 2021 Mazda CX-5 belongs to the CX-5 KF (second generation) and uses a smart proximity key with push-button start. Its immobilizer chip: NXP Hitag Pro (ID49) early; AES on later fobs. We can usually add spare keys on site; some situations, such as all keys lost on certain trims, need extra steps or a dealer-supplied part. Julian's Locksmith cuts and programs CX-5 keys on site; call (951) 903-3193 with your VIN for a quote.

2021 Mazda CX-5 Key Replacement: replacement car keys and smart fobs

Some vehicles are easy to make keys for. Others need special security access, a PIN code, or work that only a dealer can do. The Mazda CX-5 KF (second generation) has its own requirements, and we'd rather explain them on the phone than surprise you in your driveway. When you call Julian's Locksmith about a 2021 CX-5, we ask for the VIN and which keys you still have, check the programming path for that platform, and give you a straight answer: we can do it on-site in Southern California, we can handle part of it, or the dealer is the right call. When it's a job we take, we bring everything needed to cut and program the key in one trip.

2021 CX-5 key specs

GenerationKF (second generation), 2017–2025
IgnitionPush-button start
Key typesSmart proximity key (push-to-start)
Transponder / chipNXP Hitag Pro (ID49) early; AES on later fobs
Key bladeMZ27 emergency key
Key batteryCR2025 (2017-2019); CR2032 (2021-2025)
Locksmith supportSpares yes; some cases need extra steps

All 2017-2025 CX-5s use a smart fob with push-button start; trims with a power liftgate get a four-button fob, others three. The fob itself changed partway through. Through 2019 it took a CR2025 and used Mazda's Hitag Pro chip, the 2020 manual lists both designs, and from 2021 Mazda calls for a CR2032, matching its newer transmitter family. The two look similar, so we match by part number and FCC ID rather than by eye. Both versions keep a small auxiliary blade inside for the driver's door.

What's specific to the 2021 CX-5

The 2021 Mazda CX-5 is the fifth of 9 model years in the CX-5 KF (second generation) (2017–2025), so it shares its key system with the rest of that run, which makes replacement parts easy to source.

A 2021 Mazda CX-5 is about 5 years old now. Original fob batteries are near the end of their life at this age, so weak range or a "key not detected" message is often a battery before it is a failed fob. Cars this age are often on their second owner, which is when a single remaining key and a request for a spare tend to show up.

Key options for the 2021 Mazda CX-5

  • Smart proximity key (push-to-start). Proximity keys bring a security trade-off worth understanding. Because the fob is always listening, thieves with relay equipment can stretch its signal from inside your house to the car in the driveway. Keeping the fob away from exterior walls, or in a signal-blocking pouch, closes that gap, and some fobs offer a sleep mode described in the owner's manual. If a smart key for your 2021 Mazda CX-5 is lost or stolen, programming a replacement is the moment to delete the missing fob from the car's memory. And be wary of used fobs from online sellers: a lot of them are locked to the vehicle they came from and can't be reprogrammed to yours.

How the Mazda immobilizer works on the CX-5

  • Mazda's 2020 CX-5 manual lists both CR2025 and CR2032 fobs, so check the battery stamped inside yours before ordering a replacement.
  • The power-saving mode, four quick lock presses followed by a long hold, can switch off keyless entry and push-button start on these fobs.
  • Cars with a power liftgate need the four-button fob that carries the liftgate button.

Programming a 2021 CX-5 key

Earlier KF fobs program like the first generation, over OBD-II, and dealer software updates can make some cars reject certain aftermarket programmers. Later cars generally need a PIN or online authorization before Mazda's system accepts a new fob, and some aftermarket platforms still trail the dealer on all-keys-lost. We confirm which applies from your VIN, cut the emergency insert by decoding the door lock, and test passive entry at each door before we finish.

2017-2019 cars are the easiest, though dealer updates can block some tools. Later CX-5s may need a PIN, and some all-keys-lost cases still require a dealer step.

Lost every key to your CX-5?

Losing every key to a Mazda is fixable, but the route depends on the year. On transponder-key cars, we decode the driver's door lock to cut a working blade, erase the old keys from the immobilizer, and program at least two new keys in the same session so a lost key can't start the car. Push-button Mazdas need a new fob plus its emergency blade, and because Mazda tightly controls the cutting code for that blade, decoding the lock is usually faster than waiting on a code. For 2020-and-later fobs, and for the CX-70 and CX-90, Mazda's own procedure for a car with no working transmitter runs through dealer software. Some aftermarket equipment covers certain Mazda3 and CX-30 years with a PIN, but coverage varies, and we will tell you up front if yours is one that has to go to the dealer. Expect to show ID and proof of ownership first.

  1. Gather your documents and the VIN. Find your registration or title and a government photo ID in the same name. Note the VIN, which is printed on the driver's side of the dashboard and usually on your insurance card. If the paperwork is locked in the car, tell us; we'll open the vehicle first and check it there.
  2. Get into the vehicle without damage. Entry comes before key-making because we need access to the ignition, the OBD-II port and sometimes the documents in the glove box. We take care with weather stripping, door frames and paint, and we confirm the dash VIN matches your registration before going any further.
  3. Originate a new key from the car. Originating a key means building it without a sample. The door lock usually reveals most of the cuts; any it doesn't are worked out by test-cutting and trying the ignition or a second lock. The finished blade should feel like a factory key, not a forced fit.
  4. Program the key to the immobilizer. Next, the new key is introduced to the car's security system. Many vehicles allow this through the OBD-II port with a PIN or security procedure. Some all-keys-lost cases require reading a module on the bench, and a few platforms only allow dealer programming, which we'll tell you up front.
  5. Erase missing keys and add a spare. Once the car starts, we remove the lost keys from memory wherever the system allows, so they can't start the engine if someone finds them. Making a second key during the same visit costs much less than a repeat all-keys-lost call down the road.

Why a spare key pays for itself

  • A spare stored safely at home rescues you from a locked car with the fob sitting on the seat, a key dropped somewhere along a hiking trail, or a fob that stops responding on a busy morning. Keep it indoors, never in a magnetic box under the bumper.
  • Some vehicles make it hard to add a key once you're down to one. Certain immobilizer systems let an owner program an extra key on-board only when two working keys are present, so a second key preserves the easy options for later and avoids a full reset.
  • Electronics fail without warning. A fob dropped on concrete, run through the washing machine or soaked at the pool can quit for good. With a second programmed key, that's an annoyance you fix on your own schedule, not a stranded car that needs attention today.

Dealer or mobile locksmith?

Price and parts are the other half of the comparison. Dealers typically sell factory keys only and charge their posted service rates for programming. We offer factory keys where it matters and quality aftermarket alternatives where they perform well, and the quote covers cutting, programming and the trip, with nothing tacked on at the end. Timing differs too. Dealer service departments generally keep business hours, while we take automotive calls every day from 6:30 a.m. to 11:30 p.m., which covers early commutes and late evenings. We're closed overnight, and we'll be upfront if your timing means the dealer or a next-day visit is the better plan. Neither option is wrong; the right one depends on your CX-5 and your schedule.

CX-5 key battery

Battery details for the 2021 CX-5: CR2025 (2017-2019); CR2032 (2021-2025). Swap cells one at a time and match each one exactly; if a key still fails with a fresh battery, the board, buttons or programming may be the problem, which we can test on site.

How the job works

  1. Identify the exact key your CX-5 uses. Every job starts with the VIN, the trim and a look at any key you still have. From those we confirm the keyway, the transponder or smart-key chip, the remote frequency, the FCC ID and the button layout. Two Mazda CX-5 keys that look identical can carry different electronics, so this step keeps the wrong part from ever reaching the car.
  2. Verify ownership before any work. California holds licensed locksmiths responsible for knowing whose car they're making keys for. We record your name, the VIN and the plate on a work order. If you aren't the registered owner, you'll need the owner's written authorization along with your own photo ID before we begin.
  3. Get the key code or decode the lock. If you still have a working key, we can read its cuts directly and check them against the factory depths for the Mazda keyway. A worn key gets corrected back to spec during this step, so the new key turns crisply instead of reproducing years of wear in a fresh piece of metal.
  4. Cut the blade on-site. Our van carries a code-cutting machine that handles both traditional edge-cut blades and the laser-cut, side-milled profiles common on newer keys. The blade is cut to the code, then test-fitted in a door lock and the ignition or emergency keyhole to confirm smooth operation before any programming begins.
  5. Program the chip, remote or smart key. Programming tells the car's computers that the new key belongs to the vehicle. Transponder chips are added to the immobilizer, remote buttons to the body control module, and proximity fobs to the keyless system. If a step requires dealer-only access on your CX-5, you'll have heard that before we arrived, not halfway through the job.
  6. Test everything and clear out old keys. Before we leave, every function gets checked: doors, trunk or liftgate, panic button, remote range, engine start, and the emergency blade in the driver's door. If keys are missing, we delete them from the car's memory where the system allows, so a lost key can no longer start the engine.

What affects the price of a CX-5 key

  • Factory or aftermarket parts. Factory keys and fobs carry the manufacturer's part number and usually the highest parts cost. Quality aftermarket keys use compatible electronics at a lower price and work well on many vehicles. We tell you which options we trust for your car, and where an aftermarket version has known range or fit issues, we steer you to OEM.
  • Programming complexity and security access. Two cars with similar-looking keys can program very differently. Newer platforms often guard key programming behind encrypted access or paid credentials, while older systems allow straightforward OBD-II pairing. We check the exact procedure for your VIN before quoting, so the number reflects the real work involved.
  • Blade style and cutting. Traditional edge-cut blades are quick to cut. High-security laser-cut blades, with a groove milled into the side, need a specialized machine and more care, and the blanks themselves cost more. If we have to decode a lock to find the cuts, that adds labor as well.
  • Travel, timing and extra repairs. Because we come to you, the distance from our San Bernardino base and the time of the call play a part. So does anything we find along the way, such as a worn ignition cylinder or a seized door lock. You hear about each item and get a quote before we start work.

Call (951) 903-3193 with your VIN and the keys you still have, and we'll quote the job before any work starts.

Common Mazda key problems

  • Retractable flip keys from roughly 2004 to 2015 wear out at the pivot: the blade wobbles, won't lock open, or folds under pressure. The circuit board is usually fine, so a new shell and freshly cut blade often solve it.
  • On 2000-2002 626 and MPV models, an unrecognized key can start the engine for a few seconds before the immobilizer shuts it off. Repeated attempts can store an immobilizer code, and the system then needs a reset.
  • Some 2001-2002 Miatas crank without starting because of an immobilizer or PCM fault covered by recall 3505H. Mazda stopped completing that recall in July 2020 when parts ran out, so repairs now take sourcing.
  • Many newer Mazdas hide the driver's lock under a handle cap, and if both small auxiliary keys are lost, Mazda calls for code cutting on its approved key machines. Decoding the lock is often the quickest fix.

Tips from a mobile locksmith

  • Never hide a spare key or fob on the outside of the car. Magnetic boxes in wheel wells and under bumpers are the first places a thief checks, and with a proximity fob, a hidden key can let anyone open the doors and drive away. Keep the spare at home or with someone you trust.
  • Photograph the back of your fob and any key tag that came with the car. The FCC ID, part number and key code printed there make ordering a replacement faster and more accurate. Store the photos somewhere you can reach from any device, not only on the phone that might go missing along with the keys.
  • When a key's head cracks or its blade bends, replace it before it fails. A transponder chip can slip out of a split head, and a bent blade can break off inside the ignition or door lock, turning a simple key replacement into an extraction and repair job. Small symptoms are the inexpensive time to act.

Proof of ownership

Before we cut or program a key for any vehicle, we verify that you have the right to it. Please have two things ready: the current registration or the title, and a government-issued photo ID with a matching name. We also check that the VIN on those documents matches the VIN plate on the dashboard. If the registration is locked inside the car, that's fine; we open the vehicle first, check the paperwork in the glove box, and only then make the key. If something doesn't line up, we stop and sort it out before any key is made.

Need a 2021 Mazda CX-5 key?

The quickest route to a working key for a 2021 Mazda CX-5 starts with a short phone call. Dial (951) 903-3193, share the VIN and where the car is parked in Southern California, and we'll tell you whether it's an on-site job, a dealer job, or a mix of both. No pressure and no surprise charges, just a straight plan.

Frequently asked questions

Can a locksmith make a key for a 2021 Mazda CX-5?

We can usually add spare keys on site; some situations, such as all keys lost on certain trims, need extra steps or a dealer-supplied part. 2017-2019 cars are the easiest, though dealer updates can block some tools. Later CX-5s may need a PIN, and some all-keys-lost cases still require a dealer step. The 2021 CX-5 uses a smart proximity key with push-button start.

How much does a replacement key for a 2021 Mazda CX-5 cost?

It depends on the key type, whether you choose a factory or aftermarket part, whether any working key is left, and how the Mazda security system handles programming. A spare for a car with a working key costs less than an all-keys-lost job that needs lock decoding or module work. Call with the VIN and we'll give you a specific quote before we drive out, and nothing changes once we arrive unless you approve additional work.

Can you fix a broken Mazda key instead of replacing it?

Often, yes. If the shell is cracked, the buttons are worn or the blade snapped, but the circuit board and chip are healthy, we can transfer the electronics into a new housing and cut a fresh blade to your key code. Your existing programming stays intact. If the board has been damaged by water or impact, a repair won't last, and we'll recommend a new programmed key instead.

What happens to the key I lost? Can it still start my Mazda?

When we program new keys, we can usually erase lost keys from the immobilizer, which stops them from starting the engine. On some systems the car only remembers the keys present during programming, so the lost one drops off automatically. Keep in mind that a lost key's metal blade can still open the doors, so if it went missing with something that shows your address, ask about rekeying the door locks.

What do I need to show before you make a key for my CX-5?

A current registration or title and a government-issued photo ID in the same name. We match the VIN on the paperwork with the one on the dashboard before any cutting or programming. If you're not the registered owner, bring the owner's written authorization and a copy of their ID. If the documents are locked in the car, we'll open it first and check them there.

Can you make a key for my CX-5 if I've lost every key?

In most cases, yes. We verify ownership, open the car without damage if needed, originate a key from the key code or by decoding a door lock, and program it to the immobilizer on-site. A few platforms restrict all-keys-lost programming to the dealer, and some need a module read on the bench before a new key is accepted. We'll tell you which applies to your 2021 Mazda CX-5 when you call.

Is the 2021 Mazda CX-5 push-to-start?

Yes. The 2021 CX-5 uses push-button start with a smart proximity key, so a replacement has to be a programmed smart fob, not just a cut blade. The fob also hides a mechanical emergency blade for the doors.

What battery does a 2021 Mazda CX-5 key use?

Battery details for the 2021 CX-5: CR2025 (2017-2019); CR2032 (2021-2025). Swap cells one at a time and match each one exactly; if a key still fails with a fresh battery, the board, buttons or programming may be the problem, which we can test on site.

Other CX-5 years

Call now(951) 903-3193

Daily 6:30am–11:30pm