Is Ammonia (NH3) an Acid or Base?

Understand the chemical principles that define ammonia’s reactivity. Explore why this common compound behaves as it does and its practical applications.

Ammonia is a base. In water, it readily accepts a proton from a water molecule to produce ammonium (NH₄⁺) and hydroxide (OH⁻), which is the defining behavior of a Brønsted-Lowry base. It also qualifies as a Lewis base because it donates its lone pair of electrons to other molecules. The story does have some wrinkles, though, because ammonia can behave as an extremely weak acid under the right circumstances, and its equilibrium between the NH₃ and NH₄⁺ forms turns out to matter a great deal in biology, environmental science, and even astrobiology.

How Ammonia Behaves in Water

When you dissolve ammonia gas in water, a fraction of the NH₃ molecules grab a hydrogen ion from nearby water molecules. The nitrogen atom in ammonia has a lone pair of electrons that is not tied up in bonding, and that lone pair is attracted to the positively charged hydrogen. The result is an ammonium ion (NH₄⁺) and a hydroxide ion (OH⁻), which makes the solution mildly alkaline. If you have ever opened a bottle of household ammonia cleaner and noticed the slippery feel on your fingers, that slipperiness comes from the hydroxide ions in solution, the same thing you feel with any basic substance.

Ammonia is classified as a weak base because only a small percentage of dissolved NH₃ molecules are protonated at any given moment. The equilibrium between NH₃ and NH₄⁺ in water has a pK of roughly 9.5, meaning that at a pH of 9.5, exactly half the total ammonia is in the NH₃ form and half is in the NH₄⁺ form. Below that pH, NH₄⁺ dominates; above it, NH₃ dominates. In most natural waters and bodily fluids, where pH sits well below 9.5, the ammonium ion form is far more abundant than the free ammonia form. That single detail has huge consequences for everything from fish toxicology to kidney function, which we will get to.

The Lone Pair That Makes It All Work

Ammonia’s basic character traces back to the geometry of the molecule. Nitrogen sits at the center of a roughly pyramidal shape with three hydrogen atoms fanning out below and one lone pair of electrons pointing upward. That lone pair is available to form a bond with anything that is electron-poor. In the Brønsted-Lowry framework, the electron-poor species is a bare hydrogen ion. In the Lewis framework, the electron-poor species can be a metal ion, a boron compound, or any other electron acceptor.

This is why ammonia is such a common ligand in coordination chemistry. When dissolved with transition metals, the nitrogen lone pair donates into empty orbitals on the metal, forming what chemists call a dative bond. Computational studies on metal-ammine complexes confirm that the bond between ammonia and the metal center has clear dative-bond character, with measurable charge transfer from the nitrogen to the metal. The stability of these complexes depends on the surrounding solvent, but the fundamental interaction is always the same: ammonia donating electron density and the metal accepting it. That donation is Lewis basicity in action.

Theoretical work on lone pair interactions in molecules like NH₃ has shown that when ammonia donates its lone pair to a cation, the repulsion between the lone pair and the bonding pairs within ammonia itself actually decreases, which helps stabilize the resulting complex. In other words, ammonia is not just willing to share its electrons; the molecule is in some sense relieved when it does.

Can Ammonia Ever Act as an Acid?

Technically, yes, but you would need unusual conditions to see it. Ammonia can lose one of its hydrogen atoms as a proton to form the amide ion (NH₂⁻), but only in the presence of a much stronger base than ammonia itself. In liquid ammonia as a solvent, for example, an alkali metal like sodium can rip a proton off NH₃ to produce sodium amide (NaNH₂). In water, this essentially never happens because water is a far better proton donor than ammonia is.

This dual capacity makes ammonia technically amphoteric, meaning it can act as either an acid or a base depending on what it is reacting with. But calling it amphoteric the way you would call water amphoteric is misleading. Water sits much closer to the center of the acid-base spectrum, readily donating or accepting protons in everyday conditions. Ammonia sits firmly on the base side. Its ability to donate a proton is so weak that you will almost never encounter it in a normal chemistry lab, let alone in your daily life. For any practical purpose, ammonia is a base.

Why pH Controls Which Form You Get

The balance between NH₃ and NH₄⁺ is governed overwhelmingly by pH. At the physiological pH of human blood (around 7.4), the vast majority of total ammonia exists as NH₄⁺. At the more alkaline pH of, say, a soapy cleaning solution (around 11 or 12), most of it exists as NH₃. Temperature, pressure, and ionic strength also shift the equilibrium, but pH is the dominant factor in most real-world situations.

This matters because the two forms behave very differently. The uncharged NH₃ molecule is small and can pass through biological membranes with relative ease, slipping through lipid bilayers the way a dissolved gas would. The charged NH₄⁺ ion, by contrast, is trapped on whichever side of a membrane it formed on, because charged particles do not diffuse freely through lipid layers. Once NH₃ crosses a membrane and encounters a more acidic environment on the other side, it immediately picks up a proton and becomes NH₄⁺, effectively getting locked in place. This trapping mechanism turns out to be central to how your kidneys handle acid.

Ammonia’s Role in Kidney Acid-Base Balance

Your kidneys are constantly managing the acid load your body generates from metabolism. The single largest contributor to how the kidney excretes acid is ammonia. Renal ammonia excretion is the predominant component of net acid excretion, both under normal conditions and when the body is dealing with acid-base disturbances like the metabolic acidosis that comes with poorly controlled diabetes or prolonged diarrhea.

The process starts in the proximal tubule of the kidney, where cells break down the amino acid glutamine. That breakdown produces ammonium ions and, critically, generates bicarbonate in equal amounts. The bicarbonate is returned to the bloodstream where it acts as a buffer against acid, while the ammonium is eventually excreted in the urine. Only the ammonia that ends up excreted in the urine actually contributes to acid-base balance; ammonia that gets reabsorbed into the blood does not help.

The kidney has the ability to dramatically ramp ammonia production and excretion up or down depending on the body’s needs. When you are in a state of metabolic acidosis, the kidneys can increase ammonia excretion several-fold. When the body is too alkaline, ammonia excretion drops. This regulated transport of ammonia through renal epithelial cells is a cornerstone of how the body keeps blood pH in its narrow safe range. The irony is worth noting: a molecule that is itself a base plays a starring role in how the body gets rid of acid.

Ammonia Toxicity and the NH₃ / NH₄⁺ Distinction

The fact that un-ionized NH₃ crosses membranes freely while NH₄⁺ does not is the key to understanding ammonia toxicity, especially in aquatic environments. Fish and other water-dwelling organisms are exposed to whatever ammonia is dissolved in the water around them. The dangerous form is NH₃, because it can permeate gill membranes, enter the bloodstream, cross into cells, and disrupt internal pH and energy metabolism. NH₄⁺, being charged and membrane-impermeable, is far less toxic at the same total concentration.

This means the toxicity of any ammonia-containing water depends not on how much total ammonia is present but on how much is in the NH₃ form, which in turn depends on pH and temperature. A fish pond with a total ammonia concentration of, say, 2 parts per million can be relatively safe at a pH of 7.0, where nearly all the ammonia is locked up as NH₄⁺, but dangerously toxic at a pH of 8.5, where a much larger fraction exists as membrane-permeable NH₃. Aquaculture managers and wastewater engineers spend a lot of time thinking about this equilibrium, because raising or lowering pH by even half a unit can make the difference between safe conditions and a fish kill.

In humans, high levels of ammonia in the blood (hyperammonemia) are also dangerous, primarily to the brain. The liver normally converts ammonia to urea, which the kidneys then excrete. When the liver fails, ammonia builds up, crosses the blood-brain barrier as NH₃, and interferes with neurotransmitter balance and cellular energy production. The condition can progress from confusion to coma if untreated. Again, it is ammonia’s basic, proton-accepting, membrane-crossing nature that makes it harmful when its levels are not properly controlled.

Comparing Ammonia to Other Nitrogen Bases

Ammonia is the simplest nitrogen base, but it is not the strongest. Many organic amines, which are ammonia molecules with one or more hydrogen atoms replaced by carbon-containing groups, are stronger bases than ammonia. Methylamine (CH₃NH₂), for instance, is a noticeably stronger base in water because the methyl group pushes electron density toward the nitrogen, making the lone pair more available for proton grabbing. Dimethylamine is stronger still. Trimethylamine bucks the trend slightly, being a somewhat weaker base than dimethylamine in water despite having three electron-donating methyl groups, largely because the bulky groups make it harder for water molecules to stabilize the resulting protonated ion.

Predicting the base strength of amines computationally has been a long-standing challenge. Ammonia itself is notoriously tricky to model accurately with standard quantum-chemical methods, though recent computational approaches have managed to predict its pKb with reasonable accuracy. The difficulty arises because ammonia’s small size and strong hydrogen-bonding interactions with water make its solvation behavior hard to capture in a simplified model. This is a reminder that even a molecule most students learn about in introductory chemistry can still push the boundaries of computational science.

Ammonia Beyond Earth

Ammonia’s acid-base behavior takes on an entirely different significance when scientists consider habitable environments beyond Earth. On icy moons like Enceladus and Europa, subsurface oceans likely contain dissolved ammonia. Because NH₃ is a proton acceptor, its presence in these oceans would tend to raise pH and act as an antifreeze, lowering the freezing point of water and potentially keeping liquid water stable at temperatures that would otherwise freeze it solid.

The speciation of ammonia in such environments, whether it exists mainly as NH₃ or NH₄⁺, depends on the local pH, just as it does on Earth. Under high pH conditions, the free base dominates; under lower pH, the ammonium ion takes over. For astrobiology, this matters because the un-ionized NH₃ form can cross biological membranes and disrupt proton gradients that cells depend on for energy. Any organism living in a high-ammonia ocean would need robust mechanisms to cope with NH₃ permeation, or else thrive only in pH conditions where most ammonia is safely locked in the NH₄⁺ form. The same molecule that is a mundane cleaning product on Earth becomes a parameter shaping the very possibility of extraterrestrial life.

Liquid Ammonia as a Solvent

One of the more fascinating chapters in the chemistry of ammonia is its use as a solvent in its own right. Liquid ammonia, which exists at temperatures below about −33 °C at normal pressure, dissolves a wide range of salts and even dissolves alkali metals to produce vivid blue solutions. As a solvent system, liquid ammonia parallels water in interesting ways. In water, the self-ionization produces H₃O⁺ and OH⁻. In liquid ammonia, a comparable self-ionization produces NH₄⁺ and NH₂⁻. In this system, any substance that increases the NH₄⁺ concentration acts as an acid, and any substance that increases the NH₂⁻ concentration acts as a base.

By this logic, ammonium chloride dissolved in liquid ammonia is an acid, even though in water it would simply be a mildly acidic salt. And sodium amide dissolved in liquid ammonia is a strong base, even though in water it would immediately react and decompose. This solvent-system perspective shows that calling a substance an acid or a base is never fully absolute. It always depends on the reference solvent. In the world of water, ammonia is unambiguously a base. In the world of liquid ammonia, ammonia is the neutral solvent, and other substances take on the acid and base roles relative to it.

Chemists have exploited liquid ammonia as a reaction medium for over a century, particularly for reactions that require strongly reducing conditions or that involve alkali metals. Dissolving sodium in liquid ammonia produces solvated electrons, one of the most powerful reducing agents known, which glow an eerie metallic bronze at high concentrations. These solvated electrons are possible precisely because ammonia’s lone pair and hydrogen-bonding network can stabilize a free electron in a cavity, something water does only transiently. The basic character of ammonia, its willingness to donate electron density, extends even to stabilizing electrons that have no nucleus to call home.