When a Mazda asks for an incode, the job stops until you have one. The scan tool shows an outcode, the screen waits, and the key, PCM or start stop unit you just fitted stays useless. Our Mazda incode online service turns that outcode into the incode you need: you check the job first, pay once, and a technician finishes it with you over WhatsApp.
This guide explains what Mazda outcodes and incodes are, which jobs need them, where your tool shows the outcode, why an incode gets rejected, and exactly how to order one.
What are the Mazda outcode and incode?
Mazda protects its immobilizer functions with a challenge-and-response login, usually called security access. When you start a protected routine, the vehicle generates a code: the outcode. To continue, you must enter the matching incode, which is calculated from that outcode. The right incode unlocks the function. The wrong one stops the routine with a message such as "the incode entered was not correct".
The system dates from the years when Mazda shared Ford's PATS (Passive Anti-Theft System), which is why older Mazdas and Ford-based models such as the Tribute and B-Series use the same outcode/incode logic as Ford. Later Mazdas moved to Mazda's own immobilizer and Advanced Key (smart key) systems, but the outcode/incode login stayed.
Incode, PIN code and key code: what is the difference?
Incode: the answer to the outcode the vehicle is showing right now. It belongs to that outcode and stops working when the outcode changes.
PIN code: many key programming tools call the same Mazda login a "PIN". If your tool asks for a PIN and shows an outcode, the incode is what it needs.
Key code: the mechanical cut of the key blade. That is a different job. For it, see our key code online service.
Which Mazda jobs need an incode?
Adding a key or smart key when you do not have two working keys.
All keys lost: erasing the old keys and programming new ones.
PCM replacement: a new or used engine ECU has to be matched to the immobilizer before the engine will start.
Replacing an immobilizer-related module: the start stop unit (SSU), keyless control module, instrument cluster or steering lock unit, on models where they are part of the system.
Parameter reset and other security functions, such as enabling or disabling customer spare key programming.
Which Mazda models use outcode and incode?
You will meet an outcode request on most Mazdas from the early 2000s onwards. Typical examples:
PATS-era models: Mazda 2, Mazda 3 (BK), Mazda 6 (GG), Mazda 5, MX-5 (NC), RX-8, CX-7, first-generation CX-9, Tribute and B-Series.
Skyactiv generation: Mazda 2, Mazda 3, Mazda 6, CX-3, CX-5, CX-9 and MX-5 (ND).
Latest models on MDARS: Mazda 3 and CX-30 from 2019, CX-50, CX-70 and CX-90.
This list shows where the request appears, not a promise for every year and market. Coverage for the Mazda incode service is confirmed per vehicle, before you pay.
Where do you find the outcode?
Your diagnostic or key programming tool shows the outcode when you start a protected routine:
Mazda IDS / M-MDS on older models: Toolbox, Body, Security, then PATS Functions.
MDARS on newer models, under the security and immobilizer functions.
FORScan on supported Ford-platform Mazdas, under PATS programming.
Aftermarket key tools such as Autel, Xtool, Lonsdor and OBDSTAR, which display the outcode in their Mazda immobilizer menu when they cannot calculate the incode themselves.
Record everything the screen shows: the outcode and, on PATS models, the part number, serial number and error-control value as well. A clear photo of the screen is the best record.
Why a Mazda incode gets rejected
The outcode changed. On PATS models the outcode changes after five ignition cycles from LOCK to ON. Leave the ignition and the tool session as they are until the incode is entered.
The wrong routine. An incode requested for key programming will not unlock PCM replacement, and the reverse. Ask for the code for the exact function your tool is running.
The session was closed. Leaving the routine or reconnecting the tool often generates a new outcode.
Typing errors. 0 and O, 8 and B, 5 and S are easy to mix up. Send a photo instead of a retyped code.
Low battery voltage. Keep the vehicle on a stable power supply. A voltage drop can end the session halfway through the procedure.
The official route, and why workshops use an online incode service
Mazda dealers get incodes through Mazda's own systems. Independent shops in the US and Canada can buy access through Mazda Service Info, but security-related information also requires registration as a Vehicle Security Professional through NASTF. In most other markets the route goes through a dealer.
For a workshop that meets a Mazda immobilizer job now and then, a subscription and a registration for one car rarely make sense, and waiting for a dealer means the car blocks a ramp. An online incode service fills that gap: you send the outcode and the job details and get the incode back, with no subscription.
How our Mazda incode online service works
The Mazda incode service costs $85 per vehicle and runs in four steps. The first two happen before any money moves.
Check it can be done. Send the vehicle details and the relevant part number. You are told whether the job can be done before you pay, not after.
Pay for the service. Card payment on Stripe's hosted checkout, the same checkout as the rest of the shop. No card details touch our site, and paying issues one order with one order number.
Continue on WhatsApp. The chat opens with your order number already in the message, and a technician takes it from there.
Get your incode. Send the outcode and job details in the chat. The reply comes back to you, and the order stays open until the job is done.
What to send with your outcode
VIN, model and year.
The function you are running: add key, all keys lost, PCM replacement, SSU replacement and so on.
The outcode as a screen photo, plus any part number, serial number or error-control value shown.
The tool you are using.
Proof of ownership or authorisation may be requested before a job is worked, depending on what it is. If your Mazda is not listed, contact us with the vehicle and part details and you will be told whether it can be done before anything is charged.
Related services and guides
All online services: Mazda incodes, key codes and other jobs finished with a technician.
IMMO OFF ECU files: for engine swaps and donor ECUs where the engine should run without the immobilizer.
Immobilizer guides: Mitsubishi IMMO OFF and Isuzu Transtron IMMO OFF.
Legal note
Immobilizers are anti-theft systems. Only work on vehicles you own or are authorised to repair, and keep proof of ownership for every immobilizer job. ECU Safe Zone does not diagnose vehicles: carrying out the work, and confirming it is lawful and appropriate for the vehicle, is the responsibility of the technician doing it. The full terms are in our Terms & Conditions and Refund Policy.
Frequently asked questions
What is a Mazda incode?
It is the security access code that answers the outcode your tool reads from a Mazda. Entering it unlocks protected immobilizer functions such as key programming, PCM replacement and module replacement.
Is there a free Mazda incode calculator?
Some tools calculate the incode themselves for certain models, for example FORScan on supported Ford-platform Mazdas. When your tool cannot calculate it, or its code is rejected, send the outcode to our Mazda incode service.
How long is a Mazda outcode valid?
Until it changes. On PATS models that happens after five ignition cycles, and closing the routine or the tool session can also generate a new outcode. Keep the car and the tool exactly as they are while you wait for the incode.
Do I always need an incode to add a Mazda key?
Not always. On many PATS-era Mazdas, two working keys let you add a spare without a tool if customer spare key programming is enabled. With one key, all keys lost, or most smart key systems, security access with an incode is needed.
Can I get the incode before I pay?
You can check whether the job can be done before you pay. The incode itself is worked out after payment, in the WhatsApp chat linked to your order number.
What if the incode does not work?
Reply in the same chat with your order number. In most cases the outcode changed or a different routine was selected, so send a new photo of the current screen. Refunds follow our Refund Policy.




