Home/Yacht Maintenance/Diesel bug in your fuel tank
Engines & fuel · San Diego

Diesel Bug in Your Fuel Tank: How to Spot It, Clear It, and Keep It Gone

By Luke Ludemann · Last updated July 2026

Diesel bug is a microbial growth that lives in the water sitting at the bottom of your fuel tank and feeds on the fuel above it. You usually meet it as black or brown sludge in your primary filter bowl. Left alone it blocks filters and shuts the engine down, almost always in rough water. Fuel turnover, a dry tank and clean filters prevent it.

You have looked into the clear bowl under your primary filter and seen something dark in there. Or you have never looked, and you have just realised you probably should. Either way, if your boat sits more weeks than it runs, this is your system to watch.

The problem

I learned this one the hard way

She was a 1979 sloop I bought in Cairns. She had been sitting on a mooring for two years before I got her. Tropical, hot days, wet air, tanks half full, and nobody running the engine. Which is the exact recipe, though I did not know that yet.

I checked the fuel. It looked fine. I checked the filter bowls. They looked fine too. So I stopped looking.

First proper motor sail, I had a lee shore off to one side and enough slop to get her moving around. That was the first time in two years anything in that tank had been stirred. Everything sitting on the bottom came up into suspension and went straight down the pickup and into my filters. They blocked so completely that nothing was getting through at all. The engine starved and shut down.

Lee shore, under sail, sorting out fuel filters.

The 1979 sloop from the story, bought as a blue water boat
The boat I learned this on. Changing filters while underway is no fun, and it is never on the day you would have picked.

It got me twice before I stopped treating it as a filter problem and started treating it as a tank problem.

A clean bowl does not mean a clean tank.

This is the part that catches people out, and it caught me. The bowl shows you what is moving through the fuel right now. It tells you nothing about what is lying still on the bottom of your tank. A boat that has sat quietly can show you a perfectly clear bowl and still have two years of sludge waiting on the floor of the tank for the first bit of weather.

If the boat has sat, assume the tank is dirty until you have looked in it. Not at the bowl. In the tank.

What is at stake

What your fuel filtration is actually protecting

Your engine's injection system is the most precisely made thing on your boat. The pump elements and the injector needles run at clearances finer than a human hair, and they are lubricated by the diesel itself. Nothing else.

That means two things will hurt them. Water has no lubricating value, so metal runs on metal. It corrodes and it pits. On a common rail engine, water in the fuel can wreck an injector in a single run. Particles act like grinding paste through those clearances. Rust flakes, tank scale, and the dead biomass from diesel bug all qualify.

Your filters exist for exactly this. They are cheap insurance protecting the most precisely built assembly in your engine room. An injection system overhaul is not a small job, and it is not a quick one.

The cause

What diesel bug is, and why it is in there

Diesel bug is the workshop name for a mix of bacteria, yeasts and fungi that live in fuel tanks. They are not exotic. They arrive with the fuel, on air drawn in through the tank vent, and in the water that gets in.

Here is the part most owners have never been told. They do not live in the fuel. They live in the water. Water is denser than diesel, so it settles to the bottom of any tank and stays there. The growth sits at the boundary where that water meets the fuel, breathing what is in the water and eating the hydrocarbons above it. No water, no bug. It really is that simple.

Water gets in three ways. Condensation, when warm humid air fills the empty part of your tank and beads on cool tank walls overnight. The deck fill, where a tired O-ring under the cap sends every washdown and every rain event straight into your tank. And the fuel itself, because diesel from a low turnover supplier can carry water in with it.

Dark brown microbial sludge visible inside a marine fuel filter
Diesel bug in a fuel filter. That dark material is not dirt, it is growth, and there is a lot more of it in the tank than there is here.

What you are looking for is dark brown or black slime. Stringy mats that hang in the fuel like seaweed. A coffee ground sludge in the bottom of the bowl. Sometimes a clear layer of water underneath with a dark scum line sitting on top of it. Fuel that should be a clean straw colour looking cloudy or dark instead. If you pull an element and it is black and slimy rather than just dirty, that is your answer.

Your fuel

What you are actually buying in California

Worth knowing, because two quite different fuels come out of pumps in this state and they behave differently in a tank that sits.

Biodiesel blends, B5 to B20. Made from fatty acid methyl esters, usually shortened to FAME. Biodiesel is more hygroscopic than ordinary ultra low sulphur diesel, so a blend like B20 absorbs and holds more water. More water means more habitat. Biodiesel is also a strong solvent, so it can loosen sediment that has been sitting quietly in an old tank for years and send it to your filters. If you change fuel supplier and suddenly start blocking filters, that is often why.

Renewable diesel, labelled R99 or R100. Despite similar origins, this is chemically a hydrocarbon diesel rather than FAME, and it has notably better storage stability. California uses most of the renewable diesel produced in the United States because of the Low Carbon Fuel Standard, and CARB reported that more than 60 percent of the state's petroleum diesel was replaced by renewable diesel in 2024.

So a good share of California diesel is now the more storage stable option, which is genuinely good news for a boat that sits. It does not make you immune. The bug lives in the water, not the fuel, and water still gets in. But if yours is a low use boat, it is worth knowing which one you are putting in her.

One more reason to care. When microbes metabolise FAME they produce organic acids. Those acids corrode steel tank components and can weaken polymer seals and fittings. That is how a fuel problem quietly turns into a tank problem.

The hardware

Primary and secondary filters, and why there are two

The primary is the one on the bulkhead, before the engine. Usually a Racor with a clear bowl and a drain at the bottom. Its job is water and the big stuff. It is coarse on purpose, so it can hold a lot of contamination without blocking. That clear bowl is your window into the tank, and it is the single most useful diagnostic tool on your boat.

The secondary is bolted to the engine, fitted by the engine maker. It is much finer. Its job is the final polish on the fuel in the moments before it reaches the injection pump. It is the last line of defence and it is not designed to do the primary's work.

Two rules worth knowing. The primary must always be coarser than the secondary. Fit a fine element to the primary and you will block it constantly, and you have moved the protection to the wrong place. Your engine manual specifies the micron rating for both, so use it rather than whatever the chandlery has on the shelf.

And if your primary has a vacuum gauge, that gauge is telling you how hard the engine is having to suck through the filter. Log the reading each time and you will see a problem coming weeks before it stops you.

Vacuum gauge on a marine primary fuel filter showing restriction as the element loads up
A vacuum gauge on the primary. The needle climbing means the engine is working harder to pull fuel through a filter that is loading up. This is your warning, and it arrives long before the engine stops.
If it is ignored

Nothing happens, for a long time. That is the trap

The sludge sits on the bottom of the tank, undisturbed, while the boat sits in a flat marina. The pickup tube draws from just above it and everything is fine. You run around the bay and everything is fine.

Then you go outside in a swell, or you make a crossing, and the tank gets properly stirred for the first time in a year. Everything that was on the bottom is now in suspension and heading for your primary filter. Vacuum climbs, the engine loses power under load, and then it stops.

It stops in the entrance channel. It stops in a seaway with a lee shore. It never stops on the dock. Mine picked the lee shore.

Beyond that one bad day, the longer term damage is real. The acids those microbes produce sit against the bottom of your tank, corroding and pitting it. Water in the fuel gums an injection pump and corrodes injectors. What starts as a filter problem becomes a tank problem, and then an engine problem.

The bug does not ruin your day in flat water. It waits for the swell.

Prevention

What actually works

Run the boat. Fuel turnover beats every additive ever made. Fuel that moves does not sit still long enough to grow anything.

Keep the tank full when she is sitting. Full tank, no air space, nowhere for condensation to form. Especially over a long layup.

Buy fuel from busy docks, where high turnover means fresh fuel and clean tanks at their end. And check your deck fill seals, because ten seconds with a screwdriver and a new O-ring closes off the biggest single water source on most boats.

Drain the bowl. Crack the drain, catch a bit in a clear jar, look at it, close it. Do it whenever you are in the engine room. It takes a minute and it is the whole ballgame.

Treat with a biocide, a shock dose and then a maintenance dose at each fill. But know the limit. Biocide kills the bug, it does not remove it. The dead biomass drops to the bottom of the tank and can still block your filters. Biocide is prevention, not a cure.

Change filters on a schedule, not on a symptom. Write the date and the engine hours on the element with a marker when you fit it. Carry spares and know how to bleed. A filter change at sea is a twenty minute job if you have done it once at the dock, and a nightmare if you have not.

First response

You have seen it in the bowl. What now?

Do not panic and do not cast off. Take a photo, then take a sample. Crack the drain into a clean clear jar, let it settle for a few minutes and read the layers. Water on the bottom, fuel above it, and the growth living at the line between them.

Clear water only means a water ingress problem, which is the easier one. Black stringy slime or sludge means growth, and there is more of it in the tank than in your bowl. Drain the water off and note how much. If it fills again within a few days, you have an active water source, not a historical one.

Then change both filters, primary and secondary, bleed the system and run her up at the dock. Check the vacuum gauge before and after. If it drops right back, your new elements are clear. If it climbs again quickly, the tank is feeding it. Log the date, the engine hours, what you saw and how much water came out.

Water separator bowl on a marine primary fuel filter with contamination collected in the base
A water separator doing exactly what it is there for, and well overdue for service. Everything sitting in that bowl is material that did not reach the injection system.
The fix

How it gets rectified properly

Fuel polishing. The fuel is drawn from the lowest point in the tank, run through a high flow filter and water separator, and returned. It is circulated for hours until it runs clean. A good polish sweeps the bottom of the tank rather than just skimming clean fuel off the top. It will clear suspended growth and free sludge. It will not remove hardened sludge stuck to baffles and tank walls.

Tank cleaning. The only complete fix on a badly contaminated tank. Fuel is pumped out, inspection ports are opened, and the bottom and the baffles are physically scrubbed, vacuumed and wiped down. Plenty of older boats have no inspection port at all, in which case cutting and fitting a proper flanged access port is the right long term move. Once it is there, the tank can be checked forever after.

The filter housings, which everyone forgets. The inside of your primary housing, the bowl, the lid and the sealing faces are all coated in the same slime. Fit a brand new element into a dirty housing and you have re-contaminated it before you have left the slip. Strip it properly. Bowl off, element out, housing cleaned with clean diesel, new bowl O-ring and lid seal, check the T-handle seal, reassemble and prime with clean fuel. Same treatment for the filter base on the engine.

Servicing the secondary fuel filter. Worth watching once at the dock, so that it is familiar the day you have to do it in a seaway.

Then change the filters again after roughly ten hours of running, and again shortly after that. You will keep dislodging material for a while and that is normal, not a sign the work failed. And fix the cause: a biocide programme, sealed deck fills, and the habit of keeping the tank full when she sits. If the boat earns it, a duplex primary with a changeover valve lets you swap filters under way without stopping the engine.

Why here

Why this is so common in San Diego

This is the most common fuel problem in this harbour, and it is not because of the fuel. It is because of how boats live here.

The climate is kind, so there is no season that forces you to haul out and deal with things. Boats sit. An owner does a handful of trips a year, tops up once, and the same fuel sits in the same tank through a lot of months.

Then there is the marine layer. Warm afternoons, cool damp mornings, day after day after day. That daily temperature swing across a half empty tank is a condensation machine. Every cycle puts a little more water on the tank wall, and it runs down to the bottom, which is exactly where the bug wants it.

Low use, plus a half full tank, plus a humid overnight cycle. That is the whole recipe. It is not bad luck and it is not bad fuel. It is a boat that is not being run.

The lesson

Diesel bug is a water problem before it is a fuel problem, and a clean bowl is not a clean tank. Kill the water and you have killed the bug. The reward for getting your fuel right is that nothing ever happens.

Owner questions

What is diesel bug?

It is a mix of bacteria, yeasts and fungi that live in the water at the bottom of a fuel tank and feed on the diesel above it. They form a dark slime or sludge that blocks fuel filters. They need water to survive, which is why controlling water is the whole fix.

What does diesel bug look like in my filter bowl?

Dark brown or black slime, stringy mats hanging in the fuel, or a coffee ground sludge in the bottom. Often there is a clear layer of water underneath with a dark scum line sitting on top of it. Clean diesel should be a clear straw colour.

Is it safe to run the engine if I can see sludge in the bowl?

Around the bay in flat water, usually yes, but change the filters first and carry spares. Do not head offshore or make a crossing until you know what is in the tank. Rough water stirs the tank and sends everything on the bottom straight to your filters.

Does adding a biocide fix diesel bug?

Biocide kills the growth but it does not remove it. The dead material settles to the bottom of the tank and can still block your filters. Biocide is excellent prevention and a sensible first step in a cure, but a contaminated tank still needs polishing or cleaning.

How often should I change fuel filters if I barely use the boat?

At least once a year regardless of hours, and any time the bowl looks wrong or the vacuum gauge climbs. Low use is a reason to change them more often, not less. Fuel that sits is fuel that grows.

Should I leave the fuel tank full or empty when the boat sits?

Full. An empty tank is mostly humid air, and every cool night condenses water out of that air onto the tank walls. A full tank has almost no air space and almost no condensation.

Not sure what you are looking at?

Send me a photo of your filter bowl. I will tell you straight what it is and what I would do about it.

Ask Luke
Written by Luke Ludemann. 15+ years across superyacht, ferry, commercial fishing, and ownership, currently training owners across a fleet of 42 vessels in San Diego. Nothing here is theoretical.
Ask Luke