Skip to main content
Nature Communications logoLink to Nature Communications
. 2026 Jan 20;17:1886. doi: 10.1038/s41467-026-68572-4

Presence of primordial Mg can explain the seismic low-velocity layer in the Earth’s outermost outer core

Tao Liu 1, Zhicheng Jing 1,
PMCID: PMC12923696  PMID: 41559104

Abstract

The composition of Earth’s Fe-rich liquid outer core has long been debated. Available models incorporating light elements, such as Si, O, C, S, and H, cannot explain the seismically low velocity layer in the uppermost outer core (E′ layer). Here we employ first-principles molecular dynamics simulations to determine the density and sound velocity (VP) of Fe-Mg liquids under outer core conditions, which were unknown previously. Results show that the presence of Mg slightly decreases the VP of liquid Fe, in contrast to the enhancing effects of other light elements. Our modeling suggests that 0.5-1.79 wt% Mg is required to match seismically observed core densities and velocities. Such amount of Mg could have entered the outermost outer core following the Moon-forming giant impact, thereby providing a viable explanation for the formation of the E′ layer and contributing to the slight Mg depletion in the bulk silicate Earth relative to chondritic meteorites.

Subject terms: Core processes, Geophysics, Geochemistry


Simulations show that primordial Mg deposited to the core through the Moon-forming giant impact can decrease the sound velocity of Fe-rich liquids, providing a viable explanation for the low seismic velocity in the Earth’s outermost outer core.

Introduction

The composition of Earth’s core is crucial to understanding several fundamental processes of its evolution, including the early core-mantle differentiation1,2, inner core crystallization and growth3,4, and thermal-chemical convection in the core that powers the geodynamo5,6. Comparing seismically observed density and compressional wave velocity (VP) of the outer core to those of pure liquid Fe has led to the identification of Si, O, C, S, and H710 as candidate light elements in varying concentrations in the outer core, depending on the specific composition model. In most studies, the Preliminary Reference Earth Model (PREM)11 has served as the standard seismic model for such comparison1214, however, recent seismic models, including ek13715, EPOC16, KHOMC17, and CCMOC18, reveal the presence of a low velocity (up to 1% lower than that of PREM) layer of ~150-700 km thick in the outermost outer core, known as the E′ layer. The existence of the E′ layer has often been attributed to the presence of a chemically stratified layer in the outermost outer core1924, with supporting evidence from geomagnetic studies17,2527 and fluid dynamical considerations28. However, the composition of the E′ layer presents a significant paradox. Previous studies have shown that all commonly considered light elements (Si, O, C, S, and H) increase the seismic velocity of the outer core13,14. Thus, reducing the concentrations of light elements in this layer may decrease seismic velocity but would inevitably increase density, causing gravitational instability that would destruct stratification. Although some studies proposed that incomplete mixing22,28 and reactions21,24,29 between the core and lower mantle (or subducted slabs) could form a light and slow E′ layer, it has not been quantitatively evaluated whether such E′ layer compositions would satisfy the density and velocity constraints from seismic models. Furthermore, recent computations of core properties using mineral physics data12 reveal that even for the PREM model, the observed VP in the outermost few hundred kilometers of the outer core is ~0.5-2.5% lower than those computed for the preferred compositional models, amplifying the mismatch between theoretically predicted and observed seismic velocities for the E′ layer.

Comparison of Mg/Al and Mg/Ca ratios in the bulk silicate Earth (BSE) and CI carbonaceous chondrite suggests nontrivial Mg depletion in the silicate Earth relative to refractory lithophile elements30. Such depletion may be attributed to the slight volatility of Mg during Earth’s accretion31. Alternatively, high-pressure metal-silicate partitioning experiments5,32,33 suggest that a considerable amount of primordial Mg could have been incorporated into the Earth’s core, facilitated by the enhanced affinity of Mg to liquid Fe under the extreme temperatures associated with the Moon-forming giant impact. Although the subsequent cooling of the core could exsolve some Mg, thereby driving the early geodynamo before inner core crystallization5,33, a substantial quantity of residual Mg, potentially up to ~2 wt%5,3236(Supplementary Fig. S1), may remain sequestered in the core. However, the quantitative amount of Mg in the present outer core remains unclear, largely due to the lack of knowledge on the effects of Mg on density and VP of liquid Fe under outer core condition, in contrast to the relatively well-determined effects of Mg on the properties of solid Fe-Mg phases under inner core conditions37,38.

In this study, we performed first-principles molecular dynamics (FPMD) simulations to determine the density and compressional wave velocity of Fe-Mg alloying liquids as functions of Mg content under Earth’s outer core conditions. Integrating calculated properties of Fe-alloying liquids with geophysical constraints on the outer and inner cores and the chemical equilibrium of light elements at the inner core boundary, we evaluated the potential Mg content in the outermost layer of the core. Our results underscore the previously underestimated role of primordial Mg in understanding the composition and chemical evolution of Earth’s core.

Results and discussion

Effects of Mg on the density and VP of liquid Fe

FPMD simulations were conducted for pure liquid Fe and six different Fe-Mg liquid alloys with Mg contents ranging from 0–4.27 wt% under pressure and temperature conditions of 121–340 GPa and 6000–7500 K (Methods). The Mie–Grüneisen equation of state (EOS) was used to fit the calculated pressure-density-temperature (P-ρ-T) results, with best-fit EOS parameters listed in Supplementary Table S1. In general, our calculated EOS results for pure liquid Fe are consistent with those of previous computational studies14 under outer core conditions, particularly at 4000–6000 K (Supplementary Fig. S5). Following previous studies13,39, we applied a pressure correction to account for the pressure underestimation caused by the use of generalized gradient approximation (GGA) in FPMD simulations. We compared the pressures obtained from our FPMD simulations for pure liquid Fe with those along the adiabatic temperature profile in the outer core from shock-wave experimental data40 and obtained pressure corrections ~10 GPa under CMB conditions (135 GPa, 4000 K) and ~8 GPa at ICB conditions (330 GPa, 6000 K), with values at intermediate conditions obtained by linear interpolation.

As shown in Fig. 1, the density of Fe-Mg liquids increases upon compression but decreases with increasing temperature or Mg content. Using our EOS results, we calculated the density and adiabatic bulk modulus (KS) of liquid Fe and Fe-Mg alloys under outer core conditions, from which the VP of Fe-Mg liquids was obtained (Methods). The VP of Fe-Mg liquids increases with pressure but is nearly independent of temperature (Supplementary Fig. S7a), consistent with the negligible temperature effects previously observed for the VP of pure liquid Fe14. The effect of Mg on VP is weak at all pressures and temperatures explored in this study (Supplementary Fig. S7b). Figure 2 shows the calculated density and VP of Fe-Mg liquids as functions of Mg content at pressures and temperatures corresponding to the CMB and ICB, using reference temperatures of 5400 K and 6000 K at the ICB (Methods). Both ρ and VP of Fe-Mg liquids decrease linearly with Mg content. Performing the pressure correction decreases the absolute values of density and velocity by 1.6–1.8% and 2.3–2.6%, respectively, at the CMB, and by 0.6–0.7% and 1.2%, respectively, at the ICB, but does not affect the compositional dependences. The VP values as functions of Mg molar fraction (XMg) can be fitted linearly as VPCMBkm/s=7.80(0.02)0.710.37×XMg and VPICBkm/s=9.93(0.01)0.320.05×XMg, respectively, confirming that the decreasing trend of VP with increasing Mg content is significant given the uncertainties at both CMB and ICB conditions. The reduction of VP in Fe-Mg liquids relative to those containing other light elements likely originates from the weakened metallic bonding between Mg and Fe, in contrast to stronger covalent interactions exhibited partially between light elements such as Si, S, C, O, and H with Fe (Supplementary Fig. S10 and Text S3). Compared with the effects of other light elements, the effect of Mg on reducing density is comparable to that of Si7. Assuming Mg is the sole light element in the outer core, an Mg content of 10.8–11.5 mol%, corresponding to ~5.0–5.3 wt%, is required to explain the outer core density deficit at the CMB conditions, while 13.5-14.1 mol% (6.4–6.7 wt%) of Mg is required to match the ICB density deficit. On the other hand, Mg moderately lowers VP, in contrast to the increasing effects of other light elements. Thus, although the presence of Mg alone in the outer core is not consistent with the elevated velocity of the outer core compared to pure liquid Fe7,13,14,41, the combined effects of Mg and other light elements (Si, S, O, C, and H) may provide a viable explanation for the reduced velocity of the E′ layer in the outer core.

Fig. 1. Equation of state of pure liquid Fe and Fe-Mg alloys under Earth’s outer conditions.

Fig. 1

Seven supercells, Fe80 (black), Fe78Mg1 (red), Fe78Mg2 (blue), Fe78Mg3 (yellow), Fe78Mg4 (cyan), Fe78Mg6 (magenta), and Fe78Mg8 (green), were investigated. The equations of state are plotted along different isotherms of 6000 K (a), 6500 K (b), 7000 K (c), and 7500 K (d). The fitting parameters are listed in Supplementary Table S1.

Fig. 2. Effects of the Mg content on the density (ρ) and compressional wave velocity (VP) of liquid Fe and Fe-Mg alloys.

Fig. 2

Densities and compressional wave velocities are plotted at (a) the core-mantle boundary (CMB) and (b) the inner-outer core boundary (ICB) conditions. The blue and red lines (or symbols) represent properties calculated at ICB temperatures (TICB) of 5400 K and 6000 K, respectively. The temperatures at the CMB were calculated using the adiabatic temperature gradient and the ICB temperatures. The circles and triangles represent the results obtained from the original pressures in FPMD simulations and pressures with corrections for the GGA approximation. The magenta squares, yellow hexagons, and cyan diamonds represent previous results from FPMD simulations (TICB = 6000 K)67, shock wave experiments (TICB = 5400 K)40, and inelastic x-ray scattering measurements (TICB = 5400 K)68, respectively. The horizontal green dash-dot lines represent the seismically observed density and VP of the outer core from the preliminary reference Earth model (PREM). Error bars in VP represent uncertainties propagated from one standard errors in fitting parameters of the equation of state.

Mg content in the Earth’s outer core

Here we quantitatively evaluate the Mg content in the outer core by comparing the density and VP of Mg-bearing Fe-rich liquids with those of seismic models. We consider core compositions of Fe alloyed with Ni, Mg, and other light elements among Si, O, C, S, and H. Mineral physics results from this study for Fe-Mg liquids and those of ref. 14 for Fe-X liquids (X = Si, O, C, S, and H) were used to calculate the density and VP of the outer core, assuming the ideal mixing of Fe and light elements. As shown in previous studies12,14, the presence of Ni only slightly changes the outer core properties. We thus fixed the core Ni content at 5 wt% according to cosmochemical constraints7 and made corrections to the mixing results for density and VP (Methods). Following the core composition optimization approach developed in ref. 12, we first searched for the outer core composition that minimizes a reduced misfit function ∆ (Methods) that measures the difference between our model predicted outer and inner core densities and outer core velocities and the corresponding values from PREM. Equilibrium partitioning of light elements12,4245 between the inner and outer cores at ICB conditions were incorporated in the modeling. Two types of models were developed for the outer core: a homogeneous outer core model (one-layer model) and a stratified core model consisting of two homogeneous layers (two-layer model), with the upper layer being ~600 km thick (from 135 to 200 GPa). In latter case, the thickness of the upper layer best resembles the seismically observed E′ layer1518, although thinner stratified layers are suggested by geomagnetic studies46 to account for the morphology of geomagnetic field at the CMB. In both models, the optimization of a homogenous layer was performed in the Fe-5wt%Ni-Mg-X-Y systems, where X and Y represent any two light elements among Si, O, C, S, and H in addition to Mg. Thus, a total of ten systems were explored for each model (Supplementary Data 1).

For the homogeneous outer core model, the Fe-5wt%Ni-Mg-C-O, Fe-5wt%Ni-Mg-C-H, and Fe-5wt%Ni-Mg-H-O systems yield no solutions with ∆< 2 (Supplementary Data 1) because the preferred partitioning of C, O, and H would lead to larger density jumps at the ICB than seismically observed values. Although the Fe-5wt%Ni-Mg-S-H, Fe-5wt%Ni-Mg-S-O, Fe-5wt%Ni-Mg-S-C, and Fe-5wt%Ni-Mg-S-Si systems (Supplementary Data 1 and Fig. S11) result in ∆ values of ~0.10–0.15, the best-fit S contents in these models considerably exceed the cosmochemical limit of 1.7 wt%47. Similarly, Fe-5wt%Ni-Mg-Si-C system with a ∆ of 0.04 results in a best-fit C content of ~1.16 wt%, much higher than the core C content of 0.2 wt% allowed by the metal-silicate partition during core-formation48. Consequently, the Fe-5wt%Ni-Mg-Si-H and Fe-5wt%Ni-Mg-Si-O systems, with ∆ values of 0.07–0.11, emerge as the most likely solutions for the composition of a homogeneous core. The best-fit outer core composition contains either 0.84 ± 0.35 wt% Mg, 4.45 ± 1.06 wt% Si, and 0.28 ± 0.13 wt% H, or 1.06 ± 0.35 wt% Mg, 5.04 ± 0.91 wt% Si, and 1.71 ± 0.86 wt% O. In both scenarios, Mg is present as a key light element in the core. Compared to previous Mg-free Fe-Ni-Si-O7,13,14,41 or Fe-Ni-Si-H12 core models, Mg primarily substitutes either O or H in the core, thereby reducing the VP of the outer core while simultaneously maintaining the density deficit. The interchangeable nature of Si and S in modifying outer core properties suggests that a small amount of S may also be present in the core, as long as its content does not exceed that allowed by cosmochemical constraints.

For the stratified (two-layer) core model, the composition of the lower outer core layer was determined using a similar approach to that employed in the one-layer model, assuming no Mg is present. Specifically, chemical equilibrium between the lower outer core and the inner core was included as a constraint, in addition to core density and velocity. The composition of the Mg-bearing upper outer core was, on the other hand, determined using density and velocity constraints only, assuming no chemical equilibrium with either the lower outer core or the lower mantle. Our optimization results suggest that only the Fe-5wt%Ni-Mg-Si-H system yields solutions with overall ∆ values lower than 0.25 (Supplementary Data 1 and Fig. S12). The best-fit composition contains 1.15 ± 0.21 wt% Mg, 5.78 ± 1.29 wt% Si, and 0.12 ± 0.12 wt% H for the upper outer core layer, and 4.30 ± 0.51 wt% Si and 0.43 ± 0.06 wt% H for the lower outer core layer, consistent with our previous results using Mg-free one-layer models12.

Most recent seismic models including EPOC16, ek13715, KHOMC17, and CCMOC18 show lower VP values in the outermost outer core than the PREM model. Here we use the EPOC model16 as a representative model to examine the impact of seismic models on our findings. Using the core density and velocity from EPOC, we performed similar optimizations for both one-layer and two-layer models. We found that for the homogeneous outer core, the Fe-5wt%Ni-Mg-Si-C, Fe-5wt%Ni-Mg-Si-H, Fe-5wt%Ni-Mg-Si-O, and Fe-5wt%Ni-Mg-Si-S systems exhibit minimum ∆ values (0.26–0.30) near 0.25, but no model can yield a ∆ value lower than 0.25 (Supplementary Data 1). For the two-layer outer core, only the Fe-5wt%Ni-Mg-Si-H system yields solutions with ∆<0.25 (Supplementary Data 1 and Fig. S13). The best-fit compositions contain 1.31 ± 0.27 wt% Mg, 4.13 ± 1.72 wt% Si, and 0.16 ± 0.16 wt% H in the upper outer core, and 5.03 ± 0.63 wt% Si and 0.23 ± 0.07 wt% H in the lower outer core. Equilibrium partitioning at the ICB4244 further indicates that the inner core contains 5.03 ± 0.63 wt% Si and 0.07 ± 0.02 wt% H. Compared to PREM, using EPOC as constraints requires more Mg in the upper outer core to further reduce the velocity of Fe-rich liquid. Our study reveals the critical role played by Mg in reducing velocity in Earth’s outer core. Across all optimized composition models with ∆< 0.25, the best-fit Mg contents range from 0.50 to 1.79 wt% (Fig. 3), suggesting the presence of Mg in the outer core, particularly in the outermost a few hundred kilometers. Using Mg/Al ratios in the BSE and CI carbonaceous chondrites30, our two-layer core model using EPOC density and velocity suggests that about 8% of the missing Mg in the BSE may be sequestered the core. A larger fraction of the missing Mg would reside in the core if the one-layer core model and the PREM density and VP were used. Regardless of geophysical or compositional models, the inferred upper outer core likely contains Mg as a major light element.

Fig. 3. The calculated Mg content in Earth’s upper outer core (~600 km thick).

Fig. 3

Optimized core composition models with < 0.25 are shown. Superscripts “1” and “2” denote the homogeneous outer core model and the two-layer outer core model, respectively, while subscripts “PREM” and “EPOC” indicate results derived from the PREM and EPOC seismic models, respectively. The horizontal red dashed line represents the maximum Mg content of ~0.5 wt% in Earth’s core that could be sequestered at moderate equilibration temperatures (2500–3500 K) at the base of an early magma ocean, without the Moon-forming giant impact.

Implications for the formation of the E′ layer

Experimental studies on high-pressure metal-silicate partitioning of Mg5,35,49 suggest that the dissolution of MgO into metal is dependent on temperature. Although some studies32,36 argue that Mg dissolution is strongly affected by the O content in the metal, recent results from ref. 50 incorporating self-consistent Mg-Si-O interactions confirm the notion that temperature is the controlling factor for Mg partitioning as both O and Si contents (two Mg-attracting elements) in the metal increase with temperature. Given the relatively modest temperatures ( ~ 2500-3500 K) at the base of the early magma ocean, where metal-silicate equilibration occurred during core formation, the Mg content in the metal was estimated to be 0.2-0.5 wt%5,49,50, significantly lower than our estimated Mg content of 1.31 ± 0.27 wt% in the upper outer core (Fig. 3), when the EPOC model is used for optimization. Thus, the Moon-forming giant impact was necessary to generate the extreme temperatures required to produce the elevated Mg content in the E′ layer. Figure 4e–h schematically illustrate the inferred formation process of the E′ layer, highlighting key stages for the exchange and differentiation of light elements. At first, a proto-core of Fe-Si-H composition (lower outer core of the two-layer model) had formed possibly through the accretion and merge of a serious of relatively small impactor cores equilibrated with magma oceans of various depths5153 before the Moon-forming giant impact event (Fig. 4e). The extremely high temperatures during the Moon-forming giant impact likely produced an Mg-rich Fe-Si-H-O-Mg metal diapir that had lower density than the proto-core and formed a buoyant layer surrounding the proto-core similar to the process described in ref. 28 (Fig. 4f, g). The subsequent secular cooling of the core could have exsolved some amounts of light elements in the forms of SiO249,54,55, H2O, FeO49,55, and/or MgO5,33,49,55 (Fig. 4h), resulting in an O-depleted E′ layer with an Fe-Si-H-Mg composition. Such exsolution processes are likely determined by the temperature-dependent solubilities of various components in the liquid core, which reflect chemical equilibrium between the core and the exsolved phases, although other solid components in the lower mantle, if in contact with the liquid outer core, may also affect the exsolution processes. Figure 4a–d compare the differences in elemental concentrations for Si, H, Fe, and Mg between the inner and outer cores, reflecting the combined effects of the giant impact and subsequent light elements exsolution. The net results are such that some Mg from the mantle was incorporated into the upper outer core, while Si, H, Fe originally present in the upper outer core were transported into the mantle. Some O may have dissolved into the upper outer core along with other elements right after the giant impact but became depleted during the cooling process of the core.

Fig. 4. Schematic illustration of the E′ layer formation.

Fig. 4

ad The differences in concentrations of key elements including Si, H, Fe, and Mg between the upper outer core (E′ layer) and the lower outer core; e Formation of an Fe-Si-H proto-core before the giant impact; f Merging of the giant impactor core with the proto-core; g Formation of a stratified upper outer core layer with a composition of Fe-Si-H-Mg-O by delivery of excess Mg-Si-O components to the core; h Formation of the E′ layer with Fe-Si-H-Mg composition by exsolving SiO2, H2O, FeO, and possibly MgO components from the outermost core into the mantle.

The exsolution of Si, Fe, or H into the mantle has been proposed as a potential mechanism for driving the ancient dynamo49,5456. In addition, some Mg exsolution is also expected5,33, as it is estimated that the giant impact could deliver 1.5–3.3 wt% Mg to the core49, a range surpassing our estimate of 1.31 ± 0.27 wt% Mg in the present-day E′ layer. Exsolution of these primordial elements from the E′ layer to the mantle could have contributed to primordial isotopic signatures observed in some ocean island basalts (OIBs). For example, the anomalously low D/H ratios in Baffin Island and Icelandic lavas57 may reflect core-derived primordial materials brought up to the surface by mantle plumes. Our results highlight the complex Mg-Si, Mg-Fe, and Mg-H exchanges between the core and mantle, primarily driven by giant impacts and core cooling, providing insights into the coupled evolution of Earth’s deep interior.

Methods

First-principles molecular dynamics

First-principles molecular dynamics (FPMD) simulations were performed using the Vienna Ab initio Simulation Package (VASP)58 with the projector augmented wave (PAW) method59. The valence configurations for Fe and Mg in the PAW potentials are 3p63d74s1 and 3s2, respectively. The Perdew-Wang type generalized gradient approximation (GGA) was utilized for the exchange-correlation functional60. The plane wave cutoff energy was set at 450 eV and the Γ point was used to sample the Brillouin zone. Fermi-Dirac distributions were used for the single-particle orbitals. Simulations were carried out in the canonical ensemble (NVT) using a Nosé-Hoover thermostat for temperature control. To determine the effects of Mg on liquid Fe properties, seven supercells—Fe80, Fe78Mg1, Fe78Mg2, Fe78Mg3, Fe78Mg4, Fe78Mg6, and Fe78Mg8—were investigated, corresponding to Mg contents of 0.0 wt%, 0.55 wt%, 1.10 wt%, 1.65 wt%, 2.18 wt%, 3.24 and 4.27 wt%, respectively. The simulations were conducted over a pressure range of 121–340 GPa and a temperature range of 6000–7500 K. Each simulation has a timestep of 1.0 fs and a duration of about 14–24 ps. Initial temperature was set to 10000 K in the first 2 ps and melting of a system was verified by the radial distribution function (RDF) and mean square displacements (MSD) of atoms. The structures were then quenched to the target temperatures (6000 to 7500 K) over a period of 2 ps, followed by an equilibration phase of 10–20 ps to determine pressure and energy. Different pressures were accessed by varying the volume of a supercell. The Pulay stress was determined to be less than 0.2 GPa using simulations employing a cutoff energy of 800 eV and a 2 × 2 × 2 k-point mesh. The effects of simulation cell size and time duration were evaluated by performing test simulations with a larger cell of Fe156Mg16 and/or a longer duration of up to 50 ps. These simulations showed negligible differences in pressure (< 0.25 GPa), internal energy (< 9.00 meV/atom), and derived compressional wave velocity ( < 0.3%) (Supplementary Figs. S2-3), indicating that the present system size ( ~ 80 atoms) and duration ( ~ 10 ps) are sufficient for the calculations of the compressional properties of liquid Fe-Mg alloys (Supplementary Text S1). Additional simulations were performed to determine the EOS of hcp-structured Fe60Mg4 under inner core conditions (Supplementary Table S3). These results were utilized to estimate the volume of Mg at the inner core boundary and to calculate the density of Fe-Mg alloys.

Equation of state fitting

The Mie–Grüneisen equation of state (EOS) was used to describe the pressure-density-temperature (P-ρ-T) data for liquid Fe and Fe-Mg alloys:

Pρ,T=3KT02ρρ07/3ρρ05/31+34KT04ρρ02/31+Bρ(TTref), 1

where ρ0, KT0, and KT0 are, respectively, the density, isothermal bulk modulus, and pressure derivative of KT0 at zero pressure and reference temperature Tref; Bρ=(a+bρ0/ρ) accounts for the temperature dependence of thermal pressure61,62. The EOS parameters (ρ0, KT0, KT0, a, and b) for all liquids were determined by least-squares fitting of the P-ρ-T data from simulations to Eq. (1) with a Tref of 6000 K. The best-fit EOS parameters are presented in Supplementary Table S1.

Calculations of the compressional wave velocity

The compressional wave velocities (VP) of liquid Fe and Fe-Mg alloys were calculated from the adiabatic bulk modulus (KS) and density, both of which were obtained using the EOS:

VP=KSρ. 2

The adiabatic bulk modulus (KS) is related to the isothermal bulk modulus (KT), via

Ks=KT+γTdPdTV, 3

and

γ=VCVdPdTV, 4

where γ is the Grüneisen parameter; CV is the isochoric heat capacity; (dP/dT)V is the temperature dependence of thermal pressure and is equal to B(ρ) in Eq. (1); KT can be obtained from the EOS by taking derivative of Eq. (1) as,

KT=ρdPdρT. 5

According to the previous studies, e.g. refs. 61,63, γ is independent of temperature but depends on density as

γ=γ0ρ0ρc, 6

where γ0 is the zero-pressure Grüneisen parameter and c is a constant of density. We obtained γ0 and c by fitting the P-ρ-T data from simulations to Eqs. (4) and (6). The best-fit results are listed in Supplementary Table S2. The Grüneisen parameter is related to the density derivative of temperature at constant entropy (S):

γ=logTlogρS, 7

Integration of Eq. (7) yields the adiabatic temperature profiles in the outer core. Using 5400 K and 6000 K as two endmember temperatures for the inner core boundary (ICB), the estimated temperatures at the core-mantle boundary are about 4000 K and 4500 K, respectively, consistent with those used in previous studies61,64.

Calculations of core properties and optimization of core composition

The density and compressional wave velocity of the Earth’s outer core were calculated using the ideal mixing model of Fe-alloying liquids, similar to the approach used in ref. 14,65 In this model, the density, adiabatic bulk modulus, and VP of Fe-alloying liquids are determined by the following equations:

ρ=MV=iXiMiiXiVi, 8
VKS=iXiViKS,i, 9
VP=KS/ρ, 10

where M, V, ρ, KS, and VP correspond to the molar mass, molar volume, density, adiabatic bulk modulus, and compressional wave velocity of the alloy; Xi, Mi, Vi, and KS,i represent the atomic fraction, atomic mass, partial atomic volume, and adiabatic bulk modulus of the i-th component in the Fe-alloy, respectively. The components considered include Fe, Si, O, C, S, H, and Mg. For the values of Vi and KS,i, we utilized data derived from prior FPMD calculations14 that used similar exchange-correlation pseudopotentials and pressure corrections to this study. To account for the presence of 5 wt% Ni in the core, a positive density correction of 0.18% and a negative velocity correction of −0.19% were applied to the calculated properties of the Fe-rich liquids14. To evaluate the validity of the ideal mixing model for estimating density and VP, we performed additional FPMD simulations for the Fe101Ni5Si11Mg3 composition, corresponding to 4.6 wt% Ni, 4.9 wt% Si, and 1.2 wt% Mg (Supplementary Text S2). This composition closely approximates the best-fit estimate for the E′ layer derived from the EPOC model. The calculated density (Supplementary Fig. S8) and VP from these simulations are consistent with those predicted by the ideal mixing model within uncertainty, confirming that the ideal mixing model provides a reliable description of the density and VP of Fe alloys under outer-core conditions.

We employed a simulated annealing algorithm66 to determine the optimal combination of light elements (Si, S, O, C, H, Mg) in the core, simultaneously satisfying seismically observed core properties and chemical equilibrium at the ICB. The density and VP of the outer core at several different depths and the density of the inner core at the ICB from both the PREM and EPOC models were used as observational constraints. The reduced misfit function for the optimization process was defined as:

Δ=1NMiρiCalcρiObsσρ,i2+VPiCalcVPiObsσVP,i2OC+ρICCalcρICObsσρ,IC2 11

where ρi and VP,i represent the density and VP of the outer core (OC) at one of the nine selected depths corresponding to pressures of 135, 150, 175, 200, 225, 250, 275, 300, and 325 GPa. The term ρIC denotes the density of the inner core at the ICB. Superscripts “Calc” and “Obs” indicate calculated and observed values, respectively. The degrees of freedom for fitting are given by N-M, where N and M are the number of data points and the number of free parameters, respectively. Uncertainties in the density (σρ,i and σρ,IC) and VP (σVP,i) are estimated to be ~0.58% and ~0.82%, respectively. The assessment of uncertainties in VP demonstrates that variations in σVP,i exert a negligible effect on the inferred Mg content and do not alter the compositional contrasts between the upper and lower outer core layers for Si, H, Fe, and Mg (Supplementary Text S4 and Figs. S1417).

Supplementary information

41467_2026_68572_MOESM2_ESM.pdf (28.1KB, pdf)

Description of Additional Supplementary File

Supplementary Data 1 (12.2KB, xlsx)

Acknowledgements

This research was supported by the National Key R&D Program of China (2022YFF0503202) and the Guangdong Basic and Applied Basic Research Foundation (2024A1515010935), and the High Level Special Fund of SUSTech (G03050K001) to ZJ. Computing resources were provided by the Center for Computational Science and Engineering and the Department of Earth and Space Sciences at Southern University of Science and Technology.

Author contributions

Z.J. conceptualized the project. T.L. conducted all computational analyses. Both authors contributed to the interpretation and discussion of the results. T.L. and Z.J. collaboratively wrote the manuscript.

Peer review

Peer review information

Nature Communications thanks Alessandro Laio, and the other, anonymous, reviewer(s) for their contribution to the peer review of this work. A peer review file is available.

Data availability

All data generated in this study are provided in the Supplementary Data 1 and the Mendeley Data repository (10.17632/vncnpgy22g.1).

Code availability

The software package (VASP) used in this study is commercially available at (https://www.vasp.at/). Codes are publicly accessible through the Mendeley Data repository at 10.17632/vncnpgy22g.1

Competing interests

The authors declare no competing interests.

Footnotes

Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary information

The online version contains supplementary material available at 10.1038/s41467-026-68572-4.

References

  • 1.Li, Y., Vočadlo, L., Sun, T. & Brodholt, J. P. The Earth’s core as a reservoir of water. Nat. Geosci.10.1038/s41561-020-0578-1 (2020).
  • 2.Tagawa, S. et al. Experimental evidence for hydrogen incorporation into Earth’s core. Nat. Commun.12, 2588 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.Sun, Y. et al. Unveiling the effect of Ni on the formation and structure of Earth’s inner core. Proc. Natl. Acad. Sci.121, e2316477121 (2024). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4.Wilson, A. J., Alfè, D., Walker, A. M. & Davies, C. J. Can homogeneous nucleation resolve the inner core nucleation paradox? Earth Planet. Sci. Lett.614, 118176 (2023). [Google Scholar]
  • 5.Badro, J., Siebert, J. & Nimmo, F. An early geodynamo driven by exsolution of mantle components from Earth’s core. Nature536, 326–328 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 6.Nimmo, F. et al. Treatise on Geophysics (Second Edition). 10.1016/b978-0-444-53802-4.00139-1 (2015).
  • 7.Hirose, K., Wood, B. & Vočadlo, L. Light elements in the Earth’s core. Nat. Rev. Earth Environ.10.1038/s43017-021-00203-6 (2021).
  • 8.Poirier, J.-P. et al. Light elements in the Earth’s outer core: a critical review. Phys. Earth Planet85, 319–337 (1994). [Google Scholar]
  • 9.Birch, F. Elasticity and constitution of the Earth’s interior. J. Geophys Res57, 227–286 (1952). [Google Scholar]
  • 10.Li, J. & Fei, Y. Treatise on Geochemistry (Second Edition). 527–557 10.1016/b978-0-08-095975-7.00214-x (2014).
  • 11.Dziewonski, A. M. & Anderson, D. L. Preliminary reference Earth model. Phys. Earth Planet25, 297–356 (1981). [Google Scholar]
  • 12.Liu, T. & Jing, Z. Hydrogen and silicon are the preferred light elements in Earth’s core. Commun. Earth Environ.5, 282 (2024). [Google Scholar]
  • 13.Badro, J., Cote, A. S. & Brodholt, J. P. A seismologically consistent compositional model of Earth’s core. Proc. Natl. Acad. Sci.111, 7542–7545 (2014). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14.Umemoto, K. & Hirose, K. Chemical compositions of the outer core examined by first principles calculations. Earth Planet Sc. Lett.531, 116009 (2020). [Google Scholar]
  • 15.Kennett, B. L. N. Radial earth models revisited. Geophys. J. Int.222, 2189–2204 (2020). [Google Scholar]
  • 16.Irving, J. C. E., Cottaar, S. & Lekić, V. Seismically determined elastic parameters for Earth’s outer core. Sci. Adv.4, eaar2538 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17.Kaneshima, S. & Matsuzawa, T. Stratification of Earth’s outermost core inferred from SmKS array data. Prog. Earth Planet Sci.2, 15 (2015). [Google Scholar]
  • 18.Ma, X. & Tkalčić, H. CCMOC: a new view of the Earth’s outer core through the global coda correlation wavefield. Phys. Earth Planet334, 106957 (2023). [Google Scholar]
  • 19.Gubbins, D. & Davies, C. J. The stratified layer at the core–mantle boundary caused by barodiffusion of oxygen, sulphur and silicon. Phys. Earth Planet215, 21–28 (2013). [Google Scholar]
  • 20.Helffrich, G. Outer core compositional layering and constraints on core liquid transport properties. Earth Planet Sc. Lett.391, 256–262 (2014). [Google Scholar]
  • 21.Brodholt, J. & Badro, J. Composition of the low seismic velocity E′ layer at the top of Earth’s core. Geophys Res Lett.44, 8303–8310 (2017). [Google Scholar]
  • 22.Arveson, S. M., Deng, J., Karki, B. B. & Lee, K. K. M. Evidence for Fe-Si-O liquid immiscibility at deep Earth pressures. Proc. Natl. Acad. Sci.116, 201821712 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23.Labrosse, S., Hernlund, J. W. & Coltice, N. A crystallizing dense magma ocean at the base of the Earth’s mantle. Nature450, 866–869 (2007). [DOI] [PubMed] [Google Scholar]
  • 24.Kim, T. et al. A hydrogen-enriched layer in the topmost outer core sourced from deeply subducted water. Nat. Geosci. 10.1038/s41561-023-01324-x. (2023).
  • 25.Garnero, E. J., Helmberger, D. V. & Grand, S. P. Constraining outermost core velocity with SmKS waves. Geophys Res Lett.20, 2463–2466 (1993). [Google Scholar]
  • 26.Garnero, E. J. & Helmberger, D. V. A very slow basal layer underlying large-scale low-velocity anomalies in the lower mantle beneath the Pacific: evidence from core phases. Phys. Earth Planet91, 161–176 (1995). [Google Scholar]
  • 27.Buffett, B. Geomagnetic fluctuations reveal stable stratification at the top of the Earth’s core. Nature507, 484–487 (2014). [DOI] [PubMed] [Google Scholar]
  • 28.Landeau, M., Olson, P., Deguen, R. & Hirsh, B. H. Core merging and stratification following giant impact. Nat. Geosci.9, 786–789 (2016). [Google Scholar]
  • 29.Kawano, K. et al. Extensive iron–water exchange at Earth’s core–mantle boundary can explain seismic anomalies. Nat. Commun.15, 8701 (2024). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 30.McDonough, W. F. & Sun, S.S.The composition of the Earth. Chem. Geol.120, 223–253 (1995). [Google Scholar]
  • 31.Braukmüller, N., Wombacher, F., Funk, C. & Münker, C. Earth’s volatile element depletion pattern inherited from a carbonaceous chondrite-like source. Nat. Geosci.12, 564–568 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 32.Du, Z., Boujibar, A., Driscoll, P. & Fei, Y. Experimental constraints on an MgO exsolution-driven geodynamo. Geophys Res Lett.46, 7379–7385 (2019). [Google Scholar]
  • 33.O’Rourke, J. G. & Stevenson, D. J. Powering Earth’s dynamo with magnesium precipitation from the core. Nature529, 387 (2016). [DOI] [PubMed] [Google Scholar]
  • 34.Liu, W., Zhang, Y., Yin, Q.-Z., Zhao, Y. & Zhang, Z. Magnesium partitioning between silicate melt and liquid iron using first-principles molecular dynamics: Implications for the early thermal history of the Earth’s core. Earth Planet Sc. Lett.531, 115934 (2020). [Google Scholar]
  • 35.Badro, J. et al. Magnesium partitioning between Earth’s mantle and core and its potential to drive an early exsolution geodynamo. Geophys Res Lett.45, 13,240–13,248 (2018). [Google Scholar]
  • 36.Du, Z. et al. Insufficient energy from MgO exsolution to power early geodynamo. Geophys Res Lett.44, 11,376–11,381 (2017). [Google Scholar]
  • 37.Kádas, K., Vitos, L. & Ahuja, R. Elastic properties of iron-rich hcp Fe–Mg alloys up to Earth’s core pressures. Earth Planet Sc. Lett.271, 221–225 (2008). [Google Scholar]
  • 38.Kádas, K., Vitos, L., Johansson, B. & Ahuja, R. Stability of body-centered cubic iron–magnesium alloys in the Earth’s inner core. Proc. Natl. Acad. Sci.106, 15560–15562 (2009). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 39.Alfè, D., Price, G. D. & Gillan, M. J. Iron under Earth’s core conditions: Liquid-state thermodynamics and high-pressure melting curve from ab initio calculations. Phys. Rev. B65, 165118 (2002). [Google Scholar]
  • 40.Anderson, W. W. & Ahrens, T. J. An equation of state for liquid iron and implications for the Earth’s core. J. Geophys Res Solid Earth99, 4273–4284 (1994). [Google Scholar]
  • 41.Umemoto, K. & Hirose, K. Liquid iron-hydrogen alloys at outer core conditions by first-principles calculations. Geophys Res Lett.42, 7513–7520 (2015). [Google Scholar]
  • 42.Zhang, Z., Csányi, G. & Alfè, D. Partitioning of sulfur between solid and liquid iron under earth’s core conditions: constraints from atomistic simulations with machine learning potentials. Geochim Cosmochim. Ac10.1016/j.gca.2020.03.028 (2020). [Google Scholar]
  • 43.Alfè, D., Gillan, M. J. & Price, G. D. Composition and temperature of the Earth’s core constrained by combining ab initio calculations and seismic data. Earth Planet Sc. Lett.195, 91–98 (2002). [Google Scholar]
  • 44.Li, Y., Vočadlo, L., Alfè, D. & Brodholt, J. Carbon partitioning between the earth’s inner and outer core. J. Geophys. Res. Solid Earth10.1029/2019jb018789 (2019).
  • 45.Li, Y., Vočadlo, L., Alfè, D. & Brodholt, J. Mg partitioning between solid and liquid iron under the Earth’s core conditions. Phys. Earth Planet274, 218–221 (2018). [Google Scholar]
  • 46.Gastine, T., Aubert, J. & Fournier, A. Dynamo-based limit to the extent of a stable layer atop Earth’s core. Geophys J. Int222, 1433–1448 (2020). [Google Scholar]
  • 47.Dreibus, G. & Palme, H. Cosmochemical constraints on the sulfur content in the Earth’s core. Geochim Cosmochim. Ac60, 1125–1130 (1996). [Google Scholar]
  • 48.Fischer, R. A., Cottrell, E., Hauri, E., Lee, K. K. M. & Voyer, M. L. The carbon content of Earth and its core. Proc. Natl. Acad. Sci.117, 8743–8749 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 49.Helffrich, G., Hirose, K. & Nomura, R. Thermodynamical modeling of liquid Fe-Si-Mg-O:molten magnesium silicate release from the core. Geophys Res Lett.47, e2020GL089218 (2020). [Google Scholar]
  • 50.Pu, C., Gao, X., Wu, Z., Du, Z. & Jing, Z. Metal-silicate partitioning of Si, O, and Mg at high pressures and high temperatures: implications to the compositional evolution of core-forming metallic melts. Geochem., Geophys., Geosystems26, e2024GC011940 (2025). [Google Scholar]
  • 51.Rubie, D. C. et al. Accretion and differentiation of the terrestrial planets with implications for the compositions of early-formed Solar System bodies and accretion of water. Icarus248, 89–108 (2015). [Google Scholar]
  • 52.Rubie, D. C. et al. Heterogeneous accretion, composition and core–mantle differentiation of the Earth. Earth Planet Sc. Lett.301, 31–42 (2011). [Google Scholar]
  • 53.Fischer, R. A., Campbell, A. J. & Ciesla, F. J. Sensitivities of Earth’s core and mantle compositions to accretion and differentiation processes. Earth Planet Sc. Lett.458, 252–262 (2017). [Google Scholar]
  • 54.Hirose, K. et al. Crystallization of silicon dioxide and compositional evolution of the Earth’s core. Nature543, 99–102 (2017). [DOI] [PubMed] [Google Scholar]
  • 55.Mittal, T. et al. Precipitation of multiple light elements to power Earth’s early dynamo. Earth Planet Sc. Lett.532, 116030 (2020). [Google Scholar]
  • 56.Wilson, A. J. et al. Powering Earth’s ancient dynamo with silicon precipitation. Geophys. Res. Lett. 49, e2022GL100692 (2022).
  • 57.Hallis, L. J. et al. Evidence for primordial water in Earth’s deep mantle. Science350, 795–797 (2015). [DOI] [PubMed] [Google Scholar]
  • 58.Kresse, G. & Hafner, J. Ab initio molecular dynamics for liquid metals. Phys. Rev. B47, 558–561 (1993). [DOI] [PubMed] [Google Scholar]
  • 59.Blöchl, P. E. Projector augmented-wave method. Phys. Rev. B50, 17953–17979 (1994). [DOI] [PubMed] [Google Scholar]
  • 60.Perdew, J. P., Burke, K. & Ernzerhof, M. Generalized gradient approximation made simple. Phys. Rev. Lett.77, 3865–3868 (1996). [DOI] [PubMed] [Google Scholar]
  • 61.Bajgain, S. K., Mookherjee, M. & Dasgupta, R. Earth’s core could be the largest terrestrial carbon reservoir. Commun. Earth Environ.2, 165 (2021). [Google Scholar]
  • 62.Karki, B. B., Ghosh, D. B. & Banjara, D. Mixed incorporation of carbon and hydrogen in silicate melts under varying pressure and redox conditions. Earth Planet Sc. Lett.549, 116520 (2020). [Google Scholar]
  • 63.Ichikawa, H., Tsuchiya, T. & Tange, Y. The P-V-T equation of state and thermodynamic properties of liquid iron. J. Geophys Res Solid Earth119, 240–252 (2014). [Google Scholar]
  • 64.Fischer, R. A. Deep earth: physics and chemistry of the lower mantle and core. 1–12 10.1002/9781118992487.ch1 (2016).
  • 65.Deng, X. et al. Compositional and thermal state of the lower mantle from joint 3D inversion with seismic tomography and mineral elasticity. Proc. Natl. Acad. Sci.120, e2220178120 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 66.Chong, E. K. P. & Żak, S. H. An introduction to optimization, Third Edition. 267–295 10.1002/9781118033340.ch14 (2011).
  • 67.Bajgain, S. K., Mookherjee, M., Dasgupta, R., Ghosh, D. B. & Karki, B. B. Nitrogen Content in the Earth’s Outer Core. Geophys Res Lett.46, 89–98 (2019). [Google Scholar]
  • 68.Kuwayama, Y. et al. Equation of state of liquid iron under extreme conditions. Phys. Rev. Lett.124, 165701 (2020). [DOI] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

41467_2026_68572_MOESM2_ESM.pdf (28.1KB, pdf)

Description of Additional Supplementary File

Supplementary Data 1 (12.2KB, xlsx)

Data Availability Statement

All data generated in this study are provided in the Supplementary Data 1 and the Mendeley Data repository (10.17632/vncnpgy22g.1).

The software package (VASP) used in this study is commercially available at (https://www.vasp.at/). Codes are publicly accessible through the Mendeley Data repository at 10.17632/vncnpgy22g.1


Articles from Nature Communications are provided here courtesy of Nature Publishing Group

RESOURCES