The first diesel-engined automobile trip is completed, from Indianapolis, Indiana, to New York, New York.

The diesel engine, named after Rudolf Diesel, is an internal combustion engine in which ignition of the fuel is caused by the elevated temperature of the air in the cylinder due to mechanical compression; thus, the diesel engine is a so-called compression-ignition engine (CI engine). This contrasts with engines using spark plug-ignition of the air-fuel mixture, such as a petrol engine (gasoline engine) or a gas engine (using a gaseous fuel like natural gas or liquefied petroleum gas).

Diesel engines work by compressing only air, or air plus residual combustion gases from the exhaust (known as exhaust gas recirculation (EGR)). Air is inducted into the chamber during the intake stroke, and compressed during the compression stroke. This increases the air temperature inside the cylinder to such a high degree that atomised diesel fuel injected into the combustion chamber ignites. With the fuel being injected into the air just before combustion, the dispersion of the fuel is uneven; this is called a heterogeneous air-fuel mixture. The torque a diesel engine produces is controlled by manipulating the air-fuel ratio (λ); instead of throttling the intake air, the diesel engine relies on altering the amount of fuel that is injected, and the air-fuel ratio is usually high.

The diesel engine has the highest thermal efficiency (engine efficiency) of any practical internal or external combustion engine due to its very high expansion ratio and inherent lean burn which enables heat dissipation by the excess air. A small efficiency loss is also avoided compared with non-direct-injection gasoline engines since unburned fuel is not present during valve overlap and therefore no fuel goes directly from the intake/injection to the exhaust. Low-speed diesel engines (as used in ships and other applications where overall engine weight is relatively unimportant) can reach effective efficiencies of up to 55%. The combined cycle gas turbine (Brayton and Rankin cycle) is a combustion engine that is more efficient than a diesel engine, but it is, due to its mass and dimensions, unsuited for vehicles, watercraft, or aircraft.

Diesel engines may be designed as either two-stroke or four-stroke cycles. They were originally used as a more efficient replacement for stationary steam engines. Since the 1910s, they have been used in submarines and ships. Use in locomotives, buses, trucks, heavy equipment, agricultural equipment and electricity generation plants followed later. In the 1930s, they slowly began to be used in a few automobiles. Since the 1970s, the use of diesel engines in larger on-road and off-road vehicles in the US has increased. According to Konrad Reif (2012), the EU average for diesel cars accounts for half of newly registered cars.The world's largest diesel engines put in service are 14-cylinder, two-stroke marine diesel engines; they produce a peak power of almost 100 MW each.