When an acid comes into contact with a metal, the acid attacks the metal surface, dissolving it and producing two things: a metal salt and hydrogen gas. You can often see this happening in real time as bubbles fizz up from the metal’s surface. The reaction is one of the most recognizable in all of chemistry, but the details vary enormously depending on which metal and which acid are involved, and the consequences stretch from your kitchen to bridges and pipelines.
What Actually Happens at the Surface
At the most basic level, the hydrogen ions in an acid pull metal atoms out of the solid surface. Each metal atom gives up electrons to the hydrogen ions, which then pair up to form hydrogen gas molecules. The leftover combination of the metal and the acid’s other component forms a dissolved salt. If you drop a piece of zinc into hydrochloric acid, for example, the zinc dissolves, zinc chloride ends up in the solution, and hydrogen gas bubbles away. The same general pattern holds for many common metals in everyday acids.
The bubbles are not just a visual curiosity. Recent research has shown that the behavior of hydrogen gas bubbles during these reactions is surprisingly complex, influenced by the specific acid used. In sulfuric acid, hydrogen bubbles tend to grow and detach in a regular, periodic pattern, while in perchloric acid the detachment becomes erratic and the bubbles are smaller. The difference comes down to how the acid’s dissolved components create concentration gradients near the metal surface, driving tiny convection currents that push bubbles around.1Nature Chemistry. Solutal Marangoni effect determines bubble dynamics during electrocatalytic hydrogen evolution
Why Some Metals React Vigorously and Others Barely React at All
Not every metal responds to acid the same way. Metals like potassium, sodium, and calcium react so aggressively with acids that the reaction can be dangerously fast and hot. Zinc and iron sit in the middle, reacting at a pace you can comfortably watch. Copper, silver, and gold are far more reluctant: copper will not dissolve in ordinary hydrochloric acid no matter how long you wait, because it does not give up its electrons to hydrogen ions easily enough.
This ranking of metals by their willingness to react is called the activity series (or reactivity series), and it reflects how strongly each metal holds onto its electrons. Metals above hydrogen in the series will dissolve in typical acids and release hydrogen gas. Metals below hydrogen will not, at least not in simple non-oxidizing acids. Gold sits at the very bottom, which is why it survives centuries buried in acidic soil while iron objects from the same era corrode to nothing.
Even among reactive metals, the speed differs dramatically. Magnesium in dilute acid produces a vigorous stream of bubbles and heats up quickly. Iron in the same acid reacts more slowly, and you might need to warm the solution to get things moving. The physical form of the metal matters too: a fine powder exposes far more surface area than a solid block, so it reacts faster and can generate enough heat to become hazardous.
When the Acid Changes the Rules
The tidy picture of “acid plus metal equals salt plus hydrogen” breaks down with certain acids, most notably nitric acid. Nitric acid is an oxidizing acid, meaning it has an additional trick: instead of simply donating hydrogen ions, the nitrate component itself grabs electrons from the metal. The result is that the gaseous product is often not hydrogen at all but nitrogen oxides, including the brown, toxic fumes of nitrogen dioxide.
Nitric acid can also dissolve metals that would normally resist attack. Copper, for instance, sits below hydrogen in the activity series and will not react with hydrochloric acid, but concentrated nitric acid eats through it readily. On the other hand, nitric acid can have the opposite effect on certain metals. Research on titanium alloys used in medical implants found that treating the alloy with nitric acid actually thinned the protective oxide layer on the surface rather than building it up, and increased the release of trace metals like aluminum and vanadium into the surrounding environment.2PubMed Central. Nitric acid passivation of Ti6Al4V reduces thickness of surface oxide layer and increases trace element release
Concentrated sulfuric acid is another special case. When cold, it barely touches metals like copper. When heated, it behaves as an oxidizing acid and can dissolve copper while producing sulfur dioxide gas rather than hydrogen. The temperature, the concentration, and the specific acid all interact to determine the outcome, which is why blanket statements about acid-metal reactions always come with asterisks.
The Role of Weak Acids and Corrosion
Strong mineral acids get the most attention, but weak acids cause plenty of metal damage too, especially over time. Acetic acid, the main component of vinegar, corrodes mild steel through a mechanism that researchers have studied in detail. Interestingly, the undissociated acetic acid molecules themselves do not directly attack the metal to a significant degree. Instead, acetic acid accelerates corrosion in two indirect ways: it acts as a buffer that keeps the supply of hydrogen ions at the metal surface topped up, and it adsorbs onto the metal surface in ways that alter how both the dissolution and the hydrogen production proceed.3Electrochimica Acta. Acidic corrosion of mild steel in the presence of acetic acid: Mechanism and prediction
This matters in industrial settings where even mildly acidic environments, like oil and gas pipelines carrying carbon dioxide dissolved in water, can eat through steel walls over months or years. The corrosion might be invisible from the outside, which makes it particularly dangerous in high-pressure systems.
Acid Pickling in Industry
Not all acid-metal reactions are unwanted. One of the largest deliberate uses of this chemistry is acid pickling, a cleaning process used in steel manufacturing. When steel is hot-rolled or heat-treated, a layer of iron oxide (scale) forms on the surface. This scale has to come off before the steel can be painted, coated, or further processed. Hydrochloric acid is the most widely used pickling agent because it dissolves the iron oxides efficiently without significantly attacking the underlying steel.4Revista de Metalurgia. Acid pickling of carbon steel
The trick is controlling the process so that the acid removes the oxide layer and then stops. Pickling baths are carefully formulated with inhibitors, compounds that slow down the acid’s attack on the base metal once the oxide is gone. Without inhibitors, the acid would keep dissolving the steel itself, wasting material and producing excessive hydrogen gas. Getting the concentration, temperature, and timing right is a balancing act that steel mills refine constantly.
A Hidden Consequence of Hydrogen Production
When acid reacts with steel and produces hydrogen, not all of that hydrogen escapes as bubbles. Some of it gets absorbed into the metal itself. Individual hydrogen atoms are tiny enough to slip between the iron atoms in steel’s crystal structure, and once inside, they can cause serious trouble. This phenomenon is known as hydrogen embrittlement: the metal loses its ability to bend or stretch without cracking, becoming brittle in a way that can lead to sudden, catastrophic failure.
Hydrogen embrittlement is a persistent challenge in structural engineering. The process typically begins with small internal cracks forming where hydrogen atoms have accumulated, and these cracks can grow until the part fractures under loads it would normally handle easily. The problem is especially acute in high-strength steels, where the crystal structure is particularly susceptible to hydrogen infiltration. Industries dealing with hydrogen-containing environments, from automotive manufacturing to offshore oil platforms, invest heavily in alloy design and protective treatments to minimize the risk.5Journal of Materials Research and Technology. Investigation of hydrogen embrittlement in steel alloys: mechanism, factors, advanced methods and materials, applications, challenges, and future directions: A review
The acid pickling process described earlier is actually one of the known pathways through which hydrogen enters steel. Manufacturers sometimes bake freshly pickled steel at moderate temperatures to drive out any absorbed hydrogen before the parts go into service.
Acidic Foods and Your Cookware
The same chemistry that drives industrial corrosion plays out at a smaller scale in your kitchen. When you simmer a tomato sauce, squeeze lemon juice over a dish, or cook anything acidic in a metal pot, some of the metal dissolves into the food. Research on cookware leaching has confirmed that acidic foods cause more metal to enter the food during cooking than neutral or alkaline foods do.6PubMed Central. Assessing Leaching of Potentially Hazardous Elements from Cookware during Cooking: A Serious Public Health Concern
Aluminum cookware is especially susceptible. Studies measuring aluminum leaching have found that the metal is highly sensitive to low pH: the more acidic the food, the faster the aluminum dissolves.7International Journal of Electrochemical Science. Effect of pH, Salinity and Temperature on Aluminum Cookware Leaching During Food Preparation Stainless steel is more resistant because of its chromium-rich oxide layer, but even stainless pots release trace amounts of nickel and chromium when exposed to acidic liquids for extended periods. Cast iron releases iron, which is often considered a nutritional benefit rather than a hazard, though the amounts increase with acidity and cooking time.
For practical purposes, the risk from occasional cooking is generally small. The concern grows with repeated, prolonged exposure: cooking highly acidic foods in uncoated aluminum every day, for instance, or storing acidic leftovers in a reactive metal container overnight. Using enamel-coated, glass, or ceramic cookware for acidic dishes is the simplest way to avoid the issue.
Protective Coatings and Sacrificial Metals
Because acid-metal reactions can be so destructive, a huge amount of engineering goes into preventing them. One common strategy is applying a coating that physically blocks acid from reaching the base metal. Paint, enamel, and polymer linings all work this way. But coatings inevitably get scratched or chipped, and once the barrier is broken, corrosion starts at the exposed spot and can spread underneath the coating.
A more elegant approach uses the reactivity series to the metal’s advantage. Zinc-rich primers, widely used on steel structures like bridges and ships, work through a dual mechanism. The zinc particles in the primer are more reactive than the steel underneath, so when moisture and acids reach a scratch or damaged area, the zinc corrodes preferentially, protecting the steel. This is called sacrificial protection: the zinc “sacrifices” itself so the steel survives. Over time, zinc corrosion products fill the damaged area and form their own physical barrier, so the two protection mechanisms work in tandem.8Engineering Journal. Barrier and Sacrificial Protection Mechanisms of Zinc Rich Primers Galvanized steel, where a layer of zinc is bonded directly to the steel surface, works on the same principle and is one of the most cost-effective ways to protect steel in acidic or corrosive environments.
Acid Rain and Metals in the Environment
Acid-metal reactions are not limited to laboratories and factories. Acid rain, formed when sulfur dioxide and nitrogen oxides from burning fossil fuels dissolve in atmospheric moisture, has been corroding metal structures for over a century. The accelerated rusting of bridges, railings, and outdoor sculptures in polluted areas is the same fundamental reaction: acid meeting metal, producing salts and slowly eating away at the surface.
The effects extend into the soil. When simulated acid rain was applied to soil samples in controlled experiments, the leaching of metal ions like potassium and magnesium increased significantly as the rain became more acidic.9PubMed Central. Impact of simulated acid rain on chemical properties of Nyalau series soil and its leachate In natural settings, this means acid rain can strip essential nutrients from topsoil and mobilize metals like aluminum that are normally locked in mineral form, pushing them into groundwater and streams where they can harm aquatic life. Aluminum is particularly toxic to fish at low concentrations, and acidified lakes in regions with heavy industrial pollution have historically seen fish die-offs linked to this mobilization.
How This Reaction Led to the Discovery of Hydrogen
The fizzing of metal in acid was observed for centuries before anyone figured out what the gas was. Robert Boyle produced the gas in the 1600s by dissolving iron in acid, but he never characterized it. It took Henry Cavendish, working in the 1760s, to collect the gas carefully and describe its properties in detail, including its remarkably low density.10PubMed. Henry Cavendish (1731-1810): hydrogen, carbon dioxide, water, and weighing the world Cavendish dissolved zinc, iron, and tin in dilute sulfuric acid (then called “vitriolic acid”) and collected the gas over water, calling it “inflammable air” because it burned with a pale flame.11Pergamon. HENRY CAVENDISH, 1731–1810
Cavendish went further: he showed that burning this gas in air produced water, which eventually helped establish that water was not an element but a compound of hydrogen and oxygen. The simple act of dropping a metal into an acid, which any curious person had been able to do for millennia, turned out to be the doorway to understanding what the lightest element in the universe was and how it related to the most familiar substance on Earth. It is a useful reminder that dramatic discoveries sometimes begin with something as ordinary as watching bubbles rise from a piece of zinc in a jar.