Mexico's energy mix and electricity

๐Ÿ‡ฒ๐Ÿ‡ฝ In 2025, Mexico generated 357 TWh of electricity. The largest source was gas at 62%, followed by oil and other fossil fuels (9.4%) and hydro (8.1%). In total, 26% came from low-carbon sources (nuclear and renewables) and 74% from fossil fuels.

On average, each kilowatt hour produced about 474 grams of carbon dioxide (COโ‚‚), close to the world average of 458 grams in 2025. That makes Mexico the 88th cleanest of 158 countries that generate at least 1 TWh a year.

Electricity demand was 357 TWh. Mexico exported 0.31 TWh more electricity than it imported.

Since 2000, electricity generation has grown by 75%, from 204 TWh. The low-carbon share went from 23% to 26%. The biggest rise was in gas, from 20% to 62% of generation. The biggest fall was in oil and other fossil fuels, from 47% to 9%. Carbon intensity fell from 525 to 474 grams per kWh.

Live, hour-by-hour figures for Mexico are not connected yet. The dashboard shows its yearly figures, energy mix since 2000 and interconnector trade.

Energy mix in 2025

SourceShareGenerated
Gas62%220 TWh
Oil and other fossil fuels9.4%33.6 TWh
Hydro8.1%28.9 TWh
Solar7.4%26.4 TWh
Wind6%21.4 TWh
Coal3%10.7 TWh
Nuclear2.8%10.00 TWh
Bioenergy1.7%6.07 TWh

Total energy mix in 2024

Electricity is only part of the energy Mexico uses: fuel for transport, heating and industry counts too. In 2024, Mexico used 2,310 TWh of energy in all (primary energy). The largest source was gas at 44%, followed by oil (44%) and coal (3.4%). Fossil fuels made up 91% and low-carbon sources (nuclear and renewables) 9.5%.

SourceShare of all energy
Gas44%
Oil44%
Coal3.4%
Solar2.7%
Hydro2.5%
Wind2.1%
Nuclear1.3%
Other renewables0.8%
Biofuels0.1%

Primary energy, with nuclear and renewable electricity counted as the fuel a power station would need to make it (the "substitution method"). Here "other renewables" is the Energy Institute's "geothermal, biomass and other" power generation, and biofuels are liquid fuels such as ethanol and biodiesel. Source: Energy Institute Statistical Review of World Energy via Our World in Data (CC BY 4.0).

Energy security score

64out of 100

Moderate. Mexico ranks 86th of 158 countries and 20th of 29 in Americas. The score shows how well a country could keep electricity affordable and on if fuel supplies were disrupted.

MeasureScore
Produces its own energy
In 2024, Mexico produced energy equal to 75% of all the energy it used (100% or more scores full marks).
75
Variety of power sources
How evenly generation is spread across nine sources. The largest, gas, made 62%.
67
Little reliance on imported power
Mexico exported more electricity than it imported, so it scores full marks.
100
Low-carbon power
Nuclear and renewables made 26% of generation.
26
Low gas and oil use
Gas and oil made 71% of generation; the score is 100 minus that share.
29

The five measures are weighted 30%, 20%, 20%, 15% and 15%. How the score works.

Oil and gas pipelines

Global Energy Monitor lists 22,295 km of oil and gas pipelines operating in Mexico, 1,041 km being built and 1,547 km proposed (lengths measured along the mapped routes; a pipeline crossing borders counts in full for each country). For liquefied natural gas (LNG), shipped by sea, it lists 4 import terminals operating (0 more being built or proposed) and 1 export terminal operating (12 more being built or proposed).

See them on the interactive map ยท Pipelines around the world

How it has changed

YearGeneratedLow-carbonFossilCOโ‚‚ g/kWh
2000204 TWh23%76%525
2005248 TWh18%81%556
2010276 TWh19%81%542
2015310 TWh20%81%534
2020326 TWh24%75%484
2024355 TWh26%76%483
2025357 TWh26%74%474

Questions about Mexico's energy

What is Mexico's energy mix?

In 2025, Mexico's electricity came from gas 62%, oil and other fossil fuels 9.4%, hydro 8.1% and solar 7.4%. Counting all the energy it uses, including fuel for transport and heating, the mix in 2024 was gas 44%, oil 44%, coal 3.4% and solar 2.7%.

How much of Mexico's electricity is renewable?

23% of its electricity came from renewables in 2025 (hydro 8.1%, solar 7.4%, wind 6% and bioenergy 1.7%). Including nuclear power, 26% of its electricity was low-carbon.

What is Mexico's main source of electricity?

Gas, which made 62% of its electricity in 2025.

How clean is Mexico's electricity?

About 474 grams of COโ‚‚ for each kilowatt hour in 2025, close to the world average of 458 grams. It ranks 88th cleanest of 158 countries that generate at least 1 TWh a year.

Does Mexico import electricity?

It is a net exporter: in 2025 it exported 0.31 TWh more electricity than it imported.

How secure is Mexico's energy supply?

Global Grid's energy security score for Mexico is 64 out of 100 (moderate), 86th of 158 countries. It looks at how much of its own energy it produces, how varied its power sources are, its reliance on imported power and its use of low-carbon power, gas and oil.

Other countries in Latin America and Caribbean

See every country

Sources: Ember yearly electricity data (CC BY 4.0), figures up to 2025; energy production and use by source from the Energy Institute Statistical Review via Our World in Data (CC BY 4.0), 2024; pipelines and LNG terminals from Global Energy Monitor's Global Oil Infrastructure Tracker (June 2026 release) and Global Gas Infrastructure Tracker (November 2025 release) (CC BY 4.0). Ember's latest-year figures are first estimates and may be revised. TWh: terawatt hours (one billion kWh).