A boiler explosion is a catastrophic failure of a boiler.
There are two types of boiler explosions. One type is a failure of the pressure parts of the steam and water sides. There can be many different causes, such as failure of the safety valve, corrosion of critical parts of the boiler, or low water level. Corrosion along the edges of lap joints was a common cause of early boiler explosions. In steam locomotive boilers, as knowledge was gained by trial and error in early days, the explosive situations and consequent damage due to explosions were inevitable. However, improved design and maintenance markedly reduced the number of boiler explosions by the end of the 19th century. Further improvements continued in the 20th century. On land-based boilers, explosions of the pressure systems happened regularly in stationary steam boilers in the Victorian era, but are now very rare because of the various protections provided, and because of regular inspections compelled by governmental and industry requirements.
The second kind is a fuel/air explosion in the furnace, which would more properly be termed a firebox explosion. Firebox explosions in solid-fuel-fired boilers are rare, but firebox explosions in gas or oil-fired boilers are still a potential hazard.