Safety note: Troubleshooting guidance can help you narrow down likely causes, but it cannot replace an in-person inspection. If the vehicle feels unsafe, warning lights are flashing, you smell fuel, see smoke, notice overheating, or have problems with braking, steering, or control, stop driving when it is safe to do so and have the vehicle inspected.
If the engine keeps running after you turn the key off and remove it, the problem usually falls into one of two buckets. Either the ignition system is still getting electrical power when it should not, or the engine is "running on" from heat, carbon buildup, or an abnormally high idle.
The exact pattern matters. A smooth-running engine that stays on like nothing happened points more toward an ignition switch, relay, wiring, or charging circuit problem. An engine that sputters, shakes, or coughs for a few seconds after key-off is more often dealing with classic run-on, sometimes called dieseling.
This is one of those symptoms that can be minor on some older gasoline engines and more serious on modern vehicles. The checks below will help you narrow it down by what stays powered, how the engine behaves at shutdown, and what finally makes it stop.
VehicleRuns Quick Diagnosis
Engine Won't Shut Off
Start by noticing how the engine behaves after key-off. A smooth, normal idle points toward an electrical power feed problem, while sputtering or shaking points more toward engine run-on.
| What you notice | Most likely cause | What to check first | Urgency |
|---|---|---|---|
| Engine keeps running smoothly after key removal | Faulty ignition switch | See whether dash warning lights and ignition-fed accessories stay on | Can worsen |
| Dash stays powered with key out | Stuck relay or backfeed | Check ignition and EFI relays for sticking or heat | Can worsen |
| Engine coughs and shakes before stopping | Carbon-fueled engine run-on | Check idle speed, throttle closing, and signs of heavy carbon | Diagnose soon |
| Only happens when engine is fully hot | High idle or hot spots | Look for throttle linkage sticking or idle speed too high | Diagnose soon |
| Key feels loose or hard to turn | Worn ignition lock cylinder | Check for excess key play and incomplete switch return | Can worsen |
| Engine stops only after fuse or battery disconnect | Wiring or control power fault | Identify which ignition-fed circuit still has voltage with key off | Stop driving |
Best first move: First decide whether the engine is staying alive from unwanted electrical power or from hot-engine run-on, because that split changes the entire diagnosis path.
Safety note: If the engine will not shut down normally, do not keep driving it until you know how to stop it safely. A vehicle that keeps running can create shift, theft, battery-drain, or fire-risk issues if a relay or wiring fault is involved.
Most Common Causes of an Engine That Won't Shut Off
In real-world cases, a few causes show up much more often than the rest. The three below are the best places to start, then the fuller list later in the article can help if those do not fit your pattern.
- Faulty Ignition Switch: If the electrical portion of the ignition switch does not open fully, the engine management and ignition circuits can stay powered even after the key is removed.
- Stuck Ignition or EFI Relay: A relay that sticks closed can keep supplying power to the engine control system, making the engine continue to run normally with the key off.
- Carbon Buildup in the Engine or Throttle Body: On some gasoline engines, heavy carbon deposits or a too-high idle can let the engine sputter on briefly after shutdown from heat and residual fuel.
What an Engine That Won't Shut Off Usually Means
When an engine will not shut off, the first question is whether it is still being electrically commanded to run. On a modern fuel-injected vehicle, the engine usually needs power to the ECU, ignition system, injectors, or fuel pump relay chain to keep running normally. If it keeps idling smoothly, that is the strongest clue that key-off power is not actually being removed.
A different pattern is classic engine run-on. That usually feels rougher and less controlled. The engine may shake, stumble, or cough for a few seconds instead of continuing with a clean idle. That points away from a pure switch or relay issue and more toward excess heat, carbon deposits, idle speed problems, or a throttle that is not fully returning.
Where the symptom changes is useful. If the radio, dash lights, blower motor, or warning lights also stay on with the key removed, think electrical feed first. If the engine only does it when fully hot, especially after a short stop or after hard driving, run-on becomes more likely. If the key itself feels sloppy, sticks between positions, or does not spring back cleanly, the lock cylinder or switch linkage moves higher on the list.
On older vehicles, especially carbureted ones, some brief dieseling after shutdown is not unusual when tune or idle speed is off. On newer vehicles, an engine that continues running after key removal is more likely to involve the ignition switch, relays, wiring, or a control circuit fault and deserves quicker diagnosis.
Possible Causes of an Engine Staying On After Key Removal
Faulty Ignition Switch
The ignition switch is supposed to cut power to the run circuits when the key is turned off. If its internal contacts stick or fail, the engine computer, ignition, or fuel system can stay energized and the engine may continue to run normally even after the key is removed.
Symptoms to Watch For
- Engine keeps idling smoothly instead of sputtering
- Dash lights or warning lights stay on with key removed
- Blower motor or other ignition-fed accessories still work
- Problem may be intermittent at first
Moderate to High Severity
The vehicle may be hard to secure, may drain the battery, and can create unsafe situations if the engine cannot be shut down predictably.
How to Confirm: Check whether ignition-fed circuits still have power with the key fully removed.
Typical fix: Replace the faulty ignition switch and restore proper key-off power cut to the ignition and engine control circuits.
Stuck Ignition or EFI Relay
A relay that has welded or stuck contacts can continue feeding battery power to the engine management system after the key is turned off. In that case the engine often keeps running smoothly, almost as if the key were still in the run position.
Symptoms to Watch For
- Engine shuts off only after a delay or relay cool-down
- One relay feels unusually warm
- Dash may stay on or certain systems stay active
- Symptom may appear after hot operation
Moderate Severity
This can leave the vehicle running unexpectedly and can also overheat wiring or drain the battery if power stays applied after shutdown.
How to Confirm: Locate the ignition, main, EFI, or fuel pump relays that feed engine operation and remove them one at a time with the engine stuck on.
Typical fix: Replace the sticking relay and repair any related socket heat damage or control-circuit fault that caused it to stay energized.
Wiring, Connector, or Electrical Ground Fault
A shorted wire, melted connector, or backfeed between circuits can supply unwanted voltage to the ignition or engine control system. This is one reason some engines stay on until a fuse is pulled or the battery is disconnected.
Symptoms to Watch For
- Problem started after electrical work or accessory installation
- Other odd electrical behavior is present
- Fuses run hot or show signs of previous repair
- Engine shutoff changes when harnesses are moved
High Severity
Electrical backfeed can become a no-shutoff issue, a battery drain, or in worst cases an overheating or fire-risk problem.
How to Confirm: Use a wiring diagram to trace which run circuit still has voltage after key-off, then isolate the source by pulling related fuses and relays.
Typical fix: Repair damaged wiring or connectors, remove faulty aftermarket splices, and restore proper circuit isolation and grounding.
Worn Ignition Lock Cylinder
If the lock cylinder or its linkage no longer turns the switch through its full range, the key may come out before the electrical switch has fully reached the off position. That leaves the engine or some ignition-fed circuits active.
Symptoms to Watch For
- Key feels loose or sloppy in the cylinder
- Key can be removed in an odd position
- Steering lock behavior is inconsistent
- Engine shuts off if the key is wiggled or pushed
Moderate Severity
The engine may not shut off reliably, and the key or lock can fail further, potentially leaving you stranded or unable to secure the vehicle.
How to Confirm: Observe the key positions closely and compare the mechanical key feel to the actual electrical behavior.
Typical fix: Replace the worn lock cylinder or related ignition actuator components and re-establish full switch travel.
How to Replace an Ignition Lock CylinderCarbon Buildup in the Engine or Throttle Body
Heavy carbon deposits can create hot spots in the combustion chambers, and a dirty throttle body can keep idle speed too high. On gasoline engines, especially older ones, that can let the engine cough and stumble on briefly after the key is turned off.
Symptoms to Watch For
- Engine sputters or shakes rather than idling cleanly
- Only happens when engine is fully hot
- Idle speed seems higher than normal
- Vehicle may ping under load
Moderate Severity
This usually is not as immediately dangerous as a live electrical feed, but it can point to tune, idle, or combustion problems that should not be ignored.
How to Confirm: Watch the shutdown behavior carefully.
Typical fix: Clean the throttle body, correct idle speed if adjustable, and remove carbon buildup through appropriate service or decarbonizing procedures.
Throttle Cable or Linkage Not Returning Fully
If the throttle plate does not return fully to its rest position, idle can remain too high at shutdown. A hot engine with too much incoming air is more prone to run-on for a few seconds after key-off.
Symptoms to Watch For
- Idle hangs high before shutdown
- Throttle pedal feels sticky or slow to return
- Problem is worse when hot
- Engine may rev slightly before settling
Moderate Severity
A sticking throttle can contribute to run-on and also create unwanted high-idle behavior while driving.
How to Confirm: Inspect the throttle cable and linkage for binding, frayed cable strands, weak return springs, or carbon around the throttle plate.
Typical fix: Lubricate or replace the sticking cable or linkage parts and restore full throttle return.
Alternator or Charging System Problem
On some vehicles, a failed alternator diode or charging circuit fault can feed voltage backward into the ignition or engine control circuit. That backfeed can keep the engine running after the key is turned off.
Symptoms to Watch For
- Charging warning light history
- Battery drain or strange electrical behavior
- Problem changes with connector removal at alternator
- Engine finally shuts off after electrical load changes
Moderate to High Severity
A charging-system backfeed can create shutdown problems, battery issues, and additional electrical damage if left unresolved.
How to Confirm: Measure charging voltage and check for excessive AC ripple, then isolate the alternator connector if the wiring design allows safe testing.
Typical fix: Replace the faulty alternator or repair the charging circuit that is feeding voltage back into the ignition system.
How to Diagnose the Problem
- Notice whether the engine keeps running smoothly or sputters and shakes after key-off.
- Check whether dash lights, warning lights, blower motor, or other ignition-fed accessories stay on with the key removed.
- Pay attention to when it happens most often, especially only when fully hot versus every shutdown.
- If the key feels loose, sticky, or removes too easily, inspect the ignition lock cylinder and switch travel first.
- Check engine idle speed before shutdown. A high or hanging idle pushes the diagnosis toward run-on, throttle, or carbon issues.
- Inspect the throttle body, linkage, and return action for sticking, carbon buildup, or a throttle plate that does not close cleanly.
- Locate the main ignition, EFI, and fuel pump relays. If the engine is stuck on, pull the most relevant relay to see whether the engine shuts off immediately.
- Use a test light or multimeter to find which run circuit still has voltage with the key off.
- If electrical work or aftermarket accessories were added recently, inspect those wiring connections for backfeed or poor grounding.
- If the pattern points to true run-on rather than electrical power retention, check for high idle, detonation, carbon buildup, and basic tune issues.
Can You Keep Driving If the Engine Won't Shut Off?
Important: The guidance below is general and cannot confirm that your specific vehicle is safe to drive. If a symptom affects braking, steering, handling, fuel, overheating, smoke, visibility, or vehicle control, treat it as potentially serious and have the vehicle inspected before continued driving when appropriate. For more context, see our Automotive Safety Disclaimer.
Whether you can keep driving depends on why the engine will not shut off and whether you can stop it safely every time. Some run-on cases are annoying but manageable for a short time, while a true electrical no-shutoff problem deserves much more caution.
Okay to Keep Driving for Now
It may be okay for now only if the engine briefly sputters on for a second or two after shutdown, there are no other warning signs, and the vehicle otherwise drives normally. Even then, plan to address idle and carbon-related causes soon.
Maybe Okay for a Very Short Distance
A very short trip may be reasonable if the engine can still be shut down predictably and the likely issue is limited to a worn key cylinder or a mild run-on problem. Avoid long trips until you know the cause, since the symptom can worsen without much warning.
Not Safe to Keep Driving
Do not keep driving if the engine continues running smoothly with the key removed, if the dash stays powered, if you must pull a fuse or disconnect the battery to stop it, or if there is a hot electrical smell. Those patterns point to an active electrical fault that can leave the vehicle running, drain the battery, or overheat components.
How to Fix It
The right fix depends on whether the engine is being kept alive by electrical power or by combustion run-on. In other words, the repair is very different for a bad ignition switch than for a dirty throttle body or carbon buildup.
DIY-friendly Checks
Start with basic pattern checks: see what stays powered with the key removed, inspect key play, confirm throttle return, and look for obvious carbon or linkage problems. Relay swapping with a known-good matching relay can also be a useful early check when done carefully.
Common Shop Fixes
Typical repair-shop fixes include ignition switch replacement, relay replacement, throttle body cleaning, idle correction, lock cylinder replacement, and wiring repair at a melted connector or damaged harness section.
Higher-skill Repairs
Deeper repairs may involve tracing electrical backfeed with wiring diagrams, replacing ignition actuator components, repairing charging-system diode faults, or resolving engine tune and combustion issues that cause persistent hot-engine run-on.
Related Repair Guides
- Can You Drive with a Bad Starter Motor?
- OEM vs Aftermarket Starter Motors: Which Is Better?
- Remanufactured vs New Starter Motors: Which Is Better?
- When to Replace a Starter Motor
- Signs Your Starter Motor Is Bad
Typical Repair Costs
Repair cost varies by vehicle, labor rates, and the exact reason the engine stays on. The ranges below are typical U.S. parts-and-labor estimates, not exact quotes for every make and model.
Ignition Switch Replacement
Typical cost: $180 to $450
This usually applies when the engine and ignition-fed circuits stay powered because the electrical switch no longer opens correctly.
Ignition or EFI Relay Replacement
Typical cost: $80 to $220
Costs stay on the lower end if the relay is easy to access and no connector heat damage is present.
Wiring or Connector Repair
Typical cost: $150 to $600+
Price depends heavily on how much harness tracing and connector replacement the shop must do.
Throttle Body Cleaning and Idle Correction
Typical cost: $100 to $250
This fits engines that sputter on after shutdown because of carbon and high-idle behavior rather than a live electrical feed.
Throttle Cable or Linkage Repair
Typical cost: $120 to $350
The range depends on whether the fix is simple adjustment or full cable and linkage part replacement.
Alternator Replacement for Electrical Backfeed
Typical cost: $350 to $900
Backfeed-related charging repairs cost more when diagnosis time is needed to prove the alternator is feeding the ignition circuit.
What Affects Cost?
- Vehicle access and switch or relay location
- How long electrical tracing takes
- OEM versus aftermarket parts choice
- Whether heat damage affected connectors or wiring
- Whether the problem is electrical power feed or engine run-on
Cost Takeaway
If the engine keeps running smoothly with the key out, expect costs to center on ignition switch, relay, or wiring diagnosis. If it only sputters on while hot, the repair is often cheaper and more related to throttle cleaning, idle correction, or carbon service. The most expensive cases are usually the ones involving harness damage or hard-to-find electrical backfeed.
Symptoms That Can Look Similar
- Car Won’t Start After Driving: How to Narrow Down the Problem
- Car Won’t Crank When Engine Is Hot: How to Narrow Down the Problem
- Car Won’t Crank After Driving: How to Narrow Down the Problem
- Starter Makes One Click When Engine Is Hot: How to Narrow Down the Problem
- Whirring Noise After Turning the Car Off: Common Causes and What to Check
Parts and Tools
- Alternator
- Throttle Body
- Serpentine Belt
- Digital Multimeter
- Test Light
- OBD-II Scan Tool
FAQ
Why Does My Engine Keep Running Even After I Remove the Key?
The most common reasons are an ignition switch that is not cutting power, a stuck relay, wiring backfeed, or hot-engine run-on from carbon buildup and high idle. The way the engine behaves after key-off is the best clue.
Is This the Same as Engine Dieseling?
Not always. Dieseling or run-on usually looks rough, with coughing or shaking for a few seconds after shutdown. If the engine keeps idling smoothly like the key is still on, that is more likely an electrical power-feed problem.
Can a Bad Alternator Cause an Engine to Stay Running?
On some vehicles, yes. A failed diode or charging-circuit backfeed can keep voltage on the ignition or control circuits after key-off, though this is less common than an ignition switch or relay problem.
What Should I Check First if the Key Feels Loose?
Start with the ignition lock cylinder and switch travel. A worn cylinder can let the key come out before the switch fully reaches the off position, which can leave the engine or dash powered.
Can I Just Disconnect the Battery to Shut It Off?
That may stop the engine in some cases, but it is not a real fix and can create other issues. If you need to disconnect the battery or pull a fuse to stop the engine, treat it as a higher-priority electrical fault.
Final Thoughts
The biggest diagnostic split is simple: a smooth-running engine after key removal usually means unwanted electrical power is still reaching the engine controls, while a rough sputtering shutdown points more toward true run-on. That one observation will save a lot of guesswork.
Start with the most visible clues first, especially dash power, key feel, relay behavior, and idle speed. Once you know whether the problem is electrical or combustion-related, the next step becomes much clearer and the repair usually gets cheaper and faster.