Diesel Fuel Contamination: Causes, Signs & Fixes
Every kind of contamination that ends up in a diesel tank, what each one does to engines and generators, how to test for it, and when the tank needs more than a filter change.
Diesel fuel contamination is anything in the tank that isn't on-spec diesel: water, microbial growth ("diesel bug"), dirt and rust, gums and sediment from aging, wax from cold, the wrong fuel, or the wrong additive. Water is the root of most of it, because microbes and corrosion both need it.
The first sign is usually a plugged filter. After that come rough running, power loss, smoke and injector damage. A bottom sample tells you more than a sample from the middle of the tank. Water, microbes and dirt can usually be fixed with fuel polishing or tank cleaning. Fuel that is badly degraded, or mixed with the wrong product, gets pumped out.
Types of diesel fuel contamination at a glance
Each type has a different source and a different fix. The test column lists the ASTM methods labs use. You don't need to memorize them, but they're what you'll see on a lab report.
| Type | Where it comes from | What you see | How it's tested | The fix |
|---|---|---|---|---|
| Water | Condensation, leaking fill caps and vents, rain and flooding | Hazy fuel, a water layer at the bottom, water-in-fuel light, rust | Clear and bright (D4176), water & sediment (D2709), Karl Fischer (D6304) | Drain water bottoms, polish, find the entry point. Water in diesel |
| Microbial ("diesel bug") | Bacteria and fungi living in free water at the bottom of the tank | Filters plugging early, slime or dark mats, rotten-egg odor, corrosion | ATP (D7687), culture (D7978), immunoassay (D8070) | Remove the water, biocide, polish. Tank cleaning for heavy mats. Below |
| Particulates | Rust and scale, dust through vents, dirty hoses, tank sediment stirred up by a delivery | Filter plugging, injector and pump wear | Lab filtration (D6217 or D7321), particle counts (ISO 4406) | Filtration, polishing, tank cleaning |
| Oxidation (aging) | Time, heat and air, especially in tanks that sit for months | Darker fuel, gums, sediment, filters loading up | Oxidation stability (D2274; D7545 or EN 15751 for ULSD and biodiesel blends) | Turn fuel over, polish, replace if too far gone. Shelf life |
| Wax (cold flow) | Fuel colder than its cloud point | Cloudy fuel, waxy filters, cold-morning stalls | Cloud point (D2500), CFPP (D6371) | Winter blend, anti-gel before the cold, heat. Diesel gelling |
| Wrong fuel | Gasoline or DEF in a diesel tank, diesel in a gas tank, dyed fuel in on-road equipment | Hard starting, knocking, smoke, low power, no start | Flash point (D93), plus a visual check for red dye | Don't start the engine. Drain or pump out. Below |
| Additive misuse | Wrong product, wrong dose or wrong timing | Filters plugging after a treatment, gels, deposits | Depends on the additive | Follow the engine and additive maker's directions. Below |
ASTM D975, the US diesel spec, caps water and sediment at 0.05% by volume (D2709). Water, microbes and dirt usually show up together. Fix the water and the other two get easier.
Type 1Water: the contaminant that starts the others
Water gets in through condensation as tanks breathe and temperatures swing, through worn fill caps, vents and gaskets, through flooding. It is heavier than diesel, so free water settles to the bottom, which is where the pickup draws from. There it rusts the tank and gives microbes what they need to grow.
An experienced tester can spot as little as about 40 ppm of free water in a clear-and-bright check (ASTM D4176). A centrifuge test (D2709) measures free water and sediment but can't see dissolved water. Karl Fischer titration (D6304) measures the total. How water damages pumps and injectors, and how to get it out, is covered in water in diesel fuel.
Type 2Microbial growth: what "diesel bug" is and what it does
"Diesel bug" is a catch-all for the bacteria, yeasts and molds that grow in fuel systems. They feed on the fuel but live in the water. ASTM D6469, the industry guide to microbial contamination, puts it simply: most growth and activity happen where fuel and water meet. That means the water bottom, but also condensation on tank roofs and walls, where growth can hang as slimy "stalactites."
A skin at the fuel-water interface
The microbes build biofilms: slimy layers of cells, polymers, water and trapped debris. The tough film that forms where fuel meets water is sometimes called the skinnogen layer. Microbe counts inside biofilms are typically orders of magnitude higher than anywhere else in the system.
The most common symptom
D6469 names filter plugging as the most commonly recognized sign. Clumps of biomass break loose and get caught in the filter, or microbes colonize the filter media and plug it from inside. Either way the filter comes out coated in slime.
Organic acids and H₂S
Microbes without oxygen produce organic acids such as acetate, formate and lactate that etch metal. Sulfate-reducing bacteria make hydrogen sulfide, which sours the fuel and is a hazard to anyone entering a tank. A rotten-egg or rancid smell points to heavy growth.
Microbially influenced corrosion
Corrosion speeded up by microbes is called MIC. In a 2016 field study of 42 underground diesel tanks, the EPA found moderate or severe corrosion in 83% of them, and fewer than a quarter of the owners knew. Its leading hypothesis: acetic acid made by bacteria.
NREL notes that microbial contamination can occur in any fuel. Biodiesel is more biodegradable, so blends may be more susceptible, especially at higher blend levels, although field data comparing the two is limited. The defense is the same for every fuel: keep the tank dry and test it. Microbes can't establish themselves without water.
Type 3Particulates: dirt, rust and sediment
Rust and scale from the tank, paint flakes, dust pulled in through vents, and debris from dirty hoses and nozzles all end up as sediment. High-pressure common-rail injection systems run at roughly 28,000 to 54,000 psi, according to Donaldson, and particles as small as bacteria can erode an injector's seal.
Cleanliness is reported as an ISO 4406 code: three numbers for particles 4, 6 and 14 microns and larger. Targets vary by source. The Worldwide Fuel Charter, written by vehicle and engine makers, recommends 18/16/13 at the nozzle. Donaldson's target for dispensed diesel is 14/13/11, and some injector makers want about 12/9/6. That's why engines carry their own fine filters, and why filtration at the dispenser pays off.
There's one trap with sediment. ASTM D975 warns that a sample taken a foot or two above the bottom of a still tank almost always looks clean. When a delivery stirs the bottom up, very dirty fuel can go out the dispenser. If filters plug right after every fill, look at the tank bottom, not the new fuel.
Type 4Oxidation: gums and sediment from aging fuel
Diesel reacts slowly with oxygen. Heat speeds it up, and so do copper fittings: D975 says copper promotes fuel degradation, and zinc or galvanized surfaces can react with water or organic acids to form gels that plug filters quickly. The result is darker fuel, gums and sediment that load filters and foul injectors. NREL notes that biodiesel also oxidizes in storage, forming acids, gums and deposits, and recommends antioxidant additives for it.
Normally produced fuel holds up through normal storage. Tanks that sit for many months are where aging becomes a problem. How long diesel lasts, and how to stretch it, is covered in how long does diesel last.
Type 5Wax: cold-flow contamination
Wax isn't a foreign contaminant. It's the paraffin already in the diesel, which comes out of solution as crystals when the fuel drops below its cloud point (ASTM D2500). The crystals plug filters before the fuel actually gels. The cold filter plugging point test (D6371) gives a practical low limit. It shows up as cloudy fuel and filters coated in a waxy film on cold mornings. Temperatures and fixes are in what temp does diesel gel and how to prevent diesel gelling.
Type 6Wrong fuel and cross-contamination
Misfueling is the one contamination that can wreck a fuel system in minutes. Ford's service procedure for its 6.4L and 6.7L Super Duty diesels lists gasoline, DEF and other non-diesel fuels together. These fluids lack the lubricating, cooling and anti-corrosion properties the high-pressure pump and injectors need. Symptoms include no start, hard start, rough running, low power, knocking and smoke.
Whether the engine has run decides the repair. In Ford's procedure, a diesel tank that got gasoline or DEF but was never started needs the tank drained and cleaned, fresh diesel, new primary and secondary filters, and a flush. If the engine was started, add a full replacement of the high-pressure system: pump, lines, fuel rails and every injector.
If it's already running, shut it down as soon as it's safe. Don't drive it to the shop: drain it where it sits or have it towed. Check your own engine maker's procedure, and note that Ford says repairs caused by the wrong fluid aren't covered by its new-vehicle warranty.
Strips lubrication, lowers flash point
Gasoline acts as a solvent and the engine can't burn it properly. The pump and injectors lose lubrication. It also drags the flash point down, and D975 sets a 52°C (126°F) minimum for No. 2 diesel. A lab flash point test (D93) catches it.
Water and urea in the fuel system
DEF is 32.5% urea in deionized water. It belongs in the exhaust, not the fuel system, and has none of the lubricity of diesel. Treat it like gasoline: don't turn the key, drain the tank, and follow the engine maker's procedure.
Less severe, still a drain job
Diesel won't burn properly in a spark-ignition engine. It costs power, fouls spark plugs and the fuel system, and the heat can damage the catalytic converter. Don't start it. Drain and flush.
A tax problem, not a mechanical one
Red-dyed diesel in an on-road tank runs fine but breaks federal tax law. The penalty under 26 U.S.C. 6715 is the greater of $1,000 or $10 per gallon, and it rises with repeat violations. See off-road diesel compliance.
For a storage tank, the same rule applies: a blend of the wrong product can't be filtered back into spec. Polishing removes water, sediment and microbial debris, not a second fuel. Mixed fuel gets pumped out and the tank refilled.
Type 7Additive misuse
Additives solve real problems when they're the right product, at the right dose, at the right time. Used wrong, they become contamination themselves:
- Anti-gel added too late. Cold-flow additives have to go in before the fuel reaches its cloud point. Power Service, for example, says to treat before wax crystals form. Once filters are waxed, you need heat or a rescue product, not more anti-gel.
- Biocide without removing the water. Fuel-soluble biocides are typically inactivated by water, which is where the microbes live. Drain the water bottom first, dose for the full tank volume, and follow the label.
- Filters ignored after a biocide. A kill turns live slime into dead biomass that still has to go somewhere. TotalEnergies' biocide directions say to check filters 48 hours after a curative treatment. Polishing after the treatment takes it out of the tank.
- Unregistered products. In the US, fuel biocides are pesticides. D6469 says to use only products registered with EPA, approved as fuel additives, and registered in the states where they're used.
- Oils that aren't fuel. D975 notes that triglycerides (vegetable oils, animal fats, greases) have been found to foul fuel-burning equipment. Straight vegetable oil and used cooking oil aren't biodiesel.
- Anything in the DEF tank. Anti-gel, antifreeze or water in DEF takes it out of spec. See does DEF freeze.
Signs of contaminated diesel, by system
The early warning
Changing filters well before their interval is the classic sign. Look at what's on the old element: slime or dark mats mean microbes, a waxy film means cold flow, gritty rust or dirt means particulates, gummy varnish means aged fuel.
What the sample shows
Good diesel is clear and bright. Haze, dark color, a water layer, a ragged "rag layer" at the interface, sludge in the jar, or a sour, rancid smell all mean trouble. Rusty fittings and a weeping tank seam are late signs.
Wear you can't see
Particles and water wear the tight clearances in high-pressure pumps and injectors. Gums and deposits disturb the spray. The result is hard starting, rough running, smoke and, eventually, a failed pump.
On the road or the job site
Fuel starvation from a plugging filter shows up as surging, low power under load and stalls. Poor combustion shows up as smoke. Knocking and a sudden no-start after a fill point to the wrong fuel.
Fine in the test, fails under load
Standby tanks are the worst affected because fuel can sit for a year or more between real runs. The typical failure: the set starts, takes load, and the filters choke. See diesel generator maintenance and the generator maintenance checklist.
Trouble right after a delivery
New fuel stirs up whatever sat on the bottom. Filters plugging right after every fill usually means a dirty tank, not a bad load. Test before you blame the supplier.
How to test diesel for contamination
- Pull a bottom sample, not just a top one. Contaminants settle. D975 recommends a bottom (or clearance) sample along with an all-levels sample, and D6469 calls bottom samples the best material for microbial testing.
- Look at it. In a clear jar, good fuel is clear and bright (ASTM D4176). An interface sample should show either no water or two clear layers. Haze, a slimy rag layer or settled solids mean you need lab work.
- Screen for microbes on site. ATP tests (D7687) give a result in minutes. Lateral-flow immunoassay kits (D8070) take about 15 minutes, need no lab, and pick up bacteria, fungi and the fuel fungus Hormoconis resinae. Culture tests (D7978) count colonies after incubation in the field or lab. Microbial samples go on ice and should be tested within 24 hours.
- Send a lab panel. A standard panel covers water and sediment, Karl Fischer water, microbial growth, particulates, oxidation stability, cetane index, flash point, cloud point and sulfur. The results tell you whether the fuel needs polishing, the tank needs cleaning, or the fuel needs replacing.
FuelGo pulls the sample from your tank and sends it to a lab that checks it for water, sludge, bacteria and more. The full test list is on the fuel polishing page.
PreventionA diesel contamination prevention program
Prevention comes down to housekeeping on a schedule. Most of it comes straight from ASTM D975, D6469 and NREL's handling guide:
Seal it and drain it
Keep fill caps, vents and gaskets tight. Drain water bottoms on a schedule. D6469 warns that draining is never 100% effective and that flat and convex tank bottoms hold the most water, so test even after you drain.
Less air, less breathing
D975 says fixed-roof tanks should be kept full to limit oxygen and tank breathing. That cuts condensation and slows oxidation. A keep-full delivery schedule makes it automatic.
Turn fuel over
Have a plan to replace aged fuel, not just store it. Fuel that cycles through in weeks rarely causes trouble. Fuel that sits for a year is where problems start.
Shade above-ground tanks
D975 recommends sheltering above-ground tanks or painting them a reflective color, because heat speeds degradation. Avoid copper and galvanized fittings in fuel service.
Sample on a schedule
Monitor stored fuel with bottom samples and keep records. NREL says standing tanks should be tested for microbes regularly. Many facilities test at least once a year and polish when the results call for it.
Switching fuels or seasons
Biodiesel blends loosen old sludge. NREL recommends cleaning the tank when switching to B20 or higher. Set up winter fuel and cold-flow treatment before the first cold snap, and label fill points so DEF and fuel never share a nozzle.
When to call for fuel polishing, tank cleaning or a pump-out
A filter change treats the symptom. Call for remediation when you see:
- Filters plugging well before their interval, or slime and dark mats on the element
- Free water or sludge in a bottom sample, or a positive ATP or culture result
- Fuel that has sat untested for a year or more, especially in a standby generator tank
- Rough running, surging or smoke under load that new filters didn't fix
- Any chance the wrong product went into the tank
Polishing filters and dewaters the fuel in place. Tank cleaning removes sludge and mats from the tank itself. A pump-out is for fuel that can't be saved. Which one you need is explained in fuel polishing vs. tank cleaning.
FuelGo does all of it on site: fuel polishing, tank cleaning, fuel pump-out and lab fuel testing, as a one-off visit or a regular maintenance plan. When the tank is ready, we refill it with dyed diesel, clear diesel or R99 renewable diesel on the same account. Generator down or fleet stranded on bad fuel? Dispatch runs 24/7/365 for emergency fuel delivery. Get a free quote or call 800-720-4546. A dispatcher replies within the hour.
Common questionsDiesel fuel contamination FAQ
What are the signs of contaminated diesel fuel?
What is diesel bug?
How do you test diesel for contamination?
Can contaminated diesel be fixed?
What happens if you put gas in a diesel engine?
What happens if DEF gets in the fuel tank?
What happens if you put diesel in a gasoline engine?
Do additives or biocides fix contaminated diesel?
Sources: ASTM D6469, Guide for Microbial Contamination in Fuels and Fuel Systems · ASTM D975-24, Specification for Diesel Fuel · ASTM D4176 · ASTM D7687 · ASTM D7978 · ASTM D8070 · US EPA, Investigation of Corrosion in USTs Storing Diesel (2016) · NREL, Biodiesel Handling and Use Guide · Donaldson, Why clean fuel is critical · Construction Equipment, 12/9/6 and fuel cleanliness · Ford 6.4L/6.7L diesel non-diesel fuel service procedure (NHTSA file EA11-003) · The AA, wrong fuel advice · 26 U.S.C. 6715 · Power Service, diesel in cold weather · TotalEnergies fuel biocide technical booklet