What to expect when your car key stops working or goes missing

A broken or lost car key usually means a trip to a dealer, a locksmith, or both — and the cost depends on what kind of key you have and whether you need the car unlocked first. Modern cars use transponder keys (keys with a computer chip inside) or key fobs (remote entry devices), which cost more to replace than older mechanical keys. If your key is lost and you're locked out, you'll pay for an emergency unlock before you pay for a replacement. If the key is broken but still in your ignition or door, you may be able to have it extracted and replaced without an unlock charge.

The fastest and most expensive route is the dealership, which can cut and program a new key on the spot but charges accordingly. A locksmith is usually cheaper and can come to you, though not all locksmiths can program newer keys. A third option — ordering a replacement online and having a locksmith program it — splits the difference on cost but takes longer. Your choice depends on how quickly you need the car, how much you want to spend, and what type of key your car uses.

Key Takeaways

  • Dealerships charge the most but can cut and program most keys the same day, while locksmiths are cheaper but may not handle newer transponder or smart keys.
  • If you're locked out, you'll pay for an unlock service first, then a key replacement — the total bill can reach $300 to $500 depending on your car and the time of day.
  • Ordering a blank key online and having a locksmith program it costs less than a dealership but requires you to wait for shipping and coordinate two separate services.
  • Some insurance policies or roadside information plans cover lockout and key replacement, so check your policy before paying out of pocket.
  • Keeping a spare key in a safe place at home prevents the need for emergency locksmith calls and gives you a backup if your primary key fails.

Dealership replacement: cost, speed, and what's included

A dealership can replace almost any key your car uses, from basic transponder keys to proximity fobs and push-button start systems. They have the equipment to cut the key blank, program it to your car's computer, and test it on the spot. For most vehicles, this takes 30 minutes to an hour if you're already at the dealership and they have the blank in stock.

Dealership pricing varies by manufacturer and key type. A basic transponder key replacement typically runs $150 to $250, while a key fob or smart key can cost $200 to $500. If you need an emergency lockout service first, add another $75 to $150. Some dealerships charge a diagnostic fee ($50 to $100) if they need to verify your ownership or reprogram your car's security system. Call your dealership's service department and ask for a quote before you go — prices differ by location and by how busy they are.

The dealership is your only option if your car uses a proximity key (a key you don't insert into the ignition) or a push-button start system, because these require manufacturer-level programming that most locksmiths cannot do. If your car is newer than 2015 and uses a smart key system, the dealership is usually the safest choice, though some independent locksmiths now offer this service in major cities.

Locksmith replacement: lower cost and faster arrival

A locksmith can cut and program a transponder key for most cars made before 2020, usually for $75 to $150 — roughly half what a dealership charges. They can also come to your location, which saves you a tow or a ride to the dealership. If you're locked out, a locksmith can open your car and replace the key in one visit, though you'll pay separately for the unlock ($50 to $150) and the key ($75 to $150).

The catch is that not all locksmiths have the equipment to program newer keys. Before you call, ask whether they can program keys for your specific car model and year. Many locksmiths can handle Toyota, Honda, Ford, and Chevrolet vehicles but struggle with luxury brands like BMW, Mercedes, or Audi. If a locksmith says they can't do it, they're being honest — forcing the issue wastes your time and money.

Locksmiths also vary in reliability and pricing. Get quotes from at least two before you commit, and check whether they charge extra for after-hours service (evenings and weekends often cost 50% more). Ask whether the price includes programming or if that's an add-on. Some locksmiths advertise low key prices but charge high programming fees, so the total can end up close to dealership prices anyway.

Online key blanks and independent programming

You can order a blank key online for $10 to $30 and have a locksmith program it, which costs less than buying a pre-programmed key from a dealership or locksmith. This route works well if you're not in a hurry and want to save money. The downside is that shipping takes 3 to 7 days, and you still need to coordinate with a locksmith to do the programming — some locksmiths charge a separate programming fee ($50 to $100) if you bring your own blank.

Before you order online, confirm that the blank matches your car's year, make, and model. A wrong blank wastes your money and time. Check the seller's return policy in case the blank doesn't fit your key slot. Also ask the locksmith upfront whether they'll program a key blank you supply — some refuse because they can't may provide the quality of the blank or because they prefer to sell their own.

What to do if you're locked out and need a key

If your key is lost and you're locked out, call a locksmith first. They can unlock your car and replace the key in one trip, which is faster than calling a tow truck to take you to a dealership. Get a quote for both services before they arrive — the total should be $150 to $300 for a basic transponder key, depending on your location and the time of day.

If you're locked out after hours (late night or early morning), expect to pay a premium. Emergency locksmith calls between 10 p.m. and 6 a.m. often cost 50% to 100% more than daytime rates. If you can wait until morning, do — the savings can be $50 to $100. If you have roadside information through your insurance or a membership like AAA, call them first — they often cover lockout and key replacement at no cost or a flat fee.

If your key is stuck in the ignition or door, a locksmith can extract it without unlocking the car, which is cheaper than a full lockout service. Tell the locksmith what happened when you call so they bring the right tools and quote you accurately.

Insurance and roadside information coverage

Some auto insurance policies include roadside information that covers lockouts and key replacement. Check your policy documents or call your insurer to see what's covered. Common coverage includes towing, lockout service, and sometimes a reimbursement for key replacement (usually capped at $100 to $250). If your policy covers it, you may only pay a deductible ($0 to $100) instead of the full cost.

AAA membership and similar roadside information plans often cover lockouts and key replacement as part of their standard benefits. If you're a member, call them before you call a locksmith — they may send a preferred vendor who charges less or may reimburse you directly. Some credit cards also offer roadside information as a cardholder benefit, so check your card's terms.

If you don't have coverage and you're facing a high bill, ask the locksmith or dealership whether they offer payment plans or discounts for cash payment. Some do, especially for larger jobs.

Preventing key loss and damage

Keep a spare key in a safe place at home — not in your car, not in an obvious hiding spot outside, and not with someone who lives with you (so a break-in doesn't compromise both keys). A spare key at home means you can get into your car without calling a locksmith if your primary key is lost or broken. If you travel frequently or live far from a locksmith, consider keeping a spare in your wallet or with a trusted friend nearby.

If your key fob battery is dying (the buttons are slow to respond or don't work at all), replace the battery before the fob fails completely. Most fob batteries cost $5 to $15 and last 3 to 4 years. A locksmith or dealership can replace the battery, or you can do it yourself if you're comfortable opening the fob — many YouTube videos show how for specific car models.

Avoid dropping your key, exposing it to water, or leaving it in extreme heat (like on a car dashboard in summer). These are common causes of transponder key failure. If your key is damaged but still works, get a replacement made soon — a failing key can leave you stranded.

Frequently Asked Questions

How much does it cost to replace a car key?

A basic transponder key costs $75 to $250 depending on whether you use a locksmith or dealership. A key fob or smart key costs $200 to $500. If you're locked out, add $50 to $150 for the unlock service. Prices vary by location, car model, and time of day (emergency after-hours service costs more).

Can a locksmith program a key for any car?

Most locksmiths can program transponder keys for cars made before 2020, but not all can handle newer smart keys or proximity fobs. Call ahead and ask whether they can program your specific car model and year. Luxury brands and newer vehicles often require dealership programming.

What if I only have one key and it breaks?

Call a locksmith or dealership when ready. If the key is stuck in your car, a locksmith can extract it. If you're locked out, they can unlock the car and make a replacement in one visit. Having only one key is risky — get a spare made as soon as the replacement is done.

Does roadside information cover key replacement?

Many roadside information plans and auto insurance policies cover lockouts and key replacement, though coverage varies. Check your policy or call your provider before paying out of pocket. Coverage often includes a reimbursement cap ($100 to $250) or a flat deductible.

Is it cheaper to order a key online and have a locksmith program it?

Yes, if the locksmith will program a blank you supply. A blank key costs $10 to $30 online, plus $50 to $100 for programming — total $60 to $130. This beats dealership prices but requires waiting for shipping. Some locksmiths refuse to program outside blanks, so confirm before you order.