A two-stroke, or two-cycle, engine is a type of internal combustion engine which completes a power cycle with two strokes (up and down movements) of the piston during only one crankshaft revolution. This is in contrast to a "four-stroke engine", which requires four strokes of the piston to complete a power cycle. In a two-stroke engine, the end of the combustion stroke and the beginning of the compression stroke happen simultaneously, with the intake and exhaust (or scavenging) functions occurring at the same time.
Two-stroke engines often have a high power-to-weight ratio, power being available in a narrow range of rotational speeds called the "power band". Compared to four-stroke engines, two-stroke engines have a greatly reduced number of moving parts, and so can be more compact and significantly lighter.
The first commercial two-stroke engine involving in-cylinder compression is attributed to Scottish engineer Dugald Clerk, who patented his design in 1881. However, unlike most later two-stroke engines, his had a separate charging cylinder. The crankcase-scavenged engine, employing the area below the piston as a charging pump, is generally credited to Englishman Joseph Day. The first truly practical two-stroke engine is attributed to Yorkshireman Alfred Angas Scott, who started producing twin-cylinder water-cooled motorcycles in 1908.
Gasoline (spark ignition) versions are particularly useful in lightweight or portable applications such as chainsaws and motorcycles. However, when weight and size are not an issue, the cycle's potential for high thermodynamic efficiency makes it ideal for diesel compression ignition engines operating in large, weight-insensitive applications, such as marine propulsion, railway locomotives and electricity generation. In a two-stroke engine, the heat transfer from the engine to the cooling system is less than in a four-stroke, which means that two-stroke engines can be more efficient.