China is the largest consumer of primary energy in the world, using some 159.39 exajoules in 2022. This is far more than was consumed by the United States, which ranks second. The majority of primary energy fuels are still derived from fossil fuels such as oil and coal.