Working on a different part of the DEF system? Use the right guide:
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
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.
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.
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.
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.
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.
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.
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.


