<!-- language: en -->

# How Does a Diesel Engine Work? Compression Ignition Explained

> How does a diesel engine work? It squeezes air until it is hot enough to ignite injected fuel, with no spark plug. Learn the strokes, parts and efficiency.

Engines & Power



By [MARS Engineering & Sales Team](/about/) Published Oct 23, 20267 min read

How does a diesel engine work? It compresses air in the cylinder so hard that it heats to several hundred degrees Celsius, then sprays fuel into that hot air, where it ignites on its own. This is called compression ignition: there is no spark plug, and power is controlled by how much fuel is injected rather than by throttling the air. Because diesels run compression ratios of roughly 14:1 to 22:1, they convert more of the fuel's energy into work than gasoline engines, which is why they power trucks, ships, gensets and construction machinery.

## Key takeaways

- A diesel engine ignites fuel by the heat of compressed air, not by a spark; typical compression ratios are about 14:1 to 22:1, against roughly 8:1 to 12:1 for gasoline engines.

- Most diesels run a four-stroke cycle (intake, compression, power, exhaust); very large ship engines and some older designs use a two-stroke cycle.

- Diesel engines do not have spark plugs; many have glow plugs or an intake-air heater that only assist cold starting.

- Rudolf Diesel's patent was granted in Germany in 1893, and his first working engine was demonstrated in Augsburg in 1897 with an efficiency of about 26 percent.

- Modern heavy-duty diesels reach brake thermal efficiencies in the mid-40s percent, and large low-speed marine diesels exceed 50 percent.

## How does a diesel engine work, step by step?

A four-stroke diesel completes one power cycle in two crankshaft revolutions. Each piston goes through four strokes, and the fuel system times injection to the end of the compression stroke.

- **Intake stroke.** The piston moves down with the intake valve open and draws in air only. On a turbocharged engine the air arrives under pressure, which packs more oxygen into the cylinder.

- **Compression stroke.** Both valves close and the piston rises, squeezing the air to a fraction of its original volume. Compression raises the air temperature well above the autoignition point of diesel fuel.

- **Power stroke.** Near the top of the stroke, the injector sprays finely atomized fuel into the hot air. The fuel ignites after a very short delay, the gas expands, and the pressure pushes the piston down, turning the crankshaft.

- **Exhaust stroke.** The exhaust valve opens and the rising piston pushes the burned gas out, ready for the next intake.

That, in short, is how a diesel engine works on every cycle. The key difference from a gasoline engine is in steps 1 and 3. A gasoline engine draws in a mixture of air and fuel and uses a spark to light it, while a diesel draws in air alone and controls its output purely by the quantity of fuel injected.

## Do diesel engines have spark plugs?

No. Diesel engines do not use spark plugs, because the fuel ignites from the heat of compression. What many diesels do have is a cold-start aid: glow plugs that heat the combustion chamber, or a grid heater that warms the intake air.

These aids matter most in cold weather and on smaller engines, where cylinder walls absorb more heat during compression. Once the engine is running, combustion heat is enough and the glow plugs switch off, although some modern engines run them briefly after starting to reduce white smoke and noise.

## How does a diesel engine start?

A diesel starts when the starter motor spins the crankshaft fast enough for compression to heat the air above ignition temperature. The control system or injection pump then delivers fuel, the first cylinders fire, and the engine picks up speed on its own.

Large engines may use compressed-air starting instead of an electric starter. Hard starting usually points to one of a few causes: low cranking speed from a weak battery, air in the fuel system, worn injectors, low compression from worn rings or valves, or a failed cold-start aid. After any fuel filter change, the fuel system must be bled or primed before the engine will start reliably; the [diesel fuel filter replacement guide](/blog/diesel-fuel-filter-replacement-guide/)  covers that step.

## What are the main diesel engine components?

A diesel engine shares its basic architecture with any piston engine but is built heavier to withstand higher cylinder pressures. The table works as a simple diesel engine diagram in words.

| Component | What it does | Diesel-specific notes |
| --- | --- | --- |
| Cylinder block and liners | Houses the cylinders and coolant passages | Often uses replaceable wet or dry liners on heavy-duty engines |
| Cylinder head | Carries valves, injectors and ports | Built to withstand high peak pressures; may contain glow plugs |
| Pistons and rings | Seal combustion and transmit force | Often have a combustion bowl machined in the crown |
| Connecting rods and crankshaft | Convert piston motion into rotation | Heavier than in a gasoline engine of the same size |
| Camshaft and valve train | Open and close intake and exhaust valves | Same principle as gasoline engines |
| Fuel injection system | Meters and injects fuel at high pressure | Mechanical pump or electronic common rail |
| Turbocharger and intercooler | Push more air into the cylinders | Fitted to most modern diesels above small sizes |
| Cooling system | Removes heat via coolant or air | Liquid cooling is most common; small engines may be air cooled |
| Aftertreatment | Cleans the exhaust | DPF, SCR with urea (DEF) and oxidation catalysts on modern road and nonroad engines |

## What fuel injection systems do diesels use?

Diesel fuel injection has evolved from purely mechanical pumps to electronically controlled high-pressure systems. Both types are still in service, especially in industrial and marine work.

- **Mechanical inline or rotary pumps** meter fuel with cams and plungers and send it to each injector at the right moment. They are simple and tolerant of field repair, which keeps them popular for generator and workboat engines such as the [6BT-type six-cylinder](/products/diesel-engines/cummins-type-6bt-diesel-engine-for-genset-and-marine-80-210-hp/) .

- **Unit injectors** combine the pump element and injector in one body at each cylinder.

- **Common-rail injection** stores fuel at very high pressure in a shared rail, and electronically controlled injectors can fire several times per cycle. This allows quieter combustion, lower emissions and better fuel economy, but it needs clean fuel and diagnostic tools.

Engines also differ in where the fuel goes. Most modern diesels use direct injection into a bowl in the piston crown. Some older and smaller engines use indirect injection into a prechamber, which is quieter but less efficient and usually needs glow plugs.

## Why are diesel engines so efficient?

Diesel efficiency comes from three things: high compression, lean combustion and no throttling losses. A higher compression and expansion ratio extracts more work from the same heat, and because a diesel does not throttle its intake air, it avoids the pumping loss a gasoline engine suffers at part load.

Diesel fuel also contains more energy per gallon. The US Energy Information Administration lists about 137,381 Btu per gallon for diesel fuel against about 120,214 Btu for motor gasoline, roughly 14 percent more. The US government's fuel economy site states that diesel vehicles are typically about 30 to 35 percent more fuel efficient than similar gasoline vehicles.

| Engine type | Typical peak brake thermal efficiency |
| --- | --- |
| Small gasoline engines | Roughly 25–35% |
| Modern automotive diesels | Roughly 35–42% |
| Heavy-duty truck and industrial diesels | Roughly 40–46% |
| Large low-speed marine two-stroke diesels | Above 50% |

These figures are indicative peaks; real-world efficiency depends on load, speed and maintenance. For a direct comparison of the two engine types, see [diesel vs gasoline engines](/blog/diesel-vs-gasoline-engines/) .

## Who invented the diesel engine, and when?

The diesel engine was invented by the German engineer Rudolf Diesel. He applied for his patent in 1892, it was granted in 1893, and after years of development at the Maschinenfabrik Augsburg works (later MAN) the first practical engine ran in 1897, recording an efficiency of about 26 percent, far ahead of the steam engines of the day.

Diesel originally imagined running engines on a variety of fuels, including coal dust and vegetable oil. Within a few decades diesels had spread to ships, submarines, locomotives and stationary power plants, and later to trucks and farm tractors.

## What are the different types of diesel engines?

Diesel engines are usually classified by cycle, speed and application. Speed is the most useful split for buyers because it correlates with size, weight and durability.

- **High-speed diesels** (above about 1,000 rpm) power trucks, gensets, construction machines and small to mid-size boats.

- **Medium-speed diesels** (roughly 300 to 1,000 rpm) drive larger ships, locomotives and power stations.

- **Low-speed diesels** (below about 300 rpm), almost always two-stroke, drive the propellers of large merchant ships directly.

Diesel-electric systems pair a diesel with a generator and electric motors, as in locomotives and many ferries and offshore vessels. For the engine families used in industry, see the [industrial diesel engines guide](/blog/industrial-diesel-engines-guide/) , and for small air- and liquid-cooled units, the [small diesel engines guide](/blog/small-diesel-engines-guide/) .

## Are diesel engines more reliable?

In heavy-duty work, diesels generally last longer than gasoline engines of similar output. They are built with stronger blocks, crankshafts and bearings to handle high cylinder pressure, they run at lower rpm, and they have no ignition system to fail.

Reliability still depends on fuel quality, air filtration, cooling and oil change discipline. Modern emission-controlled diesels add components such as particulate filters and SCR systems that need their own maintenance. Shanghai Mars Industrial (MARS) supplies diesel engines for marine, genset, truck and machinery use, and each engine can be run-tested before dispatch with a written report and video; [request specifications](/contact/)  for a specific application.

## Frequently asked questions

Do diesel engines have spark plugs?

No. Diesel fuel ignites from the heat of compressed air, so there is no spark plug. Many diesels have glow plugs or an intake heater that only assist cold starting.

What is the compression ratio of a diesel engine?

Most modern diesels run between about 14:1 and 22:1, while some older indirect-injection designs reach about 23:1 or higher. Gasoline engines typically run about 8:1 to 12:1.

Can a diesel engine run on gasoline?

No. Gasoline has a very low cetane rating and does not autoignite properly in a diesel, and it lacks the lubricity the injection system needs. Putting gasoline in a diesel tank can damage pumps and injectors, so the fuel system should be drained before starting.

What is diesel-electric propulsion?

It is a system where a diesel engine drives a generator, and electric motors drive the wheels or propellers. It is used in locomotives and in many ferries, offshore and cruise vessels because it allows flexible engine arrangement and efficient part-load operation.

Why do diesel engines produce more torque?

Diesels usually have long strokes, high cylinder pressures and turbocharging, which produce strong torque at low rpm. That makes them well suited to heavy loads, towing and propellers.

M

**MARS Engineering & Sales Team**

Written by the engineering and sales team at Shanghai Mars Industrial Co., Ltd., who specify, inspect and ship marine and industrial power equipment from Shanghai every week.

## Share

- [Share on LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fwww.marine-equipment-supply.com%2Fblog%2Fhow-does-a-diesel-engine-work%2F)

- [Share on WhatsApp](https://wa.me/?text=How+Does+a+Diesel+Engine+Work%3F+Compression+Ignition+Explained+https%3A%2F%2Fwww.marine-equipment-supply.com%2Fblog%2Fhow-does-a-diesel-engine-work%2F)

- [Share by email](mailto:?subject=How+Does+a+Diesel+Engine+Work%3F+Compression+Ignition+Explained&body=https%3A%2F%2Fwww.marine-equipment-supply.com%2Fblog%2Fhow-does-a-diesel-engine-work%2F)

**Products mentioned**

- [Cummins-Type 6BT Diesel Engine for Genset & Marine (80-210 HP)](/products/diesel-engines/cummins-type-6bt-diesel-engine-for-genset-and-marine-80-210-hp/)

- [Cummins-Type 6CTA8.3 Diesel Engine (8.3 L, 80-210 HP)](/products/diesel-engines/cummins-type-6cta8-3-diesel-engine-8-3-l-80-210-hp/)

- [Yuchai YC4D80-K20 Diesel Engine — 58 kW](/products/diesel-engines/yuchai-yc4d80-k20-diesel-engine-58-kw/)

- [R2V88 Air-Cooled V-Twin Diesel Engine](/products/diesel-engines/r2v88-air-cooled-v-twin-diesel-engine/)

- [SDEC D683 Marine Diesel Engine (320 HP)](/products/diesel-engines/sdec-d683-marine-diesel-engine-320-hp/)

## Need a quotation?

Send your model, application and quantity — we reply within 24 hours on working days.

[Get a quote](/contact/#inquiry)

## Products from this guide

Cummins · Diesel Engines

### [Cummins-Type 6BT Diesel Engine for Genset & Marine (80-210 HP)](/products/diesel-engines/cummins-type-6bt-diesel-engine-for-genset-and-marine-80-210-hp/)

The 6BT is a proven inline 6-cylinder, turbocharged water-cooled diesel engine (Cummins B-series type) built…

View details →

Cummins · Diesel Engines

### [Cummins-Type 6CTA8.3 Diesel Engine (8.3 L, 80-210 HP)](/products/diesel-engines/cummins-type-6cta8-3-diesel-engine-8-3-l-80-210-hp/)

The 6CTA8.3 is a versatile inline 6-cylinder, turbocharged water-cooled diesel engine (Cummins C-series…

View details →

Yuchai · Diesel Engines

### [Yuchai YC4D80-K20 Diesel Engine — 58 kW](/products/diesel-engines/yuchai-yc4d80-k20-diesel-engine-58-kw/)

The Yuchai YC4D80-K20 is a compact, turbocharged, water-cooled inline-4 diesel engine rated at 58 kW / 2400…

View details →

Other · Diesel Engines

### [R2V88 Air-Cooled V-Twin Diesel Engine](/products/diesel-engines/r2v88-air-cooled-v-twin-diesel-engine/)

The R2V88 is a compact 2-cylinder V-type, 4-stroke, air-cooled diesel engine designed for small generator…

View details →

## Keep reading

[All articles](/blog/)

Engines & Power · Oct 23, 2026

### [Diesel Fuel Filter Replacement: Intervals, Symptoms, Priming](/blog/diesel-fuel-filter-replacement-guide/)

Replace a diesel fuel filter at the engine maker's interval, often 250–500 hours on gensets and boats, or sooner if power drops. Steps, symptoms and…

Read article →

Engines & Power · Oct 23, 2026

### [Diesel Generator Sizing: kW vs kVA, Prime and Standby Ratings](/blog/diesel-generator-sizing-kw-kva/)

Diesel generator sizing starts with running kW, motor starting load and power factor, then the right ISO 8528 rating. Learn kW vs kVA, prime and…

Read article →

Engines & Power · Oct 23, 2026

### [Diesel vs Gas Engines: Differences, Pros, Cons and Best Uses](/blog/diesel-vs-gasoline-engines/)

Diesel vs gas: diesels use compression ignition, burn denser fuel and last longer under heavy load; gasoline engines cost less and run lighter…

Read article →

URL: https://www.marine-equipment-supply.com/blog/how-does-a-diesel-engine-work/
