How to Program a Smart Key for an MG ZS with LAUNCH X431

Learn to program an MG ZS smart key using LAUNCH X431. Step-by-step guide covers PIN retrieval, preparation, and troubleshooting for 2017-present models.

Published: June 22, 2026

Quick Answer: To program a smart key for an MG ZS using a LAUNCH X431, connect the diagnostic tool to the OBD-II port, navigate to the Immobilizer or BCM menu, select “Add Key” or “All Keys Lost,” enter the vehicle-specific 4-digit security PIN, and follow on-screen prompts. The entire process takes about 15–30 minutes, but you’ll need an active LAUNCH subscription and a stable power supply to avoid ECU damage.


Understanding Your Equipment and Vehicle

Before diving into the procedure, it pays to know exactly what hardware and software you’re working with. Using the wrong tool or selecting the incorrect model year can lead to failed programming—or worse, a locked immobilizer.

Compatible LAUNCH X431 Models

Most modern LAUNCH X431 tablets can handle MG key programming, but not all models offer the same level of support. The X431 Pro, X431 V, X431 PAD VII, and X431 HD III are all capable when equipped with the right software. If you’re using an older unit like the X431 IV or a generic clone, you may find the immobilizer function missing or incomplete.

Check your subscription first. The key programming feature often requires an active “SmartLink” or “DBScar” subscription with credits for online PIN retrieval. Without those credits, you can still run diagnostics, but the security code step will block you.

Supported MG ZS Model Years

The MG ZS has two distinct generations that matter for key programming:

  • Pre-facelift (2017–2020): These models use a simpler immobilizer system. The security PIN is usually stored in the BCM or ECU and can be retrieved via the X431’s online decoder.
  • Facelift (2020–present): The later models have updated BCM firmware. The PIN retrieval method remains similar, but the “All Keys Lost” procedure takes slightly longer because the system verifies more security layers.

Always confirm the exact year via the VIN before starting. Selecting the wrong year in the X431 menu can cause “Function Not Supported” errors.

Identifying Your Key Type

Not all MG ZS keys are the same. You’ll find two common types:

  • Proximity Smart Key: This is the keyless entry/start fob. You can lock/unlock by touching the door handle, and the engine starts with a button. Programming this key requires the BCM to learn the key’s ID and the immobilizer chip.
  • Standard Remote Key: A traditional flip key with remote lock/unlock buttons. The procedure is similar, but you typically place the key in the ignition slot (if equipped) rather than in the cup holder.

If you’re unsure which type you have, check the owner’s manual or look for “START” printed near the steering column. A smart key system will have a start button, while a base model may use a keyed ignition.

Required Support

A valid LAUNCH subscription is non-negotiable. The X431 must communicate with LAUNCH’s servers to decrypt the PIN. Without an active account with credits, you’ll see a message like “Online authorization required.” Most users choose the SmartLink subscription because it covers multiple brands, including MG. The VCX SE pass-through device can also work, but it requires a stable internet connection on the tablet.


Pre-Programming Preparation

Rushing into key programming without proper preparation is the number one cause of failure. Take ten minutes to gather everything you need and set up correctly.

Gathering the Necessary Items

Here’s what you should have on hand:

  • LAUNCH X431 tablet (fully charged or plugged in)
  • VCI (Vehicle Communication Interface) pod and OBD-II cable
  • New smart key (aftermarket or OEM)
  • Battery charger or power supply (12V, minimum 10A)
  • Smartphone or laptop for online PIN retrieval (if needed)
  • Pen and paper to write down the PIN

Double-check that your VCI is paired with the tablet. If you haven’t connected it recently, go to Settings > Bluetooth > Pair New Device to avoid “Communication Failed” errors later.

Retrieving the MG Security PIN Code

This is the trickiest part. The MG ZS immobilizer requires a 4-digit security code to authorize key programming. You have three ways to get it:

  1. Using the X431 online decoder service. This is the fastest method. Inside the Immobilizer menu, select “Get PIN Code.” The tool will read the VIN and send it to LAUNCH’s server. A few seconds later, the PIN appears—provided you have credits. Each PIN retrieval costs roughly one credit (around $5–$10 depending on your subscription plan).

  2. Checking the vehicle’s old ECU or BCM data. If you’re replacing a faulty ECU but still have the original, you can sometimes read the PIN directly via the X431’s “Read EEPROM” function. This requires deeper knowledge and is not recommended for beginners because a wrong read can corrupt data.

  3. Contacting a dealer or using third-party PIN services. Dealerships can provide the PIN if you prove ownership (VIN and registration). Alternatively, services like Autel Key Coding or CarDAQ offer PIN decoding per VIN for a fee.

Critical warning: Entering the wrong PIN three times locks the immobilizer for about 60 minutes. During that time, the vehicle won’t start, and you cannot attempt programming. Write the PIN down and double-check each digit before pressing “Confirm.”

Ensuring a Stable Power Supply

A dying battery during programming is a disaster. If voltage drops below 12.5V during the write process, the BCM or ECU can become corrupted, requiring a full replacement. Connect a battery maintainer or a dedicated power supply (12V, 10A minimum) to the battery terminals. Do not rely on the car’s own battery alone—especially if the vehicle has been sitting for weeks.

Backing Up Existing Configuration

Before you change anything, use the X431’s Backup function. Navigate to System Settings > Backup/Restore and save the current BCM and ECU data to the tablet’s internal storage or an SD card. If something goes wrong, you can restore the original configuration and start over. This step takes less than two minutes and can save you hours of headache.


Step-by-Step Programming Procedure

Follow these steps in order. Do not skip ahead or disconnect the tool prematurely. The process assumes you have a valid PIN and at least one working key (for “Add Key” mode). If you’re doing “All Keys Lost,” the procedure is identical except you’ll need extra patience—the BCM takes longer to clear old keys.

1. Connecting and Booting the LAUNCH X431

  • Connect the VCI to the vehicle’s OBD-II port, located under the dashboard on the driver’s side. The port is typically uncovered and easy to reach.
  • Plug the other end of the VCI cable into the X431 tablet’s USB or Bluetooth adapter (depending on your model). If using Bluetooth, ensure pairing is complete before starting the app.
  • Power on the X431 tablet. Launch the LAUNCH X431 Pro (or your equivalent diagnostic app).
  • Select “Diagnostics” from the home screen. The tool will automatically perform an Auto VIN scan. Wait until it displays the vehicle information (MG ZS, year, engine type). If the VIN is not read automatically, select MG from the brand list and manually choose the model.

2. Entering the Immobilizer System

  • In the main diagnostic menu, scroll down to find Immobilizer (sometimes labeled BCM or Body Control Module). Tap it.
  • The system will read the immobilizer status. You’ll see a warning: “Risk of Data Loss. Proceed?” Click Yes.
  • Let the X431 connect to the immobilizer. This may take 10–20 seconds. A successful connection shows the immobilizer part number and software version.

3. Accessing the Key Programming Function

  • Within the Immobilizer menu, look for Key Programming, Add Key, or All Keys Lost. The exact wording varies slightly by X431 software version.
  • Choose the correct option:
    • Add New Key: Use this if you have at least one working smart key and want to add a new one. The existing keys stay programmed.
    • All Keys Lost: Use this if you have no working keys (or you want to delete all old keys and start fresh). This option usually requires the PIN and takes a bit longer because the BCM erases all learned key IDs.

4. Entering the Security PIN Code

  • The X431 will prompt you to enter the security code. A numeric keypad appears on the screen.
  • Type the 4-digit PIN exactly as retrieved earlier. Use the physical keyboard or on-screen buttons.
  • Tap Confirm. The tool sends the PIN to the immobilizer for verification.
  • If the PIN is correct, the screen shows “Authentication Successful.” If incorrect, you’ll see “Incorrect PIN” and can retry (remember, three strikes lock you out).

5. Programming the New Smart Key

  • Place the new smart key in the vehicle’s designated programming slot. On MG ZS models, this is typically the cup holder or a specific area near the start button. Some models require holding the key directly against the start button.
  • The X431 will display a message like “Place key in programming position and press OK.”
  • Tap OK on the tablet. The tool starts communicating with the key fob. You’ll see a progress bar.
  • Do not touch the key or the tablet during the write process. Interrupting it can corrupt the key.
  • When the bar reaches 100%, the screen says “Programming Successful.”

6. Verifying and Exiting

  • Turn off the ignition (or press the start button without your foot on the brake) and wait 10 seconds.
  • Test the new key: Walk up to the car and grab the door handle (proximity unlock should work). Press the lock button. If equipped, test remote start by pressing the lock button three times quickly.
  • Test all original keys to ensure they still work. In “Add Key” mode, they should. In “All Keys Lost” mode, you’ll need to reprogram every key you want to keep.
  • Clear any diagnostic trouble codes (DTCs) that may have appeared during the process. Go to Diagnostics > Read DTCs and erase them.
  • Disconnect the X431 and close the app. Remove the VCI from the OBD-II port.

Troubleshooting Common Errors

Even with careful preparation, things can go sideways. Here are the most common issues and how to resolve them.

Error: “Communication Failed”

Possible causes: Loose VCI connection, incompatible cable, or interference from other electronics.
Fix: First, unplug and reconnect the VCI. If the error persists, try a different OBD-II protocol. Inside the X431 settings, go to Communication > Protocol > Manual and select CAN Bus (most MG ZS models use CAN). If you’re using Bluetooth, switch to a USB cable for a more stable link.

Error: “Incorrect PIN”

Possible causes: Typo, wrong PIN for the specific model year, or expired PIN decoder credits.
Fix: Recheck the PIN source. If you used the online decoder, verify that the VIN was correctly read. Sometimes the X431 misreads a digit. Try entering the PIN manually using the VIN from the registration document. Also confirm that you’re not mixing up pre- and post-facelift PIN formats (some later models use 5-digit codes). If all else fails, purchase a fresh PIN decode from a third-party service.

Key Not Detected in Slot

Possible causes: Dead key battery, wrong placement, or interference from a metal object.
Fix: Replace the key fob battery with a fresh CR2032. Place the key directly against the start button (not in the cup holder) and hold it there while pressing OK on the X431. Some MG ZS models have a small symbol on the steering column showing the correct placement.

X431 Stuck on “Programming” Screen

Possible causes: Low battery voltage, software glitch, or a corrupt BCM communication session.
Fix: Do not disconnect the X431—that can corrupt the ECU. First, check the voltage on the X431’s dashboard (should be above 12.5V). If low, connect the battery charger. Wait 60 seconds; if the screen remains frozen, force-close the app (double-tap home button, swipe up), restart the tablet, and begin the process again from step 1. This usually clears a stuck session.

All Keys Stopped Working After Programming

Possible causes: You accidentally selected “All Keys Lost” instead of “Add Key.”
Fix: Return to the Immobilizer menu and select All Keys Lost again, then program all keys (old and new) one by one. The BCM erased the old keys when you ran the first procedure. There’s no way to recover them otherwise—you must re-add every key.


Advanced Context: When to Use Each Method

Understanding when to use “Add Key” versus “All Keys Lost” can save you time and prevent accidental erasure.

Dealer-Level Access vs. X431 Limitations

The LAUNCH X431 is powerful, but it’s not a dealer-level tool. For example, some MG ZS models with very recent firmware may require online authorization direct from the manufacturer (MG’s own server). In those rare cases, the X431 will display “Function Not Supported – Please Contact Dealer.” This typically happens on 2023+ models with updated cybersecurity protocols. If you encounter this, you’ll need to visit a dealer or use a remote programming service where a technician logs in to MG’s system on your behalf.

ECU Replacement Scenario

If you’re replacing the ECU (or BCM) entirely, the key programming procedure changes. You must first program the new ECU to the vehicle using the X431’s ECU Replacement function (found under Special Functions). This involves reading the old ECU’s data, writing it to the new unit, and then running the key programming steps above. The PIN retrieval remains the same because the PIN is derived from the VIN, not the ECU.

Security Considerations

Cloning keys (copying a key’s ID without adding a new, unique key) is illegal in many jurisdictions because it bypasses the immobilizer’s security. Always program a fresh key using the proper “Add Key” procedure. The X431 does not offer a cloning function for MG vehicles—that’s intentional. If you’re programming a used key, first wipe it using the X431’s Erase Key function (if available) to remove the previous vehicle’s data. Aftermarket keys must be compatible with the vehicle’s frequency (433 MHz or 315 MHz) and transponder chip type (typically 4D60 or Hitachi). Check the key specifications before purchasing.


Frequently Asked Questions

Do I need the original MG ZS key to program a new one?

No. The LAUNCH X431 supports “All Keys Lost” mode, which works without any existing working key. However, you will still need the vehicle’s security PIN, and the procedure takes slightly longer because the BCM clears all old key IDs first.

How do I get the MG ZS security PIN without a dealer?

You can use the X431’s online PIN retrieval service (requires SmartLink subscription credits) or third-party services like Autel Key Coding


Related Posts