Program Tesla Model 3 Key Card When All Keys Lost: LOKI Tool Guide

Lost all keys for your Tesla Model 3? Learn how to program a new key card using the LOKI diagnostic tool. Step-by-step guide, troubleshooting, and alternatives.

Last Updated: May 29, 2026

Quick Answer: How to Program a New Key Card on a Tesla Model 3 When All Keys Are Lost

If you have lost every key for your Tesla Model 3 — the key cards, the key fob, and the phone key — the car is essentially immobilized. You cannot use the Tesla app or the in-car touchscreen to add a new key because both require an existing authenticated key. The solution involves using a specialized third-party tool called the LOKI diagnostic tool. This device connects to the vehicle's OBD-II port, bypasses the standard authentication process, and grants access to the internal key management system. The core steps include powering the vehicle's electronics, connecting the LOKI tool to a laptop, using the "Key Management" function, and placing a blank key card on the center console NFC reader when prompted. This process is technically demanding and carries risks. If you are not comfortable with CAN bus tools, you should contact a mobile automotive locksmith or a Tesla service center.

Understanding the Problem: All Keys Are Lost

Losing every key to your Tesla Model 3 is a stressful scenario. Unlike a traditional car where a locksmith can mechanically open the door and cut a new key, a Tesla relies entirely on digital authentication. Without at least one authenticated key card, key fob, or phone key, the vehicle is effectively a brick.

This can happen in several situations: your wallet is stolen with both key cards inside, your phone dies and you have no physical backup, or you simply misplace all your keys during a move or trip. The car will not unlock, you cannot start the drive system, and the touchscreen remains locked. Even accessing the frunk or the interior to jump the 12V battery becomes a challenge.

The core issue is security. Tesla's key management system is designed to prevent unauthorized access. When you lose all keys, the system sees zero authenticated devices, and there is no standard user-facing method to add a new one. You need a tool that can speak directly to the vehicle's Body Control Module (BCM) over the Controller Area Network (CAN) bus. That is where the LOKI tool comes in.

What Is the LOKI Diagnostic Tool?

The LOKI tool, which stands for Locksmith Key Importer, is a specialized CAN bus diagnostic device built specifically for key programming on certain vehicle brands, most notably Tesla. It is not a general-purpose OBD-II scanner like an Autel or Launch unit. Its primary function is to read and write key data to the vehicle's BCM.

Here is what makes the LOKI tool unique for Tesla key programming:

  • Targeted Functionality: It focuses on Tesla key management. Other tools might scan for diagnostic trouble codes or perform service resets, but LOKI is designed to add, delete, and program keys.
  • CAN Bus Access: It communicates directly with the vehicle's CAN bus through the OBD-II port, bypassing the infotainment system's security layers.
  • Compatibility: The tool works on the Tesla Model 3, Model Y, and certain Model S and Model X variants. Software updates are required for newer 2021+ models which have encrypted CAN buses.
  • Source: You can purchase the LOKI tool from authorized automotive locksmith suppliers or specialized diagnostic equipment dealers. It is not sold at standard auto parts stores. The price typically ranges from $500 to $1,200 depending on the model and included features.

Step-by-Step Guide: Programming a New Key Card with LOKI

This guide assumes you have the correct hardware and software. If you are unsure at any step, stop and consult a professional.

Prerequisites and Safety Checks

Before you begin, gather the following items:

  • LOKI tool: The specific model compatible with your Tesla's model year.
  • Laptop: A Windows-based laptop with the LOKI software installed and updated. Some LOKI models also support Bluetooth.
  • Blank Tesla key card: You must use a genuine Tesla key card or a verified compatible third-party card like Xhorse. A card that was previously paired to a different vehicle will not work unless it is erased first (the LOKI software usually handles this).
  • 12V battery source: A fully charged 12V battery is critical. If your Tesla's 12V battery is dead, you must jump-start it. On a Model 3, you can access the 12V jump points under the front tow hook cover.
  • Vehicle details: Know your model year. Pre-2021 and post-2021 vehicles may have different communication protocols.

Warning: Improper use of the LOKI tool can corrupt your vehicle's Body Control Module (BCM). This can render the car inoperable and require a costly visit to Tesla. Proceed at your own risk.

Step 1: Powering the Vehicle

Your first task is to ensure the vehicle's electronics are awake.

  1. Check the 12V battery: If the infotainment screen is dark, the 12V battery is likely dead.
  2. Jump-start the 12V battery: Connect a jumper pack to the 12V terminals located behind the front tow hook cover. The positive terminal is marked with a red cap, and the negative is a dedicated ground point.
  3. Wake the system: Once you have power, the infotainment screen should light up. If it remains dark, try a soft reset by holding both scroll wheels on the steering wheel until the screen reboots.

Step 2: Connecting the LOKI Tool

With the vehicle powered, you can now connect the diagnostic tool.

  1. Locate the OBD-II port: It is under the driver's side dashboard, near the hood release lever.
  2. Plug in the LOKI tool: Insert the connector firmly into the OBD-II port.
  3. Connect to your laptop: Use a USB cable or establish a Bluetooth connection, depending on your LOKI model. The tool will typically power on and show an LED indicator.
  4. Launch the software: Open the LOKI software on your laptop. Ensure you are running the latest version to avoid protocol issues.

Step 3: Entering Key Programming Mode

Now you will instruct the tool to access the key management area.

  1. Select manufacturer and model: In the software interface, choose "Tesla" and then "Model 3."
  2. Choose the key function: Look for an option labeled "Key Programming," "Add Key," or "Program New Key Card."
  3. Read key count: The tool will scan the vehicle and display the number of currently programmed keys. In your situation, it should show "0."
  4. Authenticate the tool (if required): Some LOKI versions require a security dongle or an unlock code to proceed. Follow the software's prompt.

Step 4: Programming the New Key Card

This is the critical moment.

  1. Follow the on-screen prompt: The software will display a clear instruction like: "Place the new key card on the center console NFC reader."
  2. Position the card: Place the blank key card directly on the center console, right below the infotainment screen, where the standard NFC reader is located.
  3. Hold steady: Keep the card in place for about 10 to 15 seconds. Do not move it.
  4. Confirm success: The software will display a message such as "Key Card Programmed Successfully." You may also hear a chime from the vehicle.

Step 5: Verifying the New Key

Once the tool says the key is programmed, you must test it.

  1. Remove the card: Take the card off the NFC reader.
  2. Re-present the card: Place the same card back on the NFC reader.
  3. Check the screen: The Tesla's infotainment screen should briefly display "Key Added" or show the key icon in the top menu bar.
  4. Test functions: Tap the card on the B-pillar (driver's side door pillar) to unlock the door. Then, get in and place the card on the center console to start the car. If the drive system engages, you have successfully programmed a new key.

Troubleshooting Common Issues

Even with careful steps, problems can arise. Here is how to handle the most frequent failures.

LOKI Not Detecting Car

  • Possible Cause: USB driver not installed, loose OBD-II connection, or dead vehicle battery.
  • Solution: Check your laptop's device manager for driver errors. Re-seat the LOKI connector. Ensure the 12V battery voltage is at least 12.4V. Try grounding the LOKI tool to a clean, unpainted chassis point.

"Failed to Enter Programming Mode"

  • Possible Cause: Low 12V battery voltage or a locked BCM security state.
  • Solution: Verify your jumper pack is fully charged. Disconnect the 12V battery negative terminal for 5 minutes, then reconnect. This resets the BCM's temporary security lock. Re-attempt the programming process.

Key Card Not Recognized

  • Possible Cause: The card is not blank, it is damaged, or the NFC reader is dirty.
  • Solution: Use a brand new, sealed Tesla key card. If you are using a previously programmed card, the LOKI tool should erase it automatically, but some older cards may not respond. Clean the center console NFC area with a dry microfiber cloth.

Infotainment Screen Frozen

  • Possible Cause: A software glitch during the process.
  • Solution: Perform a soft reset by holding both scroll wheels on the steering wheel for about 10 seconds. The screen will go black and then reboot. Re-launch the LOKI software and try again.

Alternative Methods and When to Call a Professional

Using a LOKI tool is not the only path forward. Depending on your situation and skill level, one of these alternatives might be a better fit.

  • Tesla Service Center: This is the safest option. Tesla technicians have proprietary tools that can program new keys instantly. You must provide proof of ownership (registration and ID), and you will need to schedule an appointment. The cost typically falls between $200 and $400.
  • Mobile Automotive Locksmith: Some experienced locksmiths own the LOKI tool or an equivalent device. This is often faster and cheaper than a Tesla service center. Verify that the locksmith has specific experience with Tesla vehicles before booking.
  • Self-service via LOKI (for experienced DIYers): This is the option we have covered in detail. It is best suited for professional locksmiths, automotive technicians, or owners who are comfortable with diagnostic tools and CAN bus systems.

As we covered in our guide on [link to related guide on Tesla key replacement options], weighing the cost of the tool against a single service call is an important factor.

FAQ Section

Can I program a new key using the Tesla app if I have no keys at all?

No. The Tesla mobile app requires at least one authenticated phone key or key card already paired to the vehicle. Without any existing keys, you cannot use the app to add a new device.

Does the LOKI tool work on a newer Tesla Model 3 (2021+)?

Yes, but you must have the latest software update installed on the LOKI tool. Newer Model 3 vehicles have encrypted CAN bus communication. LOKI has been updated to support this encryption, but older hardware or software versions will fail.

Can I program a key fob instead of a card?

Yes. The LOKI tool can program both key cards and key fobs. The process is similar, but for a fob, you may need to place it near the BCM, which is often located under the center console. The software will provide specific placement instructions.

Is it legal to use LOKI on my own car?

Yes, it is legal to use the LOKI tool to program keys on your own vehicle, provided you own the vehicle. However, using it for theft or on a vehicle you do not own is illegal. Some regions also restrict the sale of such tools to licensed locksmiths.

What should I do if LOKI programming corrupts the system?

If the programming fails and leaves your car in a non-functional state, try a full vehicle reset. Disconnect the 12V battery negative terminal and the high-voltage battery service disconnect (if you are trained to do so). Wait 30 minutes before reconnecting. If this does not resolve the issue, contact LOKI technical support or schedule a tow to a Tesla service center.

How much does a LOKI tool cost?

The cost of a LOKI diagnostic tool typically ranges from $500 to $1,200, depending on the model, included cables, and software licensing. If you do not want to purchase the tool, many locksmiths offer the service for $150 to $300.

Can I reuse an old key card from a different Tesla?

No. Each key card is uniquely and securely paired to a single vehicle's BCM. To reuse a card from another Tesla, it must first be erased using a diagnostic tool like the LOKI. You cannot simply hold an old card to a new car and expect it to work.


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