How to Separate Diesel from Gasoline the Right Way

Gasoline and diesel are fully miscible, meaning they dissolve into each other and form a uniform mixture. You cannot separate them back into pure fuels using any simple household method. The practical solution in nearly every case is to drain the mixed fuel from your tank and start fresh with the correct fuel.

That said, understanding why separation is so difficult, what risks the mixture poses, and how to handle the situation properly can save you from expensive engine damage.

Why Gasoline and Diesel Won’t Separate on Their Own

You might expect two different liquids to naturally layer like oil and water, but gasoline and diesel are both petroleum hydrocarbons. They’re chemically similar enough to blend completely. Diesel has a density of roughly 820 to 875 kg/m³, while gasoline sits between 715 and 780 kg/m³. That density gap is real, but it’s not enough to overcome the mutual solubility of two hydrocarbon liquids. Once mixed, they stay mixed indefinitely. No amount of sitting, cooling, or shaking will cause them to separate into distinct layers.

What About Distillation?

In theory, fractional distillation can separate these fuels. Gasoline contains components that boil between roughly 30°C and 200°C, while diesel boils at higher temperatures. Oil refineries exploit exactly this difference every day, heating crude oil in massive distillation columns to sort hydrocarbons by boiling point.

In practice, this is not something you can safely or effectively do at home. Refinery distillation requires precise temperature control (sometimes within a 10 to 20°F window), sealed systems to prevent vapor release, and specialized equipment to manage the extreme fire and explosion risks of heating volatile fuels. OSHA notes that even in professional closed-process refinery units, leaks or releases reaching an ignition source remain a primary fire hazard. Gasoline vapor is heavier than air, pools in low areas, and ignites easily. Attempting backyard distillation with mixed fuel is genuinely dangerous and will not produce clean, usable fuel.

Why a Mixed Tank Is Dangerous

A gasoline-diesel mixture creates serious problems beyond just poor engine performance. The flash point of diesel drops dramatically when gasoline is added. Pure diesel has a relatively high flash point, making it hard to ignite with a spark. But adding just 16% gasoline by volume plunges the flash point to around negative 40°C, making the mixture nearly as volatile as pure gasoline. This means a contaminated diesel tank is far more flammable than you’d expect, and handling or storing the mixture requires the same caution you’d give straight gasoline.

Damage to Diesel Engines

If gasoline gets into a diesel engine, it attacks several systems at once. Gasoline lacks the lubricating properties diesel fuel provides, so the high-pressure fuel pump and injectors lose their lubrication and can wear rapidly. The injectors themselves can be chemically damaged, losing the precision they need to deliver fuel correctly. Incomplete combustion creates hot spots that can overheat cylinder walls and pistons. Carbon buildup leads to valve sticking and damaged valve seats, reducing compression. Gasoline also forms varnish-like deposits that clog fuel filters and lines, potentially starving the engine of fuel entirely.

The severity depends on the ratio. A small splash of gasoline in a full diesel tank may cause rough running but limited damage. A 50/50 mix or worse can destroy critical components quickly.

How to Confirm Contamination

If you suspect your diesel has been contaminated with gasoline but aren’t sure, fuel testing labs offer diesel sample kits. The key test measures the flash point of your fuel. When gasoline is present in diesel, it lowers the flash point measurably. A small amount may not show up clearly, but significant contamination (a gallon or more in a standard tank) will be obvious in lab results. Blackstone Laboratories is one provider that offers mail-in diesel fuel testing specifically for this purpose.

The Right Way to Handle Mixed Fuel

Since you can’t separate the fuels, the correct approach is removing the mixture entirely and replacing it with clean fuel. Here’s what that process looks like:

  • Do not start the engine. If you realize the mistake before turning the key, you’ll avoid circulating contaminated fuel through the injectors, pump, and lines. This is the single most important step.
  • Drain the tank. Some vehicles have a drain plug at the bottom of a metal fuel tank that can be removed with a square drive socket. If your vehicle has a plastic tank or no accessible drain, use a hand pump or fuel transfer pump to siphon the fuel out through the filler neck.
  • Replace the fuel filter. Even after draining, residual gasoline trapped in the filter can re-contaminate your clean fuel and cause clogging from varnish deposits.
  • Flush the fuel lines. Run clean diesel through the lines to clear any remaining gasoline before refilling the tank.
  • Inspect the injectors. If the engine was run on the mixture, have the injectors checked for damage. Precision components don’t tolerate gasoline’s solvent properties well.
  • Refill and monitor. After refilling with pure diesel, run the engine briefly to circulate clean fuel through the system. Watch for rough idling, loss of power, or unusual exhaust smoke over the next several drives.

What to Do With the Drained Mixture

The contaminated fuel can’t go down a drain or into the trash. Most auto parts stores, municipal hazardous waste facilities, and some gas stations accept waste fuel for proper disposal. Call ahead to confirm. In some areas, heating oil dealers or industrial operations may accept diesel-gasoline blends for use in equipment that tolerates mixed fuels, though this varies widely.

If the mixture is mostly gasoline with only a trace of diesel, some mechanics will use it in a gasoline engine by diluting it further with fresh gasoline. A small percentage of diesel in a gasoline tank generally causes heavy exhaust smoke and reduced performance but less catastrophic damage than the reverse scenario. This is a judgment call based on the ratio, not a universal recommendation.

Small Contamination vs. Large

Context matters. If you accidentally added a quart of gasoline to a full 20-gallon diesel tank, you’re looking at roughly 1% contamination. Many diesel engines will run through this without noticeable harm, though it’s still not ideal. At 5 to 10% contamination, you’ll likely notice rougher running, reduced power, and knocking. Beyond 10%, draining becomes strongly advisable to protect the fuel system. The flash point is already dropping significantly at these concentrations, and the lubrication loss starts threatening pump components.

For gasoline engines that received diesel, the threshold is more forgiving in terms of mechanical damage but the engine will run poorly. Diesel doesn’t atomize well in a gasoline fuel system, leading to misfires, heavy white or blue smoke, and potential catalytic converter fouling. Draining is still the best course of action for any significant amount.