What Dissolves Glass: Acids, Bases, and More

Glass is remarkably durable, but a handful of chemicals can break it down. The most effective is hydrofluoric acid, which attacks the silicon-oxygen bonds that form glass’s backbone. Strong alkaline solutions like sodium hydroxide also dissolve glass, especially at elevated temperatures. Even plain water contributes over very long timescales, depending on its pH.

Hydrofluoric Acid: The Most Effective

Hydrofluoric acid (HF) is the go-to chemical for dissolving glass in industrial and laboratory settings. It works because fluoride ions have an unusually strong affinity for silicon, the element at the core of virtually all glass. When HF contacts glass, the fluoride pulls silicon atoms out of the structure, converting solid glass into a soluble compound that washes away. No other common acid does this. Sulfuric acid, hydrochloric acid, and nitric acid can sit in a glass beaker without causing damage, but HF will eat through the beaker itself.

This is why HF must be stored in polyethylene or fluorocarbon plastic containers, never in glass or metal. Commercial glass etching products, like frosting powders used by artists and crafters, rely on fluoride compounds such as ammonium bifluoride and ammonium fluoride to achieve the same basic reaction in a somewhat less dangerous form. These products selectively roughen the glass surface rather than dissolving it entirely, creating a frosted appearance.

HF is extremely hazardous. It penetrates skin rapidly and binds to calcium in your body, which can cause deep tissue damage and dangerous drops in blood calcium levels even from small exposures. Skin contact is treated by applying calcium gluconate gel, which binds the free fluoride ions before they can do further harm. The gel is rubbed into the affected area for 15 to 30 minutes and reapplied every 10 to 15 minutes. This is not a chemical to experiment with at home.

Strong Bases Like Sodium Hydroxide

Concentrated alkaline solutions also dissolve glass, though more slowly than HF. Sodium hydroxide (lye) and potassium hydroxide work by sending hydroxyl ions into the glass surface, where they break apart the silicon-oxygen and silicon-aluminum bonds that hold the structure together. The result is a gradual etching and thinning of the glass.

Temperature and concentration matter enormously. In experiments on glass-like silicate fibers immersed in sodium hydroxide at a concentration of 1 mol/L, mass loss after three days was just 2.4% at room temperature (25°C). Raise the temperature to 50°C and that jumps to 16.6%. At 70°C, it reaches 33.8%. Higher concentrations accelerate the process further. So a cool, dilute solution barely touches glass, while a hot, concentrated one can dissolve it meaningfully within days.

This is relevant in everyday life more than you might expect. Dishwashers use alkaline detergents and hot water, which is why glassware can develop a cloudy, etched appearance over years of machine washing. The effect is slow but cumulative.

Water and pH Over Long Timescales

Plain water dissolves glass, just incredibly slowly. This matters in fields like archaeology, where ancient glass artifacts show visible surface degradation after centuries, and in nuclear waste storage, where glass is used to encase radioactive material and needs to remain intact for thousands of years.

The pH of the water changes both the speed and the mechanism of dissolution. At pH 9 (mildly alkaline, like baking soda in water), glass dissolves faster but the rate slows as dissolved silicon builds up in the surrounding water. At pH 4 (mildly acidic, like tomato juice), the dissolution rate stays roughly constant regardless of how much silicon is already in solution. This means alkaline conditions are generally more corrosive to glass over time, especially in flowing water where dissolved material gets carried away.

For practical purposes, storing water in a glass bottle or drinking from glass cups poses no concern. The amounts leached are negligible over a human lifetime. But over geological timescales, water absolutely breaks glass down.

Microorganisms That Break Down Glass

Bacteria and fungi can accelerate glass degradation in surprising ways. Microorganisms don’t dissolve glass directly the way a chemical does, but they create microenvironments on the glass surface that change the local pH and chemistry. Some bacteria produce organic acids and specialized molecules called siderophores, which are chelating compounds that grab metal ions out of the glass structure. Fungi and cyanobacteria have been experimentally confirmed to cause biodeterioration of glass surfaces.

Research published in Nature examined how a manganese-oxidizing bacterium (Pseudomonas putida) interacted with silicate glass. The bacteria altered the dissolution chemistry, selectively pulling elements like manganese and phosphorus out of the glass and incorporating them into their cells. Interestingly, the relationship goes both ways: the more glass available, the faster the bacterial population grew and the more siderophores it produced. Over time, brown manganese oxide deposits formed on the glass surface, a phenomenon visible on old window glass in historic buildings.

Why Glass Type Matters

Not all glass resists corrosion equally. The two most common types are soda-lime glass (used in windows, jars, and drinking glasses) and borosilicate glass (used in laboratory equipment, high-end cookware, and some coffee makers). Borosilicate glass contains boron trioxide, which makes it significantly more resistant to both chemical attack and thermal shock. This is why labs use borosilicate beakers for corrosive experiments rather than ordinary glass.

Soda-lime glass is more vulnerable to alkaline corrosion in particular, because its higher sodium and calcium content gives hydroxyl ions more bonds to attack. If you’re working with strong bases or repeatedly exposing glass to harsh conditions, borosilicate holds up far better. Specialty glasses like quartz glass (made from pure silicon dioxide) are even more resistant, though they’re expensive and primarily used in semiconductor manufacturing and optics.

What Won’t Dissolve Glass

Most chemicals people encounter in daily life have no meaningful effect on glass. Vinegar, lemon juice, bleach, rubbing alcohol, acetone, and most household cleaners leave glass completely intact. Even strong acids like hydrochloric and sulfuric acid don’t attack glass, which is why glass bottles are used to store them. The exception is always fluoride-containing compounds and, to a lesser degree, strong hot bases. If it doesn’t contain fluoride or a concentrated hydroxide, it’s almost certainly safe for glass.