FluidEasyAI
Blog

Diesel Bug: Signs, Testing and Prevention in Diesel Fuel

By Alex, CEng MIMechE EUR ING CMRP · · 14 min read

Diesel bug is bacteria, yeast and fungi growing where free water meets diesel fuel. It needs a layer of water, and it shows up as clogged filters and a rotten-egg smell. Confirm it with a sample from the tank bottom and a test. Then remove the water, and clean and treat in an order agreed with your supplier, with the dose set by the product label [1][2][4].

What is diesel bug and why does it grow?

Diesel bug is the common name for microbial growth in diesel fuel. The organisms are fungi, bacteria and yeast that feed on the hydrocarbons in the fuel. Aerobic organisms usually grow at the interface, and anaerobic colonies can sit in sediment on tank surfaces [1]. Some people call it diesel algae, but the sources used here describe bacteria, yeast and fungi.

They live at the boundary between the fuel and free water. A water layer thinner than 0.25 in (about 6 mm) is enough [2]. Finding growth in a tank means the fuel has sat on water for a while. Free water is the breeding ground, and the presence of water is the first thing to look for. Diesel fuel microbial growth is most abundant in slime on surfaces or at the fuel-water interface [4].

The wall of a tank can carry a biofilm that is typically more than 90 percent water. It is a habitat that is hard to sample, so bottom-water samples are used to judge the likelihood of significant contamination on the tank surface [4].

Diesel bug grows where free water sits under diesel: fuel on top, a hazy rag layer in the middle and water at the tank bottom
Microbes grow at the boundary and in the water.

Why does it matter? Microbial contamination clogs filters, and a blocked filter starves the engine of fuel, so engine performance falls. The organisms also make surface-active compounds that move water into the fuel and some additives into the water. Their by-products can speed up fuel breakdown [4]. Microbes can contribute to corrosion of metal parts in the fuel system, and the fuel pump and injectors can be damaged as well [2].

Diesel bug symptoms: what to look for

The most common symptom is a plugged filter. Other signs show in the tank, on the filter, in the fuel and around the facility.

Sign and where it shows

WhereSign
TankA hazy rag layer between fuel and water in a bottom sample; mats or slime on accessible tank surfaces; water at the bottom
FilterAn uneven coating, leopard spotting on a water-coalescing filter, corrosion of metal parts inside the filter, frequent changes
FuelA foul rotten-egg odor; haze; emulsified brown, red or black material, which can also be iron oxide from other causes
FacilityPlugged fuel lines, erratic gauge readings, frequent replacement of valves, seals and hoses (these also occur with other fuel system problems)
Diesel bug symptoms by place: water and a rag layer in the tank, uneven coating on the filter, rotten-egg odor and haze in the fuel
Where to look for signs of diesel bug.

Gross changes usually appear late, after real damage has started [4]. Look early, and keep a record of what you see each time a sample is drawn. In my experience, cut open the clogged filter and look at it before you change the next one. It can often show what is blocking it. Fuel is flammable, so work away from ignition sources.

Is it diesel bug or another filter blocker?

Many problems block filters. Microbes share their symptoms with several other causes, and without a set of tests the root cause can be misdiagnosed [4]. A clogged filter can come from solids, microorganisms, water, or fuel quality problems such as high paraffin content and fuel degradation [2].

Cause, clue and how to separate them

CauseClue
MicrobesRotten-egg odor, rag layer, uneven coating on the filter
WaterHaze, droplets or a water layer near the bottom of a sample
Wax in the coldTrouble in cold weather; biodiesel has a higher cloud point and may plug filters sooner
Rust or siltScaly, gritty, reddish-orange deposits
Degraded fuelBlack, brown or other semi-solid deposits
Five common causes of fuel filter blocking and one clue for each: microbes, water, wax, rust or silt, and degraded fuel
Clues, not proof. Test the sample.

Cutting open the clogged filter can sometimes show which cause you have [2]. A black or brown deposit can also be degraded fuel. So when you ask what diesel bug looks like, the honest answer is: it looks like several other things, and only a test confirms it.

Why does diesel bug appear? Water, biodiesel, old fuel and tank design

Diesel bug contamination needs only a few conditions: water, fuel and time. The three headings below cover where the water comes from, which fuels make it easier, and which tank features hide it.

How does water get in and settle?

Water enters a fuel tank by condensation from humid air and temperature swings, through the delivery chain, and through leaking fill pipes, vents, spill buckets, caps and fittings. Water drained from spill buckets into the tank and storm runoff add to it [2].

Warmer fuel holds more dissolved water. When it cools, the water comes out and settles to the tank bottom [2].

Four ways water enters a diesel storage tank: condensation, a leaky cap or vent, water in delivered fuel, and runoff and spill buckets
Four common routes for water into a tank.

Do biodiesel and old fuel make it worse?

Biodiesel is more biodegradable than petroleum diesel, so it may be more susceptible to growth, mainly at higher blend levels. The field difference is not well documented [1]. Fuel sold as ASTM D975 diesel can contain up to 5 percent biodiesel without special labeling. EN 590 allows up to 7 percent [3].

Biodiesel also holds more dissolved water than ultra-low-sulfur diesel (up to 1,000 ppm for pure biodiesel, B100, against 0 to 200 ppm, depending on temperature) [3]. One maker advises using fuel that contains biodiesel within 3 months of purchase in standby sets [3]. No source gives a safe age in years for ordinary diesel. Time lets water collect and the fuel oxidize, so test fuel that has stood for a long time before you use it.

Biodiesel blends, mainly B100, can loosen old sludge from tank bottoms and carry it to the filters. NREL recommends a thorough cleaning when you move to B20 or higher, and close watch on the filters [1].

Which tank features hide the problem?

Tanks are often tilted. A fill tube can miss water at the low end, and new deliveries wash contaminants away from the fill end [2]. Sunlight through translucent walls promotes growth, and Alberta farm guidance says plastic tanks are not suitable for above-ground fuel storage [5]. A cone-down bottom with a sump retains the least water [4].

How to test for diesel bug

Testing has two parts: a good sample and a method that fits the question. Both matter, because contamination is uneven and one sample is easy to get wrong.

Where do you take the sample?

Take it from the low end of the tank. A fill tube can miss water and sludge, so sample more than one place. A spot under the submersible pump can work well [2]. ASTM D4057 is the practice for manual sampling, and ASTM D7464 covers sampling for microbiological testing [4].

Use a new, clean container and keep it cool. Test within 4 hours and no later than 24 hours, because a sample that waits can show contamination that is not in the tank [4]. Water usually holds far more organisms than the fuel above it, so read the two phases differently [4].

When you test fuel samples, always test the fuel phase above any free water. The water phase cannot always be recovered, and a fuel-phase result still gives a useful indicator [4].

Where to take a tank bottom sample for diesel bug testing: the low end of a tilted tank, because a fill tube can miss water
Sample the low end, and more than one place.

Which tests show diesel bug, and what do they miss?

Start with your eyes. Fill a clear container with fuel, swirl it, let it settle and look for haze, droplets, a water layer and sediment [5]. A hazy sample probably holds water. A field kit can then check for microbes, and an independent lab can find the extent [2]. Regular testing, rather than a single check, shows whether the level is rising.

What each test shows

TestWhat it showsKeep in mind
Visual, ASTM D4176Free water and particles in distillate fuelsShows haze, water and sediment. It does not name microbes
Culture, ASTM D6974 (filter) and D7978 (gel)Counts viable bacteria and fungi that grow on the mediumThe result depends on organism, medium and incubation
ATP, ASTM D7463 and D7687ATP from microorganisms in fuel and waterMeasures ATP, not species. D7463 can include free ATP and particles
What visual, culture and ATP tests show for diesel bug, and the reminder that no single test is the diagnosis
Three kinds of test. None is the diagnosis alone.

Culture tests need several days of incubation, so they confirm a problem after the fact. In ASTM D7463 the ATP can be inside cells, free outside cells, or both. ASTM D7687 concentrates the sample by filtration first and reads ATP inside whole cells, living or dead. ASTM D6974 states that counts should not be read as absolute values. Use them as part of a diagnosis with other tests, and use one procedure consistently [4]. D7978 adds that setting pass or fail limits on microbial counts is usually not appropriate. One sample rarely gives the whole picture, because contamination is uneven [4]. Light, moderate and heavy levels depend on the fuel type, the sampling location and the facility. Use ATP testing and culture for trends on the same tank, taken the same way each time.

Which fuel lab report results point to diesel bug?

A fuel report does not name diesel bug by itself. It shows the conditions that allow microbial contamination. Read the results in this order, and compare them with earlier samples from the same tank, so you see a change and not just a number. More on reading a report: https://fluideasyai.com/blog/how-to-read-oil-analysis-report

What the result may mean

ResultWhat it may point to
AppearanceHaze, droplets or sediment point to water, and water is what microbes need
Water and sediment (ASTM D2709)Free water and sediment in volume percent. The biodiesel specifications ASTM D6751 (B100) and D7467 (B6 to B20) give 0.05 percent by volume maximum [1]
Water by Karl Fischer (ASTM D6304)One maker limit: 200 ppm for its standby sets when fuel contains biodiesel and is not used within 3 months [3]. Your maker and supplier come first
Microbial count or ATPA trend over time, not a pass or fail value
Acid number and oxidation stabilityOn biodiesel blends they show whether the fuel oxidized in storage [1]
Reading order of a fuel lab report when diesel bug is suspected: appearance, water and sediment, microbial count or ATP, then trend and cause
Four steps to read a fuel report for diesel bug.

How to prevent diesel bug

Prevention is a water-control routine, and it is cheaper than a tank cleaning. Tanks that collect water from deliveries or ingress should be checked for microbial contamination quarterly to semiannually, which is CRC guidance for retail underground tanks. Set your own interval from the trend [2][4]. Good design helps: a cone-down tank bottom with a sump lets water and sediment collect at one point, and, on a horizontal underground tank, a second access port at the end opposite the fill pipe allows dipping for water at both ends [4]. Each item below follows the maker, regulator and industry guidance listed in the sources [1][2][3][5].

  • Check for water after each delivery, and take bottom samples regularly. With a water-finding paste on a gauge stick, retail tank guidance is to remove water when the reading shows 1 inch or more. That is a tank rule of thumb, not an engine limit.
  • Seal all openings, and keep gaskets, hatches and vents in order. Inspect vent screens every 6 months.
  • Keep storage tanks full and rotate stock, to reduce the space where water can condense.
  • Test tanks that collect water from deliveries or ingress for microbes every 3 to 6 months (CRC retail tank guidance). A maker may ask for more, for example monthly tests on standby fuel that sits beyond 3 months.
  • Use fuel that contains biodiesel within 3 months where the maker advises it.
  • Clean the tank bottom with a qualified company, using methods such as camera-guided extraction, steam cleaning or a filter agitator.
  • Consider fuel polishing, which pumps the tank contents through a recirculating filter to take out sediment and gums.
  • Change water-absorbing filters on schedule, because the polymer that holds water restricts flow when full.

These items follow [1][2][3][5].

Water control loop that prevents diesel bug: check for water after each delivery, remove it, keep the tank sealed and full, and test every 3 to 6 months
A loop of water control.

What to do when you find diesel bug

Finding diesel bug is a reason to act on the water, not only on the microbes. The order below follows industry guidance [2][4].

In what order do you treat it?

Work in order. The sequence matters more than the product. A high microbial load with no other gross evidence of contamination is usually handled by water removal and biocide treatment. Heavy slime, sludge or blocked lines usually also need tank cleaning [4].

Steps when diesel bug is found, in order: confirm, remove the water, clean and treat in the order your plan sets, then change filters, resample and find the source
Treatment steps in order.
  1. Confirm with a bottom sample and a test.
  2. Remove the water. Most tanks cannot be drained completely, but it is the first step. Then test a sample of the removed water. A positive result means the contamination is likely in the whole system [4].
  3. Clean the tank or polish the fuel, and treat with a registered product, in the order your plan sets. Product pumped from the bottom must not go back into the tank.
  4. Change filters, resample and find where the water came in.

What about diesel bug treatment with biocide?

Biocides come in fuel-soluble, water-soluble and universally soluble types, and each reaches different places. Dose and frequency depend on the product and the system [1][4]. In the US the product should be EPA-approved, and state rules can apply. A registered label is legally enforceable, so the label sets the dose and the use [6]. This article names no dose and no product for that reason. Biocides are toxic, so read the safety data sheet. Outside the US, check your national biocide rules.

Sources differ on the order of biocide and cleaning. ASTM D6469 describes a first treatment, then cleaning, then a second treatment for heavily contaminated systems. CRC retail guidance gives both orders. Follow a plan agreed with your fuel supplier and a microbial-control specialist. Under-dosing can make a biocide less effective, as aviation guidance warns. After a treatment, expect more frequent filter changes for a short time while dead biomass loads the filters [2]. Resample afterwards, and keep chasing the source of the water.

Diesel bug FAQ

How do you get rid of diesel bug?

Remove the water, clean the tank or polish the fuel, then treat with a registered product at the label dose [6]. Change the filters and resample. Treatment alone fails if water keeps coming in, so find and fix the source too.

What does diesel bug look like?

There is no single look. Typical signs are an uneven coating on filters, a rotten-egg odor and a hazy rag layer in a bottom sample. Black or brown deposits can also be degraded fuel, so confirm with a test [2].

Is diesel bug the same as diesel algae?

People use both names, and also say diesel fuel algae, for the same problem. The sources used here list bacteria, yeast and fungi as the organisms [1]. They need free water, and the water layer at the bottom of the tank is where they gather.

How do you test for diesel bug?

Sample the low end of the tank, then use culture or ATP tests, read alongside water and appearance. ASTM says counts are not absolute values, so the trend matters more than one number [4].

Is old diesel fuel more likely to grow diesel bug?

Time lets water collect and the fuel oxidize, which helps growth. No source gives a safe age in years. Test fuel that has stood for a long time. One maker advises using fuel that contains biodiesel within 3 months [3].

This article is general engineering information. Limits set by the equipment maker, the lubricant or fuel supplier and your laboratory take priority. A qualified engineer makes the final decision.

Sources

  1. National Renewable Energy Laboratory (NREL), Biodiesel Handling and Use Guide, 6th ed., 2023.
  2. Coordinating Research Council (CRC), UST guidance for ULSD dispensing facilities (2010) and Report 672 (2016).
  3. Cummins, Biodiesel Usage in Cummins Engines: Standby Power Genset Applications, white paper, December 2024.
  4. ASTM International, standards D2709, D4057, D4176, D6304, D6469, D6974, D7463, D7464, D7687 and D7978, https://www.astm.org
  5. California Department of Food and Agriculture, Fuel Contamination: Water and Sediment, 2023; Alberta Agriculture, Farm Fuel Storage and Handling.
  6. US Environmental Protection Agency, Introduction to Pesticide Labels.