Treats up to 25 gallons of DEF per bottle · Made in the USATreats up to 25 gal of DEF

How to Clean a DEF Tank: Step-by-Step Guide

Technician flushing and cleaning a DEF tank to remove crystallization

DEF tank crystallization can set P207F and P20EE fault codes and lead to engine derates and costly SCR repairs on diesel trucks, RVs, and equipment. This step-by-step guide covers how to clean a DEF tank at home or in the shop, what to do when the tank is not the whole problem, and how to help prevent crystallization from returning with NüDef.

DEF tank crystallization is a common cause of SCR fault codes, engine derates, and unplanned shop visits on diesel vehicles. When urea deposits build up inside the tank, lines, or dosing injector, the system cannot deliver DEF correctly, and the ECU responds with warning codes and progressive speed restrictions. Knowing how to clean a DEF tank properly can save you a dealer visit.

This guide covers the complete process for cleaning a DEF tank at home or in the shop: what you need, step-by-step instructions, what to do when the tank alone is not the problem, and how to prevent crystallization from coming back.

Signs Your DEF Tank Needs Cleaning

DEF fault codes. P207F (Reductant Quality Performance) and P20EE (SCR Catalyst Efficiency Below Threshold) can be caused by crystallization in the tank, lines, or dosing injector. If you have pulled one of these codes and the DEF looks discolored, cloudy, or has visible white deposits, the tank is the starting point.

White residue at the filler neck or cap. DEF is colorless and clean when fresh. White chalky deposits at the fill point mean urea has been concentrating and crystallizing at the surface where evaporation occurs fastest. If you see it outside the tank, there is almost certainly more inside.

Strong ammonia smell. DEF has a mild ammonia scent normally. A sharp, strong smell means the urea is breaking down into ammonia as the fluid degrades. Combined with a fault code or reduced SCR performance, this confirms the system needs a drain and clean before refilling.

Diesel or another wrong fluid went in. A wrong-fluid fill is its own kind of DEF tank cleaning: the contaminated fluid comes out, the tank gets a distilled-water flush, and fresh DEF goes in only after that. Our guide to DEF tank cleaning after diesel gets in the DEF tank walks through both directions of the mix-up step by step.

What You Need Before You Start

  • Fresh ISO 22241 certified DEF: for refilling after the clean
  • Distilled or deionized water: for flushing (never use tap water; the minerals will contaminate the system)
  • A clean DEF-rated collection container: to catch the drain
  • NüDef DEF Treatment, Additive & Stabilizer: to treat the fresh fill and help prevent new crystals
  • Nitrile or chemical-resistant gloves: DEF leaves white urea deposits on skin and clothing as it dries
  • Drain plug location: check your service manual or a quick web search; it varies by make and model

Step-by-Step DEF Tank Cleaning

  1. Let the engine cool completely. DEF lines and the dosing injector operate under pressure when the system is warm. A hot system makes access difficult and potentially unsafe. Park on a level surface and wait at least 30 minutes after shutdown.

  2. Locate and prepare the drain plug. On most pickup trucks, the DEF tank drain plug is accessible from underneath near the tank. On commercial vehicles, look for a panel on the side. Position your collection container beneath the drain point before loosening the plug.

  3. Drain the tank completely. Inspect the fluid coming out. Cloudy, discolored, white-particle-laden, or strongly ammonia-scented DEF has degraded significantly. Dispose of it properly. It is not hazardous waste but should not be poured into storm drains.

  4. Rinse with distilled water. Add one to two gallons of distilled water through the filler neck. Distilled only. Tap water contains calcium, magnesium, and minerals that will contaminate the SCR catalyst. Swirl or gently rock the vehicle to loosen crystalline deposits from the tank walls, then drain completely.

  5. Repeat the rinse if needed. If the first rinse came out visibly white or cloudy with suspended deposits, do a second rinse. A clean rinse runs clear. When it runs clear, the tank is ready to refill.

  6. Add NüDef, then refill with fresh DEF. Add NüDef to the empty tank first at one dose per 2.5 gallons of DEF you plan to add, then fill with fresh ISO 22241 certified DEF. Do not exceed the recommended dose. NüDef stabilizes the fresh fluid and helps prevent new crystals from forming.

  7. Run the engine through a full warmup cycle. Start the engine and let it idle for 10 to 15 minutes to complete a full DEF system initialization. Then drive at highway speeds for 30 to 60 minutes. Highway driving brings the exhaust up to full temperature so the ECU can run its SCR checks. If bad fluid caused the code, it may clear after a few drive cycles on fresh, in-spec DEF. If it does not, scan the system.

DEF Crystals in Tank: What They Look Like and How to Remove Them

DEF crystals in the tank are distinct from crystals found in the dosing injector or supply lines, and they require a different assessment. Tank crystals form when DEF sits in a partially filled tank for weeks or months, allowing water to evaporate from the air-to-liquid surface. The urea concentrates at the top of the fluid column first, then precipitates as white crystalline deposits on the tank walls, the level sensor, and the outlet strainer at the bottom of the tank.

Visually, DEF crystals in the tank appear as a white chalky coating on internal surfaces that you can see when inspecting through the filler neck with a flashlight. In advanced cases, loose crystalline sediment settles at the bottom of the tank and can be felt as grit when you run a finger along the drain plug area. The fluid itself may appear cloudy or have visible white particles suspended in it rather than running clear.

Tank crystals are a problem even if the dosing injector is still clean. The crystalline sediment at the tank bottom clogs the outlet strainer, restricting DEF flow to the pump. Reduced flow means the pump works harder and the injector receives less DEF than the ECU expects, which can set DEF pressure or dosing fault codes. If enough sediment passes the strainer, it reaches the pump screen and accelerates crystallization downstream in the supply lines and injector.

To remove DEF crystals in the tank, follow the full drain-and-rinse procedure above. Pay special attention to the distilled water rinse step: swirl or rock the vehicle to dislodge crystals from the tank walls and level sensor. Drain and inspect. If the rinse water comes out white or gritty, repeat until it runs clear. After refilling with fresh DEF treated with NüDef, the stabilizer helps prevent new crystals from forming. Keep the cap sealed and the tank topped off to limit the evaporation that started the problem.

When Cleaning the Tank Is Not Enough

If fault codes return after a tank drain and refill, the crystallization has moved beyond the tank into the supply lines or dosing injector. The dosing injector is the most common location for deposits that survive a tank cleaning. It operates at the hottest and most thermally variable point in the system, which is exactly where crystals form fastest.

For severe injector blockage that sets an injector or dosing fault code, the injector may need physical cleaning or replacement at a diesel shop. This is usually a 1 to 3 hour job, and the cost depends on the vehicle platform and labor rates. Catching the problem at the tank drain stage, before it progresses to full injector blockage, can save you that repair.

How Often to Clean Your DEF Tank

Treating DEF with NüDef at every fill helps prevent the crystallization that leads to emergency tank cleanings. Treat at every fill-up and before every storage period, keep the cap sealed, and store DEF cool.

For vehicles that have not been treated, or where treatment was inconsistent, a preventive drain and refill with NüDef treatment is worth doing once per year for vehicles that see seasonal storage, extreme temperature exposure, or low annual mileage. Consider it a DEF system reset: fresh fluid, clean tank, NüDef treatment, and a fresh protection cycle begins.

For commercial vehicles running daily with high DEF consumption, an annual inspection of the tank outlet screen and supply line connections is a good habit. Fleets can treat bulk DEF with NüDef at the fueling island so every truck gets treated fluid.

Preventing Crystallization from Coming Back

The most common mistake after cleaning a DEF tank is refilling with untreated DEF and expecting different results. The conditions that caused crystallization the first time, including temperature swings, evaporation, and extended parking, have not changed. Fresh DEF alone does not change those conditions.

Add NüDef to every DEF fill going forward. The dose is simple: add NüDef to the tank before adding DEF, or mix directly into a DEF jug before pouring. Use one dose per 2.5 gallons of DEF and do not exceed the recommended dose. NüDef is for use with ISO 22241 / API certified DEF.

For vehicles stored for more than three weeks between uses, including seasonal trucks, RVs, marine vessels, and generators, treat the tank before parking in addition to at every fill. The pre-storage dose matters because parked DEF sits through static fluid, temperature swings, and slow evaporation, the conditions that lead to crystallization.

Technician flushing and cleaning a DEF tank to remove crystallization

Frequently Asked Questions

How do I know if my DEF tank has crystallization?−

The clearest indicators are DEF-related fault codes (such as P207F and P20EE), visible white deposits around the filler cap or neck, and DEF that smells strongly of ammonia beyond its normal mild scent. If you pull the filler cap and see white chalky residue, crystallization is present inside the tank and likely in the supply lines as well.

Can I use tap water to rinse my DEF tank?+
Will NüDef clear my DEF fault codes?+
How long does a DEF tank cleaning take?+
Do I need to clean my DEF tank if I already use NüDef?+
What if my fault code comes back after cleaning?+

Tips for DEF Tank Cleaning and Maintenance

Always Use Distilled Water for Rinsing

Tap water contains calcium, magnesium, and chlorine that will contaminate your DEF system and can damage the SCR catalyst. Use only distilled or deionized water when rinsing the DEF tank. It costs roughly a dollar per gallon at any grocery store and the two gallons needed for a double rinse is the cheapest insurance you can buy during a tank cleaning.

Add NüDef Before Adding Fresh DEF

After the rinse is complete and before refilling with fresh DEF, add NüDef to the empty tank first. When the fresh DEF goes in on top, it mixes with NüDef immediately and the stabilizer is distributed evenly throughout the fluid from the first moment. That way the whole fill is treated from the start.

Drive After Cleaning, Do Not Just Idle

Fault codes related to DEF quality clear most reliably through heat cycles, not idle time. After cleaning the tank and refilling with NüDef-treated DEF, drive the vehicle at highway speeds for at least 30 to 60 minutes. Highway driving brings the exhaust up to full temperature and lets the ECU confirm that the system is performing within spec before it clears the stored fault.

Inspect the Outlet Screen During Every Drain

Most DEF tanks have a small mesh screen at the outlet where fluid exits to the supply line. This screen catches particulate before it reaches the pump and injector. During a drain, remove and inspect the screen. A screen coated in white crystal deposits means crystallization has been occurring for some time. Clean it with distilled water and a soft brush before reinstalling.

Do Not Top Off Degraded DEF

Topping off a tank of degraded DEF with fresh DEF does not restore the fluid to spec. It just dilutes the problem. If your DEF smells strongly of ammonia or has visible deposits, drain fully before refilling. Adding fresh DEF on top of degraded fluid produces a mixture that may still trigger quality fault codes, and you will have wasted a full tank of fresh DEF in the process.

Treat Every Fill Going Forward, Not Just After Problems

NüDef works best as a preventive treatment, not a reactive one. Treating every fill helps prevent the crystallization cycle from starting again. Once you have cleaned the tank and resolved the immediate fault, make NüDef part of every refill from that point forward.

ProblemWithout NüDefWith NüDef TreatmentTypical Cost Avoided
Tank CrystallizationUrea concentrates, white deposits coat tank walls and outlet screenStabilizer helps prevent crystallization in the tankHelps avoid drain/rinse time and quality codes
Dosing Injector BlockageCrystals block nozzle, dosing fault codes, injector cleaning or replacement neededHelps prevent crystals at the injectorHelps avoid injector service
Degraded DEF QualityAmmonia smell, cloudy fluid, P207F quality fault code loggedFresh, cool-stored DEF plus NüDef to help prevent crystalsHelps avoid a drain/refill and dealer diagnostic
SCR Catalyst DamageCrystal buildup disrupts dosing, P20EE, costly SCR repairHelps protect the SCR system by preventing crystal buildupHelps avoid costly SCR repairs
Repeat Cleaning CyclesThe same conditions can cause crystals to form againOne NüDef dose per 2.5 gallons at every fill helps prevent recurrenceHelps avoid repeat drain/refill labor and downtime
Engine Derate / Limp ModeFault codes trigger an engine derate, vehicle stranded or towedHelps prevent the crystal-related faults that start a derateHelps avoid tow bills, roadside service, and lost time

Clean the Tank Once. Then Treat Every Fill.

NüDef helps prevent the DEF crystallization that makes tank cleaning necessary. Add it to every fill to stabilize the fluid and help protect the DEF tank, pump and injector. One bottle treats up to 25 gallons.

Shop NüDef

About the Author

NüDef makes one product, NüDef DEF Treatment, Additive & Stabilizer: a DEF stabilizer and anti-scaling agent that helps prevent DEF crystallization and protects the SCR system in trucks, RVs, generators, marine vessels, and heavy equipment. One 8 oz bottle treats 25 gallons of DEF.

Facebook
Twitter
LinkedIn
Email