You can use diesel engine oil in a gasoline engine in some situations, but it’s not a straightforward swap. Whether it works safely depends on the oil’s certification ratings, its viscosity grade, and what type of gasoline engine you’re running. A diesel oil that carries both gasoline and diesel certifications is fine. A diesel-only oil can cause problems over time, especially in modern turbocharged engines.
How Oil Certifications Work
The American Petroleum Institute (API) splits engine oil into two broad families. Oils for gasoline engines carry an “S” (Service) rating, like API SP. Oils for diesel engines carry a “C” (Commercial) rating, like API CK-4. These aren’t just marketing labels. They reflect different additive packages, different test protocols, and different performance requirements.
Some oils carry both ratings. When you see something like “CK-4/SP” on a bottle, that oil has been formulated and tested for both diesel and gasoline engines. The API notes that when the “C” category is listed first, the oil was designed primarily for diesel use but also meets gasoline standards. This dual-rated oil is perfectly acceptable in a gasoline engine. What you want to avoid is an oil that only carries a “C” rating. The API states directly that diesel-only oils “may not provide all of the performance requirements consistent with vehicle manufacturers’ recommendations for gasoline-fueled engines.”
The Additive Problem
Diesel and gasoline oils aren’t just different viscosities of the same stuff. They contain fundamentally different additive chemistry. Diesel engines produce far more soot and combustion byproducts than gasoline engines, so diesel oils pack two to three times the dispersant concentration found in gasoline formulations. Dispersants keep contaminants suspended in the oil rather than letting them settle as sludge. That sounds like it would be a bonus in a gasoline engine, but the full additive package matters more than any single ingredient.
The bigger concern is detergent additives, specifically calcium. Calcium sulfonate is one of the most common detergents in engine oil, and diesel formulations tend to run higher levels of it. In older naturally aspirated gasoline engines, extra calcium is mostly harmless. In modern turbocharged gasoline direct injection (TGDI) engines, it’s a real risk. Calcium has been shown to promote a phenomenon called Low-Speed Pre-Ignition (LSPI), where the fuel-air mixture ignites uncontrollably before the spark plug fires. LSPI can destroy pistons and connecting rods in a matter of seconds.
This problem was serious enough that the API created a supplemental category called SN PLUS in 2018 specifically to address it. Oils meeting this standard use lower calcium and higher magnesium levels, since magnesium has little impact on LSPI. The current top-tier gasoline rating, API SP, builds in LSPI protection by default. A diesel-only oil has no requirement to limit calcium in this way.
Viscosity Matters More Than You Think
Most diesel oils come in heavier viscosity grades like 15W-40, designed to protect diesel engine internals from the higher combustion forces those engines produce. Gasoline engines are built with tighter bearing tolerances and rely on thinner oils, typically 0W-20 or 5W-30, to flow quickly through narrow passages.
Pouring 15W-40 diesel oil into an engine designed for 0W-20 creates two problems. First, cold starts become harder on the engine. The thick oil takes longer to reach critical components, leaving them unprotected during the first seconds of operation. Gasoline engines are particularly vulnerable here because they depend on a specific type of anti-wear additive that activates in cold conditions and provides protection during startup. Second, the thicker oil increases internal drag, which reduces fuel economy and can cause the engine to run hotter than intended. Over months of use, this adds up to measurable extra wear.
If the diesel oil happens to come in the same viscosity your gasoline engine calls for (5W-30, for instance), this particular concern goes away. But viscosity alone doesn’t make the oil compatible.
When It’s Actually Fine
There are situations where using diesel oil in a gasoline engine works without issue. The clearest case: the oil is dual-rated for both gasoline and diesel service. Look at the API donut on the back of the bottle. If it lists an “S” category alongside the “C” category, you’re covered. Many fleet oils and heavy-duty oils carry dual certification because they’re marketed to operations running mixed vehicle fleets.
Older gasoline engines with looser tolerances and no turbocharger are also more forgiving. A carbureted small-block V8 from the 1970s won’t care much about the difference between a gasoline oil and a diesel oil at the same viscosity. These engines were designed in an era when oil formulations were simpler and the gap between “S” and “C” oils was narrower.
In an emergency, using diesel oil for a short period is far better than running an engine low on oil. Temporary use of the wrong oil specification causes far less damage than oil starvation.
When to Avoid It
If you drive anything with a turbocharged gasoline direct injection engine, which covers a huge portion of vehicles made after 2010, stick with oils carrying the current API SP rating or at minimum SN PLUS. The LSPI risk from high-calcium diesel formulations is not theoretical. It’s the reason the industry created new oil specifications.
If your owner’s manual specifies a thin oil like 0W-20 and calls for “Resource Conserving” oil (a designation paired with API SP that improves fuel economy and protects emission systems), a diesel oil simply cannot meet those requirements. Resource Conserving oils are designed to work with catalytic converters and other emission hardware on gasoline vehicles. Diesel oils have no obligation to protect those components.
Also worth noting: one subset of diesel oils, rated API FA-4, isn’t even backward compatible with other diesel oil categories. These ultra-specific oils were formulated for 2017 and newer diesel engines meeting greenhouse gas emission standards. The API explicitly warns they are not interchangeable with older diesel oil ratings, let alone suitable for gasoline engines.
How to Check Before You Pour
Every oil bottle sold in the U.S. has an API service symbol, usually a circular “donut” graphic on the back label. Look for two things: the service category letters and the viscosity grade. If the oil shows both an “S” and a “C” category and matches the viscosity your owner’s manual specifies, you can use it confidently. If it only shows a “C” category, it was not tested or certified for your gasoline engine, regardless of what the brand name or marketing suggests.
For gasoline engines, the latest API category (currently SP) is backward compatible with all previous gasoline categories. So an API SP oil works in any gasoline engine that previously called for SN, SM, SL, or earlier ratings. Diesel categories don’t always work that way, which is another reason to pay attention to the specific letters rather than assuming newer means universally better.

