How to Program Mercedes-Benz GLB-Class X247 Key with LAUNCH X431 Scanner

Learn how to program a new key for your Mercedes-Benz GLB-Class (X247) using a LAUNCH X431 scanner. Step-by-step guide, prerequisites, troubleshooting, and safety tips.

How to Program Mercedes-Benz GLB-Class X247 Key with LAUNCH X431 Scanner

Last Updated: May 28, 2026

Quick Answer / Key Takeaway

Yes, you can program a new or spare key for your Mercedes-Benz GLB-Class (X247) using a LAUNCH X431 scanner (models like X431 V+, X431 PAD, X431 PRO, or X431 EuroPro). The process requires a valid existing master key, the LAUNCH scanner with Mercedes-Benz software (e.g., LAUNCH X431 with “Key Program” or “Immobilizer” function), and a stable internet connection. The key programming is done via the OBDII port, and on most GLB-Class models it involves an “All Key Lost” or “Add Key” procedure. A fully charged battery and the vehicle’s VIN are also essential. Always back up original data when prompted.

Warning: Programming a key for a GLB-Class can require specific security access codes (SGW bypass on newer models). Ensure your LAUNCH scanner is updated with the latest Mercedes-Benz software package.


Introduction to Mercedes-Benz GLB-Class X247 Key Programming

The GLB-Class X247 (2019–present) uses an electronic steering lock (ESL) and a Keyless Go / SmartKey system. Unlike older Mercedes models, the X247 relies on a gateway module that often requires Security Gateway (SGW) bypass or an online login to access immobilizer functions. LAUNCH X431 scanners with the latest software handle this, but the user must follow a strict sequence. Over the years, I’ve seen many DIYers get stuck because they skipped the SGW bypass step or used an outdated scanner. The good news is that LAUNCH has streamlined the process significantly — as long as you’re using updated software and a stable internet connection, you can get the job done at home without a dealer visit.

Prerequisites

Before starting, gather these items and conditions:

  • Valid master key (key that starts the car – may be needed for “Add Key” procedure).
  • New unprogrammed key (blank key from dealer or compatible aftermarket).
  • LAUNCH X431 scanner with Mercedes-Benz software installed and updated.
  • Stable Wi-Fi or internet connection (for online authorization / data download).
  • Fully charged battery (12V car battery or external charger).
  • VIN of the GLB-Class (found on windshield or driver door jamb).
  • Vehicle access – you will need to enter the car and press the start button.

One thing many people overlook: the new key must have a fresh battery. Pull out the metal key blade to access the battery compartment. A weak battery can cause the scanner to fail to detect the key during programming.

Understanding the LAUNCH X431 Scanner Setup for Mercedes

  1. Update your LAUNCH X431 to the latest firmware and Mercedes-Benz software package. This step is non-negotiable — older software may not recognize the X247’s immobilizer system.
  2. Connect the scanner to the vehicle’s OBDII port (under dashboard, driver’s side).
  3. Power on the scanner and select Mercedes-Benz from the vehicle menu.
  4. Choose the GLB-Class (X247) model. If the list doesn’t show “X247,” try searching by VIN under manual selection.
  5. Once the system identifies the vehicle, look for the Immobilizer / Key Program function.

Note: If the scanner does not detect the GLB-Class, try using the “Manual Selection” and enter the VIN. In some Chinese-market LAUNCH units, the model is listed as “W247” instead of X247.

Step-by-Step Procedure: Programming a New Key for a Mercedes-Benz GLB-Class X247

1. Access the Key Programming Menu

  • From the main menu, go to System Selection > Immobilizer.
  • Select Key Programming.
  • Choose Add Key (if you have one working key) or All Key Lost (if no working key).

2. Perform SGW Bypass (if required)

  • Many LAUNCH X431 scanners include an automatic SGW bypass or request a security access code.
  • Follow on-screen instructions. If prompted, contact LAUNCH support for the temporary code (some models need online login). For 2021+ models, the scanner must be connected to the internet during the entire bypass process.

3. Read Current EZS/ESL Status

  • The scanner will read the Electronic Steering Lock (ESL) and Keyless Go Control Unit.
  • Allow it to synchronize with the vehicle. This may take 1–2 minutes.

4. Insert the New Key

  • Physically insert the new key into the ignition slot (or approach the start button if Keyless Go).
  • The scanner will ask you to turn the ignition ON (press Start button once without brake for ignition ON).
  • Wait for the scanner to detect the new key.

5. Program the Key

  • Confirm the new key ID appears on the screen.
  • The LAUNCH will write the key data to the EZS/ECU.
  • When prompted, turn ignition OFF and remove the key, then turn ignition ON with the original master key (for verification).
  • Repeat the process for additional keys (maximum usually 8 keys per vehicle).

6. Finalize and Test

  • After successful programming, the scanner will ask to erase old keys (only if “All Key Lost” was selected – be careful).
  • Remove the scanner, then test each programmed key: start the engine, lock/unlock doors, and verify that the key works for Keyless Go (if equipped).

Detailed Troubleshooting Steps

Problem 1: Scanner does not find the “Key Programming” option

  • Solution: Update the software. The GLB-Class (X247) requires the “Mercedes-Benz V.XX” or “Sprint” software package. If using an older X431 model, the option may be hidden under Special Functions instead of Immobilizer.
  • Alternative: Try selecting W247 instead of X247 (some China-made scanners use different naming).

Problem 2: SGW bypass fails

  • Solution: Ensure you have the latest Security Gateway Bypass cable or use the online authorization feature in the scanner. For 2021+ models, the X431 must be connected to the internet during the process.
  • If still fails: Use the All Key Lost function, which sometimes skips SGW by directly accessing the EZS via CAN bus.

Problem 3: New key not detected after insertion

  • Solution: Check that the new key is a genuine Mercedes key or a compatible blank with the correct frequency (GLB uses 433/868 MHz depending on region). Verify battery in the new key (replace if low).
  • Reset: Turn ignition OFF, wait 30 seconds, then try again. Some keys require a “wake-up” – press any button twice.

Problem 4: Programming process freezes or times out

  • Solution: Apply an external battery charger to maintain 12.5V+. The GLB-Class can drop voltage during programming, causing interruption.
  • Reboot scanner: Disconnect, restart the scanner, and begin again from the vehicle identification step.

Problem 5: After programming, key starts engine but remote lock/unlock doesn’t work

  • Solution: This is a separate Keyless Entry learning procedure. Go to Body Control Module (SAM) and select Keyless Entry / Remote Lock > Synchronize Key. Follow the same key insertion steps.
  • Manual sync: Hold the key near the steering column and press the lock/unlock buttons while pressing Start button twice.

Important Notes & Safety Warnings

  • Always use a reliable power source – a failed programming can lock the car’s computer, requiring dealer recovery.
  • Do not disconnect the scanner during write operations.
  • “All Key Lost” procedure will erase all existing keys from the car – if you have only one working key, back up its data if possible (some LAUNCH X431 models can dump EZS data).
  • After programming, test all functions immediately – doors, trunk, remote start (if applicable).
  • If the GLB-Class has a Keyless Go system, programming a key will also program the Keyless Go chip. No extra steps needed.

For more advanced diagnostics, check out our guide on [link to related guide on LAUNCH X431 usage for European vehicles].

Frequently Asked Questions (FAQ)

Can I program a used key from another GLB-Class?

No. Each key is married to the ESL/ECU of the specific vehicle. A used key cannot be reprogrammed; it must be a blank key.

Do I need a dealer subscription to use LAUNCH X431 for key programming?

No. The LAUNCH X431 works offline after software purchase, but some 2021+ models require a one-time online authorization (no subscription).

How long does it take to program a Mercedes GLB key with LAUNCH X431?

Approximately 15–30 minutes including scanner setup and testing.

Is programming a Keyless Go SmartKey different from a standard key?

No, the LAUNCH X431 handles both – it programs the transponder chip and the remote function simultaneously.

What if I lose my only working key for my GLB?

Use the “All Key Lost” function, but you must have the VIN and the vehicle’s emergency key code (sometimes required). The LAUNCH may ask for an online unlock code from LAUNCH support.

Does the LAUNCH X431 support all model years of GLB X247?

Yes, but for 2022+ models you may need the EuroPro software package. Check with LAUNCH for compatibility.

Can I use a LAUNCH X431 V+ for Mercedes key programming?

Yes, if updated with Mercedes-Benz software. The V+ has strong support for European immo systems.

Can I program a Mercedes key from a different region (e.g., US key for a European car)?

Possibly, but frequency (433 vs 868 MHz) must match. Check key specifications.

How much does a blank key for GLB cost?

Dealer blanks range from $200–$400; aftermarket compatible blanks are $30–$100. Quality varies – use genuine or well-reviewed blanks.

Do I need to remove the steering lock module to program the key?

No. The LAUNCH X431 communicates via OBDII and does not require physical disassembly.

Final Verification Checklist

  • Scanner updated with latest Mercedes-Benz software.
  • Car battery fully charged (12.5V+).
  • Valid master key available (if using “Add Key”).
  • New key battery installed (pull out the metal key blade to access).
  • Stable internet connection for potential SGW bypass.
  • Tested all key functions: start, lock/unlock, trunk, keyless entry.

If you follow these steps, you should be able to program your GLB-Class X247 key successfully using the LAUNCH X431 scanner. If problems persist, consult the LAUNCH support team or a professional automotive locksmith. For a deeper understanding of immobilizer systems, refer to [link to article on Mercedes-Benz ESL troubleshooting].


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