📍 Serving Worthing & West Sussex — 24/7 Mobile Auto Locksmith

Home › Blog › Explained

Explained

How Car Key Programming Works Through the OBD Port

📅 25 September 2026 ⏱ 8 min read ✍ Worthing Auto Locksmith
how does car key programming work, diagnostic equipment and car keys

Car key programming writes a key into the immobiliser record of a vehicle so the car recognises it, through the OBD port under the dashboard. The blade opens the doors. The programming is what lets the engine start.

This guide covers what the port is, what actually travels over it during a key job, why some cars demand a security code first, and how long each version of the job takes at the vehicle.

How does car key programming work?

The first thing worth correcting is the direction of the operation. The car is programmed, not the key. A transponder key leaves the factory with a fixed identity built into it, and that identity never changes. What changes is the list of identities the vehicle is prepared to accept.

Three things take part. The transponder in the head of the key, which holds that identity. The immobiliser record inside the car, which holds the list. And the equipment that connects to the vehicle and adds one to the other. Car key programming is that third part, carried out at the vehicle rather than at a dealer.

One distinction is worth making early, because the two words are used as though they mean the same thing. Cloning copies an existing key so the car sees the same identity twice and never knows the difference. Programming adds a new identity to the record held by the car. Cloning suits some older vehicles. Programming is what modern cars require, and it is the only one of the two that can also remove a key.

What is the OBD port and what is it for?

The OBD port is a standard sixteen-pin socket fitted to every car sold in the UK since the early 2000s. On most vehicles it sits within reach of the driving seat, under the steering column, behind a flap in the footwell, or beside the bonnet release.

It was not put there for keys. It exists so that a technician can talk to the control modules in the car for diagnosis and emissions testing, which is why it is standardised across every make. Key programming borrows a road that was built for something else, and that single fact explains most of what follows on this page.

During a key job three things travel over it. A request to the module that holds the key records, an authorisation step that proves the request is allowed, and the write itself. The port is the doorway. The record being changed sits deeper inside the car.

What happens during an OBD key programming job?

Four stages take a key from a blank to a key that starts the car, and all four happen at the vehicle.

1
Identify the vehicle and its system
The registration and the year settle which immobiliser system the car uses and which route the job takes. This comes first because it decides whether the work can be done at the kerb at all.
2
Connect and read what the car already holds
The equipment reads the existing record, including how many keys the vehicle currently accepts. That number is often a surprise on a used car, and it is the reason this stage comes before anything is written.
3
Authorise the write
The vehicle is asked for permission to change its own record. On many cars this is where a security code is required, and where a job either proceeds or changes shape.
4
Write the key and test every key
The new identity is added, then every key is tested on the doors and the ignition. Not only the new one. A job that adds one key and quietly breaks another is not a finished job.

The writing stage is what people mean when they talk about transponder key programming. Everything either side of it is what makes that stage possible and what proves it worked.

Why do some cars need a PIN or security code?

A security code is a number held against the vehicle that the immobiliser demands before it accepts a new key. It exists for one reason. Plugging into the port is not, on its own, enough to add a key to a car belonging to somebody else.

Manufacturers introduced it as the port became universal, and it is the main thing standing between a standardised socket and an obvious weakness. Seen that way it is a security feature rather than an obstacle.

In legitimate work the code is held against the vehicle record and released through the proper channel to the person entitled to it. That is precisely why documents are checked before any equipment comes out of the van, and why proof of ownership is the first conversation rather than the last.

For the customer the practical effect is simple. A car that needs a code is a longer job, and occasionally a different route entirely.

What is the difference between adding a key and deleting one?

Adding puts a new identity onto the list the car accepts. Every key that worked before still works afterwards, and nothing already on the record is touched. This is the ordinary spare key job.

Deleting removes identities from that list. Any key holding one stops starting the car from that moment. This is what is done when a key has gone missing, after a theft attempt, or on a used car that turns out to recognise more keys than it was sold with. An immobiliser reset is that operation.

Here is the part worth remembering. They are separate operations and one does not imply the other. A replacement key cut after a loss leaves the missing key working until it is deleted. The new key solves the inconvenience. Only the deletion solves the risk.

How long does car key programming take?

Car key programming takes 15 to 30 minutes on an ordinary spare with a working key present. An all keys lost job takes 60 to 120 minutes, because the record is read and rebuilt rather than added to.

The table below sets the five usual jobs against the time each one takes at the vehicle and the thing that decides it.

JobTime at the vehicleWhat decides it
Spare key, one key working15 to 30 minutesWhether the system allows a straight add
Replacement remote or fob20 to 40 minutesWhether the remote and the chip code separately
All keys lost60 to 120 minutesReading the record with nothing to copy
Vehicle requiring a security codeAdd 20 to 45 minutesHow the code is released for that make
Deleting keys from the record20 to 40 minutesHow many identities the car currently holds

Three things add time, in this order. The code step adds the most. The number of keys already on the record adds a few minutes each. An older vehicle with a slower module adds a little more again. A spare car key cut while the original still works is the shortest version of this job by a wide margin, which is the whole argument for doing it before it is needed.

Can you program a car key yourself with an OBD2 scanner?

Yes, on some vehicles. Where a working key is already present and the model supports an on-board procedure, a consumer tool can add a second key, and it is a reasonable thing to try on that particular case.

What the consumer route does not cover is worth knowing before spending anything.

  • All keys lost, on the large majority of vehicles
  • Any car that demands a security code before it accepts a write
  • Makes where the manufacturer has closed the port route for key work
  • Cutting the blade, which no software does and which the car still needs

There is one real risk and it is worth stating once. A write to the module that holds the key records is not always reversible if it fails part way, and a car that will not accept any key is a larger problem than the one the tool was bought to solve.

So the honest answer splits in two. On a supported car with a working key in hand, the do-it-yourself route is genuine. On the other cases it is not a saving, because the job still ends with somebody at the vehicle with the right equipment.

Why can some keys not be programmed through the port?

On a number of vehicles the manufacturer has closed the port route for key work altogether. Nothing plugged into the socket adds a key on those cars, whatever the equipment costs.

Three ordinary reasons account for most of it. The make has moved key work behind a manufacturer account. The vehicle is recent enough that the route is restricted by design. Or every key is lost on a system that requires one to be present before it will change its own record.

When that happens the work moves off the port and onto the module itself, or to the manufacturer route. Both take longer and both cost more, and lost car keys is where that difference is felt most.

Which route a vehicle needs is established from the registration on the call, before anyone sets out. A limit known in advance is a quote. The same limit discovered at the kerb is a wasted afternoon.

What to have ready for a key programming visit

Four things make the difference between a visit that finishes and a visit that has to come back.

1
The registration and the year
Both settle the system, the route and the equipment before the van leaves. This is the single most useful thing to have ready.
2
Proof of ownership and photo identification
The V5C and a photo licence or passport in the same name. On a car needing a security code this is what unlocks the rest of the job.
3
Every key currently in existence
Including the ones that no longer work. Bringing them all is what lets the record be checked and cleaned rather than merely added to.
4
Somewhere the vehicle can be worked at
A driveway, a roadside space or a yard. The car does not move, so the space around it is the only requirement.

With those four in hand a key is cut, written and tested at the vehicle in one visit, at whatever hour suits, because 24 hour emergency auto locksmith cover runs every day of the year.

Frequently asked questions

How does a car key get programmed?

A car key is programmed by writing its identity into the immobiliser record through the OBD port, so the car recognises it, while the key itself is unchanged because its transponder carries a fixed identity from the factory.

Can you use an OBD2 scanner to program a key?

An OBD2 tool programs a key on some vehicles where a working key is already present and the model supports an on-board procedure. It does not cover all keys lost on most cars, any vehicle demanding a security code, or cutting the blade.

Why do some cars need a PIN or security code?

A security code stops the OBD port alone being enough to add a key to a vehicle. It is held against the vehicle record and released to the person entitled to it, which is why proof of ownership is checked before any work begins.

How long does car key programming take?

Car key programming takes 15 to 30 minutes on a spare with a working key present, and 60 to 120 minutes when every key is lost. A vehicle needing a security code adds 20 to 45 minutes to either figure.

🔑
Worthing Auto Locksmith

Mobile auto locksmith covering Worthing and West Sussex for car key replacement, programming, lockouts and related vehicle key services, every day of the year.

Need a Key Written to Your Car?

Give the registration and the year, and the key is cut, written to the immobiliser and tested at your vehicle in one visit. Worthing and West Sussex, every day of the year.

Scroll to Top