Determining the thermochemical properties of hydrocarbons (HCs) at high pressure and temperature is a key step toward understanding carbon reservoirs and fluxes in the deep Earth. The stability of carbon-hydrogen systems at depths greater than a few thousand meters is poorly understood and the extent of abiogenic HCs in the Earth mantle remains controversial. We report ab initio molecular dynamics simulations and free energy calculations aimed at investigating the formation of higher HCs from dissociation of pure methane, and in the presence of carbon surfaces and transition metals, for pressures of 2 to 30 GPa and temperatures of 800 to 4,000 K. We show that for T ≥ 2,000 K and P ≥ 4 GPa HCs higher than methane are energetically favored. Our results indicate that higher HCs become more stable between 1,000 and 2,000 K and P ≥ 4 GPa. The interaction of methane with a transition metal facilitates the formation of these HCs in a range of temperature where otherwise pure methane would be metastable. Our results provide a unified interpretation of several recent experiments and a detailed microscopic model of methane dissociation and polymerization at high pressure and temperature.carbon cycle | Earth interior | numerical simulation T here is growing evidence that carbon-bearing compounds in the deep Earth contribute to the global carbon cycle (1, 2). We have limited knowledge of the role played by pressure and temperature on reactions in the C-O-H system under these conditions. In the case of methane, many open questions remain concerning its dissociation and possible polymerization under pressure, in spite of several experiments carried out in recent years (3-6).Laboratory experiments indicate that methane can form under P-T conditions of the Earth's upper mantle through carbonate reduction processes (7). For T > 1;000 K and P ¼ 4-5 GPa, thermochemical models (8) predict that methane is less stable than complex mixtures of hydrocarbons (HCs) (e.g., ethane, propane, etc.), although there is no general consensus on the temperature and pressure conditions at which dissociation and polymerization processes begin. Experiments have not yet probed the microscopic mechanisms leading to dehydrogenation of methane under pressure and formation of higher hydrocarbons.Laser-heated diamond anvil cell (DAC) experiments (3) indicate the formation of both HCs and diamond at 19 GPa and 2,000-3,000 K. These results are consistent with those of shock compression studies (9), suggesting dissociation of methane and diamond formation at 20 GPa and 2,000 K. Recent Raman measurements (6) support the formation of ethane, propane, and butane upon methane compression, in a range of pressure and temperature compatible with upper mantle conditions, i.e., P ≃ 2-5 GPa and T ≃ 1;000-1;500 K. Ethane was also found as a reaction product in a DAC experiment (5) at T > 1;100 K and P > 10 GPa. All experimental results to date indicate that heavier hydrocarbons form upon compression of methane (3-6).To investigate the relative stability of methane and ...