Silicate liquids play a key part at all stages of deep Earth evolution, ranging from core and crust formation billions of years ago to present-day volcanic activity. Quantitative models of these processes require knowledge of the structural changes and compression mechanisms that take place in liquid silicates at the high pressures and temperatures in the Earth's interior. However, obtaining such knowledge has long been impeded by the challenging nature of the experiments. In recent years, structural and density information for silica glass was obtained at record pressures of up to 100 GPa (ref. 1), a major step towards obtaining data on the molten state. Here we report the structure of molten basalt up to 60 GPa by means of in situ X-ray d...