Fuel

7 min read

How Diesel Made: Heavy-Duty Diesel Guide

Quick answer

~150-160 chars about how diesel fuel is refined from crude oil, distillation, hydrotreating, and what fleet operators should know about fuel quality.

Diesel Tech Team
4.8/5· 128 reviews
  • diesel fuel
  • refining
  • crude oil
  • fuel quality

How Diesel Made: Heavy-Duty Diesel Guide

Diesel fuel begins as crude oil at a refinery, where heat separates hydrocarbons by boiling point into fractions. Middle distillates become on-road diesel after hydrotreating strips sulfur and contaminants. Ultra-low-sulfur diesel may be blended with biodiesel before delivery to fleet tanks — and fuel quality directly affects injectors, high-pressure pumps, and aftertreatment hardware in the shop and on the road.

Drivers see the pump; shop techs see injector erosion, rail pressure faults, and DPF soot spikes that trace back to fuel chemistry. Knowing how diesel is made connects tank quality to symptoms on JPRO or Cummins INSITE weeks later.

From Crude Oil to Refinery Feedstock

Crude oil is a mix of hydrocarbon chains, sulfur compounds, metals, and water picked up during extraction and transport. No two crude streams are identical. Light sweet crude yields more gasoline and diesel per barrel; heavy sour crude needs more processing and produces more residual fuel oil.

Refineries store crude in heated tanks, desalt it to remove water and salt, then feed atmospheric distillation. Fleet operators control where fuel is purchased, tank maintenance, and turnover rate — high-volume terminals usually deliver fuel closer to spec than slow-turn rural sites.

Crude typeSulfur contentTypical diesel yield
Light sweetLowHigher middle distillate cut
Medium sourModerateStandard processing path
Heavy sourHighMore hydrotreating required

Distillation: How Diesel Is Separated From Crude

Crude is heated to roughly 650–750°F and fed into a distillation column. Lighter fractions — gasoline and naphtha — rise to higher trays; diesel-range middle distillate (350°F–650°F boiling range) condenses lower. Straight-run diesel from distillation alone does not meet modern sulfur or cetane limits — additional processing follows. Heaviest fractions go to vacuum distillation, then to crackers and hydrotreaters.

Before: Fleet manager blames a supplier after two trucks set P0087 low rail pressure codes — assumes the rack delivered off-spec fuel without checking on-site tank water separators or filter change records. After: Shop pulls fuel samples from the fleet tank and the truck saddle tanks, finds water and microbial growth at the bottom; rail pressure returns after tank cleaning, biocide treatment, and primary filter service — supplier fuel was fine.

Cracking and Upgrading Heavy Fractions

Not every barrel yields enough middle distillate. Refineries convert heavy fractions through fluid catalytic cracking (FCC) — breaking large molecules for gasoline and diesel blendstock — and hydrocracking, which produces cleaner, higher-cetane diesel under hydrogen pressure. The diesel you pump is a blend pool: straight-run distillate, cracked streams, hydrotreated components, and additives meeting ASTM D975. Winter cold-flow treatment often happens at the terminal.

Hydrotreating, ULSD, and Fuel Specifications

Hydrotreating is what made modern diesel compatible with emissions aftertreatment. Fuel passes over a catalyst bed with hydrogen at elevated temperature and pressure. Sulfur compounds convert to hydrogen sulfide, which is removed; nitrogen and some metals are stripped as well.

Ultra-low-sulfur diesel (ULSD) in the United States contains a maximum of 15 ppm sulfur, down from 500 ppm in low-sulfur diesel (LSD) era fuel. That reduction was necessary so DOC, DPF, and SCR catalysts would not poison out from sulfur exposure. Running LSD or off-road dyed fuel in a 2007+ on-road engine accelerates catalyst degradation and can trigger efficiency and soot-load faults that look like sensor failures.

Fuel gradeMax sulfurOn-road HD use (2007+)
ULSD15 ppmRequired
LSD (legacy)500 ppmNot compatible with aftertreatment
Dyed off-roadVariableIllegal for highway — catalyst damage risk

Cetane, lubricity additives, and cold filter plugging point (CFPP) also matter for cold starts and pump protection. When rail pressure or injector balance faults appear without air leaks, pull fuel history — supplier change, post-cleaning first fill, or unusual biodiesel ratio can shift combustion enough to set codes. Cross-check with a fault code lookup before replacing injectors.

Biodiesel Blending and Storage Reality for Fleets

Most on-road diesel in the U.S. contains biodiesel (B) blended at B5 to B20 depending on region and season. B100 is fatty acid methyl ester (FAME) from soybean oil, canola, used cooking oil, or other feedstocks. Blended at the terminal, it lowers overall carbon intensity but changes fuel behavior.

Biodiesel holds more water, raises cloud point at higher blends, and oxidizes faster in stagnant yard tanks. Most post-2007 trucks tolerate B20; older seals may swell. Keep tanks full, drain separators on schedule, and treat microbial slime promptly. Our blog covers filter intervals and CP4 failure patterns tied to contaminated supply.

Before: Owner-operator stores summer B20 in an above-ground tank through a cold snap — three trucks fail to start on the same Monday with gelled fuel and collapsed primary filters. After: Fleet switches to winter-spec B5 from a high-turnover truck stop, adds fuel heater maintenance to the pre-season checklist, and documents cloud-point specs from the supplier — no repeat gel events.

When Bad Fuel Shows Up in the Bay: Injectors and Aftertreatment

Contaminants that pass a neglected filter score injector bores, clog pilot orifices, and throw off cylinder balance — rough idle, smoke, hard starts, and imbalance codes follow. Common-rail injectors at 20,000–30,000+ PSI wear fast on abrasive particles and water; one bad injector can skew exhaust temps and load the DPF unevenly. High-pressure pumps can shed metal after starvation, turning one filter neglect into a full fuel system job.

Poor fuel also accelerates DPF soot loading, poisons DOC/SCR catalysts with sulfur or phosphorus, and causes oil dilution from leaking injectors. When fuel is suspected: sample the tank, inspect filters for metal glitter, scan for P0087/P0088 or P026x codes, then use DDDL on Detroit platforms, Cummins INSITE for correction factors, or JPRO / Diesel Laptops for multi-brand rail pressure and aftertreatment data.

If multiple units from the same yard tank fail within weeks, stop filling from that source until the tank is cleaned and tested. For active derates tied to fuel-related faults, park safely and contact a qualified shop before finishing the route under inducement.

FAQ

How is diesel fuel made from crude oil?

Crude is heated and separated in a distillation column by boiling point. The diesel-range middle distillate is hydrotreated, blended with cracked streams and additives, and may receive biodiesel at the terminal before delivery.

What is the difference between gasoline and diesel refining?

Both share the same distillation column but draw different cuts. Gasoline comes from lighter fractions; diesel from heavier middle distillates that need more hydrotreating for sulfur and lubricity specs.

What is ULSD and why does it matter for trucks?

Ultra-low-sulfur diesel contains no more than 15 ppm sulfur — the U.S. on-road standard since 2006 to protect DPF and SCR catalysts. High-sulfur or dyed off-road fuel in a modern highway truck damages aftertreatment.

Can biodiesel damage my diesel engine?

Properly blended B5–B20 is approved by most engine makers. Problems come from water, oxidation, cold-weather gelling at high blends, or stagnant storage — microbial growth is the common real-world issue.

What are signs of bad diesel fuel in a truck?

Hard starting, rough idle, power loss, frequent filter changes, water in the separator, slime in samples, P0087/P0088 rail pressure codes, injector balance faults, and unexplained DPF soot loading.

How does bad fuel affect DPF and SCR systems?

Incomplete combustion from worn injectors produces extra soot. Contaminants poison DOC and SCR catalysts, triggering efficiency codes that mimic sensor failure — fix fuel and injection before replacing aftertreatment parts.

Should I use fuel additives?

Cetane improvers, anti-gel, and biocides help when matched to a real problem. They do not replace filter service or tank cleaning. Avoid products that claim to fix DPF faults without addressing combustion.

How often should fleet fuel tanks be cleaned?

No fixed interval — high-turnover sites may go years; low-turn yard tanks with water intrusion need inspection when slime or sediment appear. Clean before refilling after any contamination event.

Fault codes covered in this guide

Search the full fault code library

Related guides