Where Does Bacteria Get Its Energy From?

Understand the ingenious methods bacteria use to fuel their existence, highlighting their essential contributions to global ecological processes.

Bacteria get their energy from an astonishing range of sources, far beyond what most people imagine. While many familiar species break down sugars and other organic molecules, much like animals do, the bacterial world also includes species that harvest sunlight, feed on hydrogen gas, extract energy from iron and sulfur compounds, and even tap into radioactive decay deep underground. This metabolic diversity is one of the defining features of bacterial life and a major reason bacteria thrive in virtually every environment on Earth.

The Familiar Route: Breaking Down Organic Molecules

The energy strategy most people think of first is the one that mirrors our own: consuming organic compounds like sugars, amino acids, and fats, then breaking them apart to release stored chemical energy. Common laboratory organisms like Escherichia coli and Bacillus subtilis operate this way, and so do many of the bacteria you encounter in daily life, from the species that spoil food to those that cause infections. These bacteria are called chemoheterotrophs, a term that simply means they get both their energy and their carbon building blocks from chemical compounds made by other organisms.

When oxygen is available, bacteria can fully oxidize those organic molecules through aerobic respiration, squeezing out a relatively large amount of energy per molecule. Without oxygen, many bacteria switch to fermentation or anaerobic respiration, which yield less energy but keep the cell alive. Fermentation is the process behind yogurt, sauerkraut, and many other fermented foods: bacteria break down sugars partially, producing acids or alcohols as waste products. Anaerobic respiration works differently. Instead of oxygen, bacteria use other molecules as their final electron dump, including nitrate, sulfate, and even certain metals. The overall yield sits somewhere between fermentation and full aerobic respiration.

The central energy currency in all of these processes is ATP, a small molecule that stores energy in a form every cell can use. Even in bacteria, ATP production is tightly regulated. Experiments with purified bacterial ATP-producing machinery show that the rate of ATP synthesis drops sharply as the concentration of ATP already present in the cell rises into the range typical of living cells, falling to roughly 10 to 20 percent of its maximum rate. This built-in feedback prevents the cell from overproducing energy it cannot immediately use.

Bacteria That Run on Light

Sunlight powers a large and ecologically important fraction of the bacterial world. The most familiar light-harvesting bacteria are cyanobacteria, sometimes called blue-green algae, which carry out photosynthesis in much the same way plants do. They use chlorophyll-containing structures embedded in internal membranes, along with specialized light-collecting antennae called phycobilisomes, to capture light and convert it into chemical energy. Like plants, cyanobacteria split water molecules in the process, releasing oxygen. They were, in fact, the organisms responsible for oxygenating Earth’s atmosphere billions of years ago.

Marine cyanobacteria face a particular challenge: light levels change dramatically depending on depth and weather. Species like Synechococcus WH8102 cope by physically remodeling their light-harvesting antennae. Under low light, they build bigger antennae with extended rods, widening the net they cast for incoming photons. This tuning allows them to thrive across a wide range of ocean depths.

Not all photosynthetic bacteria produce oxygen, though. Green sulfur bacteria and purple sulfur bacteria carry out a different kind of photosynthesis, called anoxygenic photosynthesis, in which hydrogen sulfide replaces water as the electron source. Instead of releasing oxygen, these bacteria deposit sulfur as a byproduct. They tend to live in environments where oxygen is scarce or absent, such as hot springs, stagnant lakes, and deep-sea sediments, places where hydrogen sulfide is plentiful.

The Rhodopsin Shortcut

There is a simpler, less energy-intensive way for bacteria to use light that does not involve the full photosynthetic machinery. Many marine bacteria carry a protein called proteorhodopsin, a membrane-embedded pump that uses light energy to push protons across the cell membrane. That proton gradient then drives ATP production, providing a modest energy supplement. Proteorhodopsin does not replace the need for food; bacteria carrying it still consume organic molecules. But the extra light-derived ATP can make a real difference when food is scarce. In starvation experiments, bacteria with functioning proteorhodopsin maintained cell numbers about 2.5 times higher in the light compared to darkness after ten days, a substantial survival advantage in the nutrient-poor open ocean.

Proteorhodopsin genes turn out to be remarkably widespread in ocean bacteria. Surveys of coastal bacterial communities have identified the protein in abundant groups like the SAR92 clade, suggesting that this light-driven energy boost is a common survival strategy rather than a rare trick.

Energy From Rocks, Metals, and Inorganic Chemicals

Some of the most extreme bacterial energy strategies involve no organic food and no light at all. Chemolithotrophic bacteria draw energy from inorganic chemical reactions, oxidizing compounds like ammonia, hydrogen sulfide, ferrous iron, or elemental sulfur. Ammonia-oxidizing bacteria, for instance, strip electrons from ammonia as they convert it to nitrite, and this reaction is their sole energy source for growth and cell maintenance. These bacteria play a critical role in the nitrogen cycle, converting ammonia from decomposition and fertilizer into forms other organisms can use.

Deep-sea hydrothermal vents are perhaps the most dramatic showcase of chemolithotrophic life. At these underwater volcanic openings, superheated, mineral-rich water meets cold ocean water, creating chemical gradients that bacteria exploit for energy. Diverse microbial communities at these sites run on sulfur, hydrogen, and metal cycling, supporting entire ecosystems, including giant tube worms and clams, without a single photon of sunlight. The bacteria at vents serve as primary producers the way plants do on land, building organic matter from carbon dioxide using chemical energy instead of light.

Living on Thin Air (Literally)

A growing body of research reveals that some bacteria can survive on trace gases present in the atmosphere itself. In desert soils across four continents, bacteria oxidize atmospheric hydrogen gas to generate energy and fix carbon, entirely independent of photosynthesis. When dry desert soils are wetted, hydrogen oxidation rates jump by roughly 950-fold, indicating that these bacteria are primed for the reaction and simply waiting for enough water to activate their metabolism. Hydrogen is present in the atmosphere at only about 0.5 parts per million, yet these bacteria manage to harvest it at concentrations far below what was previously thought usable.

Methane is another gas that fuels bacterial life. Methanotrophic bacteria oxidize methane, either with oxygen or with alternative electron acceptors, using it as both a carbon source and an energy source. These organisms act as a natural brake on atmospheric methane levels, consuming large quantities of this potent greenhouse gas before it escapes from soils and wetlands into the air. Carbon monoxide feeders exist too. Carboxydotrophic bacteria use specialized enzymes, carbon monoxide oxidases, to strip energy from CO, a gas toxic to most other life.

Breathing Rocks and Sharing Electrons

When we think of breathing, we picture lungs pulling in oxygen. But for certain bacteria, “breathing” means transferring electrons to solid minerals or metal surfaces outside the cell. This process, called extracellular electron transfer, allows bacteria to use naturally occurring metal compounds, or even artificial electrodes, as their terminal electron acceptor in respiration. Geobacter species are the best-studied examples. They form conductive biofilms on surfaces and shuttle electrons outward through protein nanowires, effectively using the mineral as their oxygen substitute.

This electrical capability also enables a remarkable form of cooperation between species. In a process called direct interspecies electron transfer, one bacterium donates electrons directly to another through biological wiring, such as conductive pili or outer-membrane proteins. Studies of co-cultures of Geobacter metallireducens and Geobacter sulfurreducens have shown that electrons transferred this way can serve as the sole energy source supporting the receiving partner’s respiration. Even more striking, the pairing of Geobacter metallireducens with Rhodopseudomonas palustris enables the latter to fix carbon dioxide in complete darkness, something it normally cannot do without light. Electrons flow from one partner to the other, providing the energy and reducing power needed for carbon fixation under conditions that would otherwise make it impossible.

This electron-sharing extends to practical applications. In anaerobic digesters that break down organic waste, stimulating communities of Geobacter alongside methane-producing archaea can speed up the degradation of difficult compounds like propionate and butyrate, improving the efficiency of biogas production.

Energy From Radioactive Decay

Perhaps the most alien energy strategy known in biology belongs to bacteria living kilometers below Earth’s surface. Candidatus Desulforudis audaxviator, found 2.8 kilometers deep in a South African gold mine, gets its energy from radiolysis, the splitting of water molecules by radiation from uranium, thorium, and potassium in the surrounding rock. The radiation breaks water into hydrogen and oxidizing compounds, which the bacterium then uses to fuel its metabolism. This organism lives in a self-contained ecosystem with no access to sunlight, no photosynthesis, and no connection to the surface biosphere. Modeling work suggests that galactic cosmic rays penetrating rock could produce a comparable steady energy source in similar subsurface environments, raising the possibility that this type of metabolism could operate on other rocky bodies in the solar system.

Related research on fungi has shown that melanized species from high-radiation environments, including the Chernobyl reactor site, actually grow faster in the presence of ionizing radiation, suggesting melanin may function as an energy-harvesting pigment somewhat analogous to chlorophyll. While that finding is about fungi rather than bacteria, it underscores how life can tap into energy sources most people would never imagine.

What Gut Bacteria Eat Inside You

The trillions of bacteria in your gut are chemoheterotrophs, but their diet is uniquely shaped by what you eat. They feed on whatever your own digestive system cannot absorb, especially dietary fiber and other complex carbohydrates that human enzymes cannot break down. Gut bacteria ferment these fibers into short-chain fatty acids like butyrate, propionate, and acetate, which are waste products from the bacteria’s perspective but valuable fuel for your intestinal cells and broader metabolism. Beyond carbohydrates, gut bacteria also metabolize proteins, plant polyphenols, and bile acids, extracting energy and transforming these compounds into molecules that influence everything from immune function to mood.

The composition of your diet directly determines which bacterial species thrive. A fiber-rich diet promotes bacteria that are good fermenters, increasing the production of short-chain fatty acids that have been linked to better glucose and lipid metabolism. A diet low in fiber starves those species and can shift the community toward bacteria that degrade the mucus lining of the intestine instead, since that mucus is itself a carbohydrate they can ferment when nothing better is available.

What Happens When the Energy Runs Out

Bacteria do not simply shut off when starved. They enter a state of dramatically reduced activity, sometimes called dormancy, but even this low-power mode demands energy. Recent work has shown that starving bacteria spend the largest portion of their remaining energy budget on maintaining ion balance across their cell membranes. Specifically, they must keep ions from flooding inward and causing the cell to swell and burst. This process, maintaining what researchers call plasmolysis, is an active, ATP-consuming state that directly determines how quickly cells die during starvation. In other words, even “doing nothing” costs energy. When the last ATP is gone and the membrane can no longer be maintained, the cell dies. This finding reframes bacterial dormancy not as a passive shutdown but as a controlled, costly holding pattern.

The Mitochondrial Connection

If all of this diversity in bacterial energy metabolism sounds important to the rest of life, it is, in a way that runs far deeper than ecological food webs. The mitochondria inside your own cells, the organelles that generate most of your ATP, descended from a free-living bacterium. Genomic evidence places mitochondria firmly within the alphaproteobacteria, a group of bacteria that includes many modern species with versatile energy metabolisms. Roughly two billion years ago, an ancestral alphaproteobacterium was engulfed by (or invaded) a host cell. Over vast stretches of evolutionary time, that bacterium lost its independence: it shed most of its genome, its protein-import systems were co-opted by the host, and its energy-producing membranes were reshaped into the cristae found in modern mitochondria. Every time your cells burn glucose for energy, they are using machinery that traces back to a bacterial ancestor’s respiratory system.

Putting Bacterial Energy to Work

Understanding how bacteria generate energy is not just an academic exercise. The ability of certain bacteria to transfer electrons to external surfaces has led to the development of microbial fuel cells, devices that use bacterial metabolism to convert organic waste directly into electricity. The power output of current designs remains modest, but the technology has clear appeal for niche applications like remote sensors, wastewater treatment plants that generate some of their own power, and environments where replacing batteries is impractical. The same Geobacter species studied for their electron-sharing behavior are among the most effective electricity producers in these systems, because their natural wiring is already adapted for pushing electrons onto solid surfaces.

Methanotrophs, meanwhile, are being explored for bioremediation of methane emissions from landfills, rice paddies, and natural gas infrastructure. Ammonia-oxidizing bacteria remain the workhorses of biological wastewater treatment, converting harmful ammonia into less toxic nitrogen compounds. And the discovery that desert bacteria can harvest trace atmospheric hydrogen has opened new questions about whether similar metabolisms could be engineered to pull energy from waste gas streams in industrial settings. The sheer range of bacterial energy strategies, from sunlight to radioactive rocks to the fiber in your breakfast, means that wherever there is a chemical or physical gradient, some bacterium has probably figured out how to make a living from it.