Born under the sea
All five rock layers began as limy mud and sand on the seabed between about 30 and 5 million years ago, in the Oligocene and Miocene. The future islands lay far from any coast, so almost nothing washed in from land: the rocks are made mainly of the shells and skeletons of sea creatures and algae. They lie stacked like a layer cake, oldest at the bottom.
The islands only rose above the sea much later, in the Quaternary period, the last 2.6 million years.
Water in the rock
Malta's fresh water comes from its rocks. Rain soaks down through the porous limestone until it meets the Blue Clay, which water cannot pass through. There it forms "perched" groundwater, which seeps out as springs along the hillsides. Deeper down, rain that reaches the Lower Coralline Limestone floats on salty sea water as a lens of fresh water at sea level, the islands' main groundwater store.
Cliffs and caves
The hard Lower Coralline Limestone forms the sheer sea cliffs of Dingli and the south-west coast, and the caves and arches carved by the waves.
Building stone
Globigerina Limestone (franka) is soft when first quarried and hardens in the air. It gives Valletta, Mdina, the prehistoric temples and village churches their warm honey colour, and was once exported for building abroad.
After the islands rose
Once the land was above water, new deposits built up on top of the five layers: tufa from springs, rock debris on slopes, river sediment in the valleys, old buried soils, wind-blown silt, and material filling caves and cracks. Cave deposits such as those at Għar Dalam hold bones of animals that once lived here, including dwarf elephants and hippos.
The Azure Window
Gozo's famous limestone arch at Dwejra collapsed into the sea during a storm in March 2017, a reminder that the coast is always changing.
Source: Environment and Resources Authority, Maltese Geology.