Producing nitrogen gas mostly means sorting it out of the air around us rather than creating it. Air is already about four-fifths nitrogen, so the hard part is removing the oxygen and other gases. Living things can’t use nitrogen gas directly, though, so a second kind of production, turning it into usable compounds, feeds every plant and crop. Lightning, soil microbes, and factories all do that second job, and half of it now comes from human activity.1PubMed Central. The global nitrogen cycle in the twenty-first century
Cooling Air Until Nitrogen Separates
The main way to separate air at large scale is cryogenic distillation, which means chilling air until it liquefies.2Energy Conversion and Management. Exergy analysis of cryogenic air separation Air is squeezed and cooled in repeated stages, shedding heat when it is compressed and cooling further when it expands.3Demaco Cryogenics. Liquid nitrogen (LN2): characteristics, production, and application
Before any of that cold arrives, the air has to be cleaned. It carries water vapor and carbon dioxide, and both turn to solid at the very low temperatures used. So dust is filtered out at the intake to protect the compressors, and beds of adsorbing material take out the water and carbon dioxide. Those beds are then regenerated and reused.
Once the air is liquid, a distillation column does the sorting. It works on the same principle as boiling alcohol off water: the part with the lower boiling point turns to vapor first. Liquid nitrogen boils at about −196 °C, colder than liquid oxygen at about −183 °C. So as the cold liquid air warms slightly inside the tower, nitrogen rises as gas toward the top, while oxygen stays liquid and collects near the bottom. Trays or packing bring the rising vapor into repeated contact with falling liquid, sharpening the separation at each step. Argon, which makes up under 1 percent of air, can be drawn from the middle of the column as a valuable by-product. The plant yields nitrogen gas, liquid nitrogen, and oxygen at the same time.
Cryogenic distillation is the choice for the purest and biggest supplies. Chip factories need nitrogen so pure that impurities can’t exceed 1 part per billion.4Separation and Purification Technology. A cryogenic ultra-purifier for liquid nitrogen back-up in the electronics industry That ultra-pure nitrogen is usually made by a plant built on the factory’s own site, using cryogenic distillation plus extra purification.4Separation and Purification Technology. A cryogenic ultra-purifier for liquid nitrogen back-up in the electronics industry At large scale, cryogenic plants also use less energy per unit of gas than smaller methods.5Patsnap Eureka. Cryogenic Air Fractionation vs Pressure Swing Adsorption: Purity %
Sieves and Membranes for Smaller Supplies
A common on-site method, pressure swing adsorption (PSA), pushes air under pressure through a carbon molecular sieve, a bed of porous carbon grains.6AIChE Journal. High‐purity Nitrogen by pressure‐swing adsorption Oxygen and nitrogen stick to the carbon about equally well, but oxygen soaks in faster.6AIChE Journal. High‐purity Nitrogen by pressure‐swing adsorption So nitrogen passes through while oxygen is held back, and then the pressure is dropped to release the trapped oxygen.6AIChE Journal. High‐purity Nitrogen by pressure‐swing adsorption
A generator keeps running without a break because it has two towers of sieve that swap jobs in a repeating cycle. While one takes in pressurized air and delivers nitrogen, the other is depressurized so it releases its oxygen to the outside. Switching roles about every minute means one tower is always ready, so nitrogen flows steadily. The whole process works at ordinary temperatures with no liquids, which is why the machines can be compact.
Membrane systems take a different route. They pass air through bundles of thin hollow plastic fibers, and oxygen slips through the fiber walls faster than nitrogen, leaving nitrogen-rich air inside.7AIChE Journal. Air separation by integrally asymmetric hollow‐fiber membranes Membranes suit applications that tolerate moderate purity, while sieve units can reach higher purity, so the need decides the choice.
You have probably met this nitrogen without knowing it. Tire shops often use a small generator to fill tires with dry, nitrogen-rich gas, avoiding the moisture in compressed shop air. Food packaging lines flush bags with nitrogen to push out oxygen that would spoil the contents. Labs and breweries may run their own generator rather than handling heavy, high-pressure cylinders and waiting for deliveries.
Choosing Between the Methods
Industry figures put cryogenic separation at about 200–350 kWh per ton of oxygen, versus about 300–450 kWh for sieve units.5Patsnap Eureka. Cryogenic Air Fractionation vs Pressure Swing Adsorption: Purity % Making nitrogen takes slightly less energy than making oxygen by these methods.8Minnuo. Comparison of PSA, VPSA and Cryogenic air separation for oxygen and nitrogen production technologies These are vendor estimates, though, and real numbers vary with purity and plant size.
A plant needing tons of nitrogen a day, or nitrogen of extreme purity such as for chip making, points toward a cryogenic plant. A modest, steady demand, like a lab or packaging line running every day, usually suits an on-site sieve generator. If the purity needed is low and simplicity matters most, a membrane unit with few moving parts is often the answer. For occasional or very small use, delivered cylinders or liquid nitrogen can cost less than buying and maintaining a generator.
Electricity isn’t the only cost. Delivered liquid involves trucking and storage tanks, while on-site generators need maintenance and floor space.
Storing Liquid Nitrogen
Liquid nitrogen is stored in vessels with a vacuum between double walls.3Demaco Cryogenics. Liquid nitrogen (LN2): characteristics, production, and application Layers of aluminum foil and glass paper inside that gap almost completely block heat.3Demaco Cryogenics. Liquid nitrogen (LN2): characteristics, production, and application Modern tanks lose about 2 percent or less per day.9Wikipedia. Liquid nitrogen – Wikipedia
Even with excellent insulation, a little heat always leaks in, and that heat boils off some of the liquid as gas. The gas takes up far more room than the liquid, so in a sealed tank it would steadily raise the pressure. Vents and relief valves let it escape so the pressure never reaches the point where the tank could burst. The hissing or white vapor you see near a tank is usually this normal release, not a sign of a fault.
A sealed ordinary container is dangerous for the same reason: it traps the gas, and pressure builds until it ruptures. Containers made for liquid nitrogen are built to let gas escape, so they should never be capped tightly.
Turning Nitrogen Into Fertilizer
Plants can’t use nitrogen gas, so it must go through nitrogen fixation, meaning it is combined into compounds such as ammonia or nitrate. Early 1900s furnaces did this by forcing air through an electric arc spread into a fan shape by a magnet.10Nature. Processes for the Fixation of Atmospheric Nitrogen The method imitated lightning, using intense heat to make air’s nitrogen and oxygen combine. But only 1 to 2 percent of the outgoing gas became nitric oxide, later turned into nitric acid.10Nature. Processes for the Fixation of Atmospheric Nitrogen Most of the electricity therefore heated air that passed through unchanged, which made the process costly. Cheap hydroelectric power made such plants workable, so they were built where electricity was plentiful.
The cyanamide process passed nitrogen over calcium carbide at about 1,000 °C to make a fertilizer.11Wikipedia. Frank–Caro process It is very energy-hungry and its product is impure.12PubMed. A Laboratory Preparation of High-Purity Calcium Cyanamide
Today most fixed nitrogen in fertilizer comes from the Haber-Bosch process, which joins nitrogen and hydrogen into ammonia under high heat and pressure. Human activity supplies about 210 million tonnes of the 413 million tonnes of nitrogen fixed each year.1PubMed Central. The global nitrogen cycle in the twenty-first century Researchers are now testing systems that use a plasma, an electrically energized gas, plus electricity to make ammonia from plain air at room conditions.13PubMed Central. Efficient ammonia synthesis from the air using tandem non-thermal plasma and electrocatalysis at ambient conditions One such system ran steadily for 100 hours on ordinary air.13PubMed Central. Efficient ammonia synthesis from the air using tandem non-thermal plasma and electrocatalysis at ambient conditions These remain experimental and are not yet in farm supply.
Making ammonia needs hydrogen, and today that hydrogen mostly comes from natural gas, tying fertilizer costs to fossil fuel prices. Ammonia made with electricity from renewable sources could weaken that link and cut the carbon emitted by fertilizer production.
Chemists who want a small amount of nitrogen take other routes. Heating ammonium nitrite breaks it down into nitrogen gas and water. Heating sodium azide gives very pure nitrogen, since the compound decomposes to nitrogen and sodium metal. Car airbags inflate with nitrogen produced when an azide compound rapidly decomposes after a crash is detected. These routes make small amounts for special uses, unlike air separation, which supplies bulk nitrogen cheaply.
How Nature Produces and Recycles Nitrogen
Earth’s nitrogen escaped from the planet’s interior and built up in the atmosphere.14International Geophysics. The Evolution of the Atmosphere Much of the nitrogen in volcanic gas today comes from recycled seafloor sediments.14International Geophysics. The Evolution of the Atmosphere Lightning adds to the supply by heating air enough to form nitrogen oxides.15Geophysical Research Letters. Atmospheric nitrogen fixation by lightning The reaction needs about 3,000 °C and happens mainly in the slowly cooling glowing channel, not the shock wave.16Journal of Geophysical Research: Atmospheres. Formation of nitrogen oxides by electrical discharges and implications for atmospheric lightning17Geophysical Research Letters. The physical mechanism of nitric oxide formation in simulated lightning
Microbes do much of the steady work. Certain bacteria, many living in the root nodules of beans and clover, fix nitrogen with an enzyme that holds metal clusters of iron and molybdenum that pass electrons to nitrogen step by step.18PubMed Central. Energy Transduction in Nitrogenase Going the other way, microbes in oxygen-free soils and sediments turn nitrate back into nitrogen gas.19Nature Education Knowledge. The Nitrogen Cycle: Processes, Players, and Human Impact Other bacteria in oxygen-free places also make nitrogen gas, from ammonium and nitrite.20PubMed. Biochemistry and molecular biology of anammox bacteria
You can see this in a garden. Beans and peas carry nodules on their roots that house nitrogen-fixing bacteria, so they can add nitrogen to soil rather than only taking it. Waterlogged soil has little oxygen, which favors microbes returning nitrogen to air and can lead to nitrogen loss. Rotating legumes with other crops reduces the fertilizer the following crops need, because the soil keeps some of the fixed nitrogen.
Wastewater plants put the same microbes to work, using denitrifying microbes in oxygen-poor tanks to convert nitrate to harmless nitrogen gas. Bacteria that turn ammonium and nitrite into nitrogen gas can remove nitrogen without as much added oxygen, which saves energy.
Is Nitrogen Gas Dangerous
Nitrogen is non-toxic and won’t burn, but it can push oxygen out of confined spaces.21Atlas Copco. Nitrogen gas and oxygen safety: A guide to risks and precautions Too much nitrogen means too little oxygen, and the body suffocates.22U.S. Chemical Safety and Hazard Investigation Board. Hazards of Nitrogen Asphyxiation You can’t see or smell it, and only special instruments detect it.22U.S. Chemical Safety and Hazard Investigation Board. Hazards of Nitrogen Asphyxiation Low oxygen can quickly cause confusion, then unconsciousness, brain damage, and death.23Institution of Chemical Engineers Symposium Series. A Consistent Approach to the Assessment and Management of Asphyxiation Hazards Where nitrogen is stored or released, oxygen monitors and ventilation are the safeguards.
Nitrogen feels deceptively safe because breathing nitrogen-rich air produces no gasping, choking, or sense of panic at first. The urge to breathe is triggered mainly by rising carbon dioxide in the blood, not by falling oxygen, so the body gives little warning. A person may feel normal or even slightly lightheaded and not realize anything is wrong before they lose consciousness.
That also endangers would-be rescuers. When someone collapses in a nitrogen-filled space, a rescuer who walks in unprotected breathes the same oxygen-poor air and can collapse within moments, turning one victim into several. Proper rescue means ventilating the space or using breathing apparatus supplied with its own air, not rushing in.

