How a Glass Electrode Works for pH Measurement

A glass electrode is a sensor built around an extraordinarily thin membrane of specially formulated glass that generates a voltage proportional to the hydrogen-ion activity of whatever solution it touches. That voltage, measured against a stable reference electrode, is what your benchtop pH meter converts into a pH reading. Despite more than a century of use and competition from newer sensor technologies, glass electrodes remain the default tool for pH measurement in laboratories, industrial plants, and clinical settings, largely because they respond predictably across the pH 1–13 range and can be manufactured to tight tolerances.1ACS Omega. Temperature-Dependent Nonlinear Calibration of Glass pH Electrodes for Negative pH Applications How they work, where they fail, and why they have not been fully replaced are questions worth unpacking.

What Happens at the Glass Membrane

The pH-sensitive membrane on a glass electrode is typically a bulb blown from a silicate glass doped with lithium or sodium oxides. When this glass sits in an aqueous solution, a thin hydrated layer forms on both its inner and outer surfaces. Hydrogen ions from the solution swap places with alkali-metal ions in that hydrated layer through an ion-exchange process. The result is a charge separation across the membrane that changes predictably with the hydrogen-ion activity of the outside solution.2Journal of Electroanalytical Chemistry and Interfacial Electrochemistry. Ion-exchange properties of the gel layer of some hydrogen-ion-selective glass electrodes The total amount of exchangeable sites involved is tiny, on the order of tens of nanomoles per square centimeter of bulb area, and only a small fraction of available sites in the hydrated gel layer actually participate at any given moment.

A key insight from membrane research is that the voltage the electrode produces does not depend on the gel layer reaching a full equilibrium state. Instead, the dissociation of silanol groups right at the boundary between the hydrated layer and the solution is itself an equilibrium, and that equilibrium alone is enough to set a reproducible, thermodynamically defined potential.3Elsevier / Journal of Non-Crystalline Solids. Investigation of electrode glass membranes: Proposal of a dissociation mechanism for pH-glass electrodes This is why a glass electrode can give reliable readings even though deeper parts of the gel layer may still be slowly evolving. It also helps explain why the electrode can be transferred between very different solutions and still settle on a correct reading, provided the outermost surface has time to re-equilibrate.

Inside the Electrode

A standard glass pH electrode is a half-cell. Inside the glass bulb sits a filling solution, usually a buffered chloride solution at a fixed pH, and a silver/silver-chloride wire that provides a stable internal potential. Because the inner solution never changes, the voltage contribution from the inside surface of the glass membrane stays constant. All the action comes from the outside surface, where the solution you are measuring contacts the glass. The difference in potential between outside and inside surfaces is what varies with pH.

Most practical pH meters pair the glass electrode with a reference electrode, and the two are often combined into a single probe body called a combination electrode. The reference electrode provides a constant potential so that any voltage change in the circuit can be attributed to a change at the glass membrane. The reference side typically uses a silver/silver-chloride element immersed in concentrated potassium chloride, connected to the sample through a porous junction. That junction matters more than most users realize: if concentrated salt bridge electrolyte does not flow outward at a sufficient rate, sample components can creep into the frit, contaminate it, and cause the reference potential to drift over as little as an hour.4PubMed Central. More than a Liquid Junction: Effect of Stirring, Flow Rate, and Inward and Outward Electrolyte Diffusion on Reference Electrodes with Salt Bridges Contained in Nanoporous Glass In low-ionic-strength samples such as purified water or dilute environmental samples, convective transport can push sample solution a few nanometers into the frit, enough to disrupt the electrostatic screening that normally stabilizes the junction potential.

The Comfortable Range and Its Edges

Glass electrodes are praised for their near-ideal behavior across the middle of the pH scale, roughly pH 1 to 13. In this range, the voltage changes by close to the theoretical Nernst slope of about 59.16 millivolts per pH unit at 25 °C, and most meters assume that linear relationship when converting voltage to a pH number. Outside that window, problems emerge in both directions.

In strongly acidic solutions, the electrode response falls below the expected slope. High proton concentrations saturate the glass membrane’s exchange sites, and proton activity in the solution itself departs from ideal behavior, so the electrode underreports acidity.5ACS Omega. Temperature-Dependent Nonlinear Calibration of Glass pH Electrodes for Negative pH Applications Specialized nonlinear calibration techniques exist for pushing glass electrodes into negative-pH territory, but they require temperature-dependent correction curves and are not something a standard benchtop meter handles automatically.

At the opposite extreme, strongly alkaline solutions introduce what is traditionally called the “alkaline error” or “sodium error.” Alkali-metal cations, particularly sodium and lithium, begin to compete with hydrogen ions for the exchange sites on the glass surface. The electrode reads lower than the true pH because it is responding partly to sodium or other cations as though they were hydrogen ions. Measurements in concentrated potassium hydroxide solutions, for instance, can require corrections of nearly a full pH unit at pH 16 for even small amounts of sodium contamination, and lithium introduces an even larger error at the same concentration.6Analytical Chemistry. pH Measurement in Concentrated Alkaline Solutions Manufacturers have developed “low-sodium-error” glass formulations that push the onset of this interference to higher pH values, but the problem never disappears entirely in very concentrated bases.

Temperature and Calibration

Temperature affects glass electrode readings in two separate ways that are easy to confuse. The first is straightforward: the Nernst slope itself depends on temperature, because the relationship between voltage and ion activity includes a temperature term. A pH meter with automatic temperature compensation handles this by adjusting the millivolts-per-pH-unit conversion factor based on a thermometer reading.

The second effect is subtler and harder to correct. Temperature changes can shift the internal reference potential and alter the behavior of the gel layer on the glass membrane, introducing a systematic bias that the standard Nernst correction does not capture. Conventional calibration procedures assume these internal contributions are negligible, and for measurements near room temperature with small temperature swings, they usually are. But in field settings where the electrode might be calibrated at one temperature and used at another, or in process environments where the sample is hot, uncorrected internal-reference drift can add meaningful error to the reading.7PubMed Central. Method for correcting the temperature dependence of field-type glass electrode pH sensors Researchers have proposed correction methods that estimate the internal-solution pH as a function of temperature and then adjust the measured value back to a reference temperature, but these approaches have not yet become standard practice in most commercial instruments.

How a Glass Electrode Ages

Glass electrodes do not last forever. The very property that makes them work, the hydrated gel layer, is also the mechanism of their slow destruction. Exposure to aqueous solutions causes alkali and alkaline-earth metal ions to leach out of the glass surface, while the silicate network itself gradually dissolves. Over months or years, the membrane thins, response slows, and calibration slopes decline. Nearly insoluble components can accumulate at the glass surface, further degrading performance.8Electroanalysis. Lifetime of glass membrane electrodes: Theoretical model for the corrosion of silicate glasses

The rate of degradation depends heavily on what the electrode encounters. Strongly alkaline solutions accelerate dissolution of the silicate matrix. Hydrofluoric acid attacks glass rapidly. High temperatures speed up every corrosion mechanism. In routine laboratory use with near-neutral buffers, a well-maintained glass electrode can last a year or more. In aggressive industrial environments, replacement cycles shorten to weeks.

Users can watch for signs of aging by checking calibration slope. A healthy electrode should deliver close to the theoretical slope during two-point calibration. When the slope drops below roughly 95 percent of the expected value, accuracy is already compromised. Slow, drifting readings are another common sign that the gel layer has been damaged or dehydrated.

Response Time and Hydration

Fresh out of the package, a glass electrode needs conditioning. The gel layer forms only when the glass has been soaked in aqueous solution, and until it is sufficiently hydrated, the electrode responds sluggishly to pH changes. Research on general-purpose glass electrodes found that optimal response time was achieved after about one hour of hydration, at which point the ion-exchange capacity of the gel layer reached its minimal functional value.9Analytica Chimica Acta. Response-time properties of some hydrogen ion-selective glass electrodes in non-aqueous solutions Dehydration of the surface, by contrast, caused extremely slow responses to concentration changes, while mild etching of the glass tended to shorten response times by refreshing the active surface.

For practical purposes, this means that storing a glass electrode dry is bad for it. Manufacturers typically recommend storing the electrode with its tip immersed in a storage solution, usually a dilute KCl or pH 4 buffer, to maintain the gel layer. If an electrode has dried out, re-soaking it for several hours or overnight often restores acceptable performance, though some sensitivity loss may be permanent if the gel layer has cracked.

Measuring pH in Non-Aqueous Solvents

Glass electrodes were designed for water, but chemists routinely want to measure acidity in organic solvents, mixed solvents, and biological matrices that are far from pure aqueous solutions. The glass membrane itself can still respond to hydrogen-ion activity in many non-aqueous and mixed systems, but the rest of the electrode assembly causes trouble.

The biggest headache is the liquid junction. In ethanol-water mixtures, for example, KCl leaking from the reference electrode’s salt bridge changes the composition of the test solution and, at higher ethanol concentrations, can even precipitate out of solution inside the measurement cell. Studies of glass electrode performance in ethanol-water mixtures found that combination electrodes were unsuitable for rigorous acidity measurements because the leaking KCl caused measured values to level off in basic solutions rather than tracking the true acidity.10Journal of Sensors and Sensor Systems. Glass electrode half-cells for measuring unified pH in ethanol–water mixtures The workaround is to separate the glass electrode from the reference electrode and use a different reference system, such as a double-junction silver/silver-chloride electrode with a compatible bridge electrolyte.

Attempts to replace the KCl bridge with ionic liquids have also been explored, but early results were discouraging. Electrodes modified with ionic liquid showed voltage drift roughly ten times larger than their unmodified counterparts, and the flow of aqueous inner solution into the ionic liquid compartment made the system unstable.11PubMed Central. Rigorous pH measurement in non-aqueous solution: measurement method and reference values in ethanol The glass membrane was not the weak link; the reference system was. This is a recurring theme in glass electrode limitations: the sensing element is often better than the infrastructure around it.

Miniature and Micro-Electrodes

The same glass-membrane principle can be scaled down dramatically. Researchers have built pH-sensitive glass micro-electrodes with tips as small as one micrometer in diameter, small enough to be inserted into a single living cell. One classic design used a recessed configuration so that only the extreme tip of the electrode needed to penetrate the cell membrane, minimizing damage to the cell while still measuring intracellular pH.12PubMed Central. Intracellular pH of snail neurones measured with a new pH-sensitive glass mirco-electrode These micro-electrodes proved durable enough for sustained recordings and were used to measure intracellular pH in snail neurons, contributing to early understanding of how cells regulate their internal acidity.

Miniaturization is also relevant to clinical applications. Catheter-mounted pH electrodes small enough to pass through the esophagus are used in gastroenterology to diagnose acid reflux by monitoring pH over 24 hours. The glass electrode is not the only option in that setting, though, and comparisons with alternatives reveal interesting trade-offs.

How Glass Electrodes Compare to Alternatives

Two major competitors for pH sensing in clinical and industrial contexts are antimony electrodes and ion-sensitive field-effect transistors, commonly called ISFETs. In a head-to-head comparison of all three types used for esophageal pH monitoring, glass electrodes measured higher acid exposure times than either antimony or ISFET sensors in the same patients. At calibration temperature of 22 °C, the three types showed similar sensitivity, response time, and drift. But antimony electrodes lost accuracy when calibrated at body temperature (37 °C), while ISFET sensors were unaffected by calibration temperature.13European Journal of Gastroenterology & Hepatology. Ambulatory oesophageal pH monitoring: a comparison between antimony, ISFET, and glass pH electrodes The fact that the three sensor types gave significantly different acid exposure times, about 4 percent for antimony, roughly 6 percent for ISFET, and 9 percent for glass, highlights that “measuring pH” is not as objective as it sounds. The choice of sensor technology can change the clinical picture.

ISFETs have gained ground in some applications because they are small, rugged, and do not require a hydrated gel layer. They can also be fabricated using semiconductor manufacturing techniques, which makes mass production easier. On the other hand, glass electrodes generally offer lower drift over extended measurement periods and remain the reference technology against which newer sensors are validated. For most benchtop laboratory work, glass is still the default, not because it is perfect, but because its imperfections have been characterized for over a hundred years.

How pH Is Actually Defined and Measured

pH is defined as the negative logarithm of hydrogen-ion activity, but hydrogen-ion activity is a single-ion quantity that cannot be measured by any thermodynamically rigorous method. It requires a convention, an agreed-upon approximation, to assign numerical values. The internationally accepted procedure, established by IUPAC, uses a cell without a liquid junction, known as a Harned cell, equipped with a hydrogen gas electrode to assign primary standard pH values to reference buffer solutions.14Pure and Applied Chemistry. Measurement of pH. Definition, standards, and procedures (IUPAC Recommendations 2002) Those primary buffers then serve as anchor points for calibrating everyday instruments.

Glass electrodes sit at a lower tier in this traceability chain. Because they involve a liquid junction and the glass membrane’s response is not perfectly Nernstian under all conditions, the uncertainty of a glass electrode measurement is inherently higher than that of a Harned cell.15Pure and Applied Chemistry. Measurement of pH. Definition, standards, and procedures (IUPAC Recommendations 2002) In practice, a well-calibrated glass electrode meter reading carries an uncertainty of roughly 0.01 to 0.03 pH units under good laboratory conditions, which is more than adequate for the vast majority of applications. But for metrological work or comparisons between laboratories, understanding that the glass electrode is an approximation of a conventional quantity, not a direct measurement of a thermodynamic one, matters.

IUPAC recommends three calibration procedures for practical pH cells with glass electrodes, ranging from single-point to multi-point calibration with bracketing standards.16PubMed. New IUPAC recommendations on the measurement of pH – background and essentials Two-point calibration using buffers that bracket the expected sample pH is the most common approach in labs. Frequent recalibration, at least daily for critical measurements, compensates for the slow drifts caused by gel-layer aging and junction contamination.

Practical Care That Actually Matters

Given everything above, a few maintenance habits make an outsized difference in the accuracy and lifespan of a glass electrode:

  • Keep it wet: Store the electrode in the manufacturer’s recommended storage solution, never in distilled water and never dry. Distilled water can leach ions from the gel layer, while drying destroys it.
  • Calibrate often: Two-point calibration with fresh buffers before each measurement session catches slow drift from aging, junction contamination, and temperature shifts.
  • Watch the slope: If the calibration slope consistently falls well below the theoretical value, the electrode is nearing end of life. No amount of cleaning will recover a fundamentally corroded membrane.
  • Rinse between samples: Cross-contamination between solutions can introduce junction errors and confuse the gel layer’s equilibrium. A quick rinse with deionized water and a gentle blot with lint-free tissue is standard practice.
  • Avoid mechanical abuse: The sensing bulb is thin glass. Bumping it against a beaker bottom or scraping it with a stir bar can crack the membrane. Cracks are not always visible to the naked eye but will produce unstable, drifting readings.

Why the Glass Electrode Persists

Newer pH sensing technologies, from ISFETs to optical pH indicators to solid-state metal-oxide electrodes, have been commercialized for decades, and each solves a real limitation of the glass electrode. ISFETs are smaller and more robust. Optical sensors avoid liquid junctions entirely. Solid-state electrodes can be printed onto disposable strips. Yet glass electrodes still dominate laboratory catalogs and industrial process control. The reason is partly inertia and infrastructure: a century of calibration standards, reference methods, and institutional knowledge is built around the glass electrode. But the reason is also performance. The glass membrane’s selectivity for hydrogen ions is remarkably high across a wide range of conditions, its long-term stability in aqueous solutions is well understood, and the failure modes are predictable enough that users can manage them with simple maintenance routines. In an analytical world that prizes traceability and comparability between labs, the fact that everyone uses the same type of sensor and calibrates it against the same buffers has its own quiet value.