How to Add a Spare Key for Mercedes-Benz A-Class W177 Using LAUNCH X431

Learn how to program a spare key for your Mercedes-Benz A-Class W177 using a LAUNCH X431 diagnostic scanner. Step-by-step guide, prerequisites, troubleshooting, and FAQs to save money on dealership costs.

How to Add a Spare Key for Mercedes-Benz A-Class W177 Using LAUNCH X431

Published / Last Updated: May 28, 2026

Losing or needing an extra key for your Mercedes-Benz A-Class W177 doesn’t have to mean a trip to the dealership and a bill for several hundred dollars. With the right equipment and a methodical approach, you can program a spare key yourself using a LAUNCH X431 diagnostic scanner. This guide walks you through the entire process, from prerequisites to testing, so you can save money and get back on the road with confidence.


Quick Answer: Can You Add a Spare Key with a LAUNCH X431?

Yes, but there’s an important catch. The LAUNCH X431 can add a third or fourth key directly to the W177’s ECU only if you already have at least one working master key. The process involves connecting the scanner to the vehicle, navigating to the Mercedes-Benz key programming menu, and following the on-screen prompts to “Add Key.” If you have zero working keys, this tool cannot help — you’ll need dealer-level access and a security PIN code (SCN coding). For adding spares, the success rate is high (90%+), making it a practical solution for DIY owners and independent workshops.


Prerequisites: What You Need Before Starting

Before you jump into the programming, gather these essentials:

  1. A LAUNCH X431 device – Ensure it has the latest software update installed and an active Mercedes-Benz software license. Without the license, the key programming menu won’t appear.
  2. A blank Mercedes-Benz key – Must be a genuine Mercedes part or a high-quality aftermarket blank compatible with the W177 (Keyless Go or standard flip key). Cheap knockoffs often fail.
  3. A stable internet connection – The X431 communicates with LAUNCH servers for authentication during the procedure.
  4. A battery maintainer (12V trickle charger or 10-amp charger) – Voltage drops during programming can brick the ECU. This is non-negotiable.
  5. The original working master key – You need it to authorize the addition.

Important: If you’ve lost all keys, stop here. The LAUNCH X431 cannot generate a new master key for the W177. That requires Mercedes STAR Diagnosis or SCN coding with a security PIN from the manufacturer.


Step-by-Step: How to Add a Spare Key with LAUNCH X431

Follow these steps in order. Do not skip any step, especially the ECU backup.

Step 1: Preparation and Connection

  • Connect the battery charger to the vehicle’s battery. A trickle charger is fine, but a 10-amp charger is better for maintaining voltage above 12.5V.
  • Insert your original working key and turn the ignition to Position 2 (dashboard lights on, engine off).
  • Plug the LAUNCH X431 OBD-II connector into the port under the dashboard (driver’s side, near the hood release).
  • Power up the X431 tablet and wait for it to initialize.

Step 2: Entering the Mercedes-Benz System

  • Tap the “Diagnosis” icon on the main screen.
  • Let the tool auto-detect your vehicle – it will identify the W177 A-Class automatically.
  • The system will likely select “Central Gateway” or “Electronic Ignition Lock (EIS)” . Wait for the vehicle data to load completely.

Step 3: Accessing the Key Programming Menu

  • Look for “Special Function” or “Maintenance” in the menu list.
  • Scroll to find “Key Programming”, “Add Key”, or “Key Learning” – the exact wording varies by software version.
  • Critical: The system will prompt “Backup ECU Data?” Always say YES. This saves the current state of your EIS module. If anything goes wrong during programming, this backup is your only way to recover. Wait for the backup to finish before proceeding.

Step 4: The “Add Key” Process

  • Select “Add Key” (not “Replace All Keys”).
  • Remove the original key from the ignition. Insert the new blank key into the ignition slot. If your W177 has Keyless Go, hold the new key near the steering column as instructed on screen.
  • Follow the GUI instructions carefully. A status bar will appear. Do not touch the key or turn the ignition off during this phase.
  • The tool will ask you to turn the ignition off, then back on with the new key. Do exactly that.
  • A green checkmark reading “Key Learning Successful” confirms the procedure worked.

Step 5: Testing the New Key

  • Remove the new key from the ignition.
  • Test the remote functions: lock and unlock the doors from a distance.
  • Insert the new key and start the engine. It should crank and run normally.
  • Repeat the same tests with your original key to ensure it wasn’t erased or affected.

Troubleshooting: Common Errors and Fixes

Even with careful execution, issues can arise. Here’s how to handle the most frequent ones.

Error Message Likely Cause Fix
“Communication Failure with EIS” Low voltage or loose OBD connection Restart the X431, verify charger connection, and re-seat the OBD connector.
“Key Already Exists” / “Invalid Key” Wrong frequency (433 MHz vs 868 MHz) or used key from another car Check the blank’s part number. Used keys cannot be reprogrammed to another vehicle.
“Security Access Denied” Expired Mercedes-Benz software license or outdated firmware Update the X431 software via Wi-Fi, or contact LAUNCH support to verify your subscription.
Procedure stalls at 50% Interference from phone or Bluetooth devices Turn off Bluetooth on your phone and the X431. Move at least 10 feet away from WiFi routers.
New key works but remote unlock fails RF module not synced properly Re-run the procedure. Some W177 models require holding a key button while turning the ignition on during the sync step.

Advanced Tips for the LAUNCH X431

  • Software licensing matters. The Mercedes-Benz software package is often included in professional-level X431 subscriptions, but double-check yours before starting. If the menu doesn’t show key programming, your license may need renewal.
  • Never skip the ECU backup. I’ve seen many DIYers rush past this step only to regret it when the process fails midway. Backup is your safety net.
  • Battery voltage rule: Keep it above 12.5V throughout. A 10-amp charger is ideal; a standard trickle charger may not keep up if the X431 draws power during the procedure.
  • Know the limitation: The X431 can only add keys. It cannot generate a new master key if all keys are lost. It also cannot delete a lost key from the vehicle’s memory. If a lost key exists, adding a new one doesn’t disable the old one – the lost key will still work.

FAQ: Adding a Spare Key for Mercedes W177

Can I use a cheap blank key from Amazon?

Not reliably. The W177 uses rolling codes that require a blank with the correct NEC chip. Genuine Mercedes blanks or high-quality aftermarket options from brands like Xhorse or VVDI are recommended. Cheap blanks often fail during the learning process.

How long does the process take?

Approximately 15 to 30 minutes, including setup and the mandatory ECU backup. Most of the time is spent waiting for the backup and key-learning steps.

Will the LAUNCH X431 work on a 2020 or 2021 W177 model?

Yes, as long as the X431 has the latest software updates covering those model years. For 2022 and later vehicles, additional security protocols may be required, so check with LAUNCH support before attempting.

Can I delete a lost key using this method?

No. The “Add Key” function only adds a new key to the system. To delete a lost key, you need a “Replace All Keys” or “Delete Key” function, which is typically locked behind dealer-level software. If you add a key while a lost key exists, the lost key will still be able to start the car.

What happens if the power goes out during programming?

This can damage the EIS module. The backup you created earlier is your lifeline. Reconnect the X431, restore the ECU data from the backup, and the car should recover. If the backup wasn’t made, you may need to replace the EIS module – a costly mistake.

Does this void my warranty?

No, as long as you don’t damage the ECU or EIS during the process. However, if the module fails due to a botched programming attempt, the dealership may refuse to cover the repair under warranty.


Conclusion

Adding a spare key to your Mercedes-Benz A-Class W177 with a LAUNCH X431 is a straightforward, cost-effective procedure – provided you have a working master key and follow the steps carefully. The whole job takes less than half an hour and can save you hundreds of dollars compared to a dealership visit.

Final caution: Prepare your workspace, secure your battery voltage, and always back up the ECU. Rushing leads to expensive mistakes.

Ready to program your key? First, ensure your LAUNCH X431 has the latest Mercedes-Benz software package. Then buy a genuine or high-quality aftermarket blank. Follow the steps above, and you’ll have a spare key working in no time. For more guidance on using diagnostic tools for European vehicles, check out our guide on [link to related guide on Mercedes EIS programming].


About the Author: Erwin Salarda is an Automotive Service Equipment Technician based in the Philippines, specializing in computerized automotive diagnostic equipment such as OBD scanners and wheel alignment systems. Since 2012, he has been actively providing technical support, equipment installation, troubleshooting, after-sales service, and hands-on training for automotive service equipment used by workshops and automotive professionals.

He has received specialized training from international suppliers and manufacturers, including Launch X431 in Shenzhen, China, Lawrence Engineering Company in Guangzhou, China, and 3Excel Wheel Alignment Company in Shenzhen, China. Through these trainings, he developed advanced expertise in automotive diagnostics, calibration, wheel alignment systems, and computerized automotive service technologies.

Erwin Salarda provides professional after-sales support and technical training for automotive diagnostic and wheel alignment equipment, helping clients maximize the performance and proper use of their tools and systems. His experience covers equipment setup, software updates, calibration procedures, troubleshooting, and operational guidance for automotive workshops and service centers.

With more than a decade of experience in the automotive equipment industry, Erwin Salarda continues to support automotive businesses by delivering reliable technical expertise and practical training solutions.

For inquiries and equipment purchases, please visit https://carlifterph.com/


Related Posts