Every bubble, whether floating from a child’s wand or rising in a glass of champagne, is made of the same basic ingredients: a thin shell of liquid surrounding a pocket of gas. In the classic soap bubble, that shell is water laced with surfactant molecules, and the gas inside is simply air. But the specifics vary wildly depending on where the bubble forms, and the chemistry of that thin film determines everything from how long the bubble lasts to why it shimmers with color.
The Three-Part Anatomy of a Soap Bubble
A soap bubble’s wall is not a single layer. It is a sandwich: two thin sheets of surfactant molecules with a layer of water trapped between them. Surfactant molecules have a split personality. One end is attracted to water, the other repelled by it. When you mix soap or detergent into water and blow air through it, these molecules race to the surface of the expanding film, lining up with their water-loving ends pointed inward toward the water layer and their water-repelling ends pointed outward toward the air on each side. The result is a remarkably organized structure only a few micrometers thick at birth, and much thinner by the time it pops.
Pure water cannot form a lasting bubble on its own. You can briefly trap a pocket of air in pure water, but the film collapses almost instantly because nothing prevents it from thinning to zero. Surfactants change the game by introducing what physicists call Marangoni stresses. When a section of the film starts to stretch and thin, the surfactant concentration in that spot drops, which locally raises the surface tension. That higher tension pulls surrounding liquid back into the thin patch, partially healing it. This self-repair mechanism is the main reason soap bubbles can survive for seconds or even minutes rather than vanishing in a fraction of a second.
Why the Film Drains and Eventually Pops
Even with surfactants working to stabilize it, a bubble’s film is in a constant battle with gravity and evaporation. Gravity pulls the water in the film downward, so the top of a bubble thins faster than the bottom. This drainage is governed by a tug-of-war between the forces pulling liquid out of the film and the viscous resistance of the thin water layer slowing that flow down.
A detailed review of horizontal soap-film drainage describes this process as a competition between capillary and viscous forces, where Marangoni stresses from the surfactant layer limit how much the film’s surfaces can stretch, significantly extending the film’s lifetime.1Annual Review of Fluid Mechanics. Capillary Drainage in Horizontal Soap Films: Theoretical Review and Experimental Illustrations As the film thins to just tens of nanometers, it reaches a point where any tiny disturbance, a gust of wind, a speck of dust, contact with a dry surface, punctures it faster than the Marangoni effect can heal. That is when the bubble pops.
The Gas Inside and Why Bubbles Are Pressurized
The air trapped inside a soap bubble is not at the same pressure as the air outside. Because the curved surface of the film acts like a stretched membrane, it squeezes the gas inside to a slightly higher pressure than the surrounding atmosphere. The smaller the bubble, the more pronounced this effect. A tiny bubble has a tighter curve, which means more inward force per unit area, and therefore higher internal pressure relative to its surroundings.2Revista Brasileira de Ensino de FÃsica. A comprehensive overview of the Young-Laplace equation – Section: Applying the Young–Laplace equation
This is why, when two bubbles of different sizes share a wall, the smaller one always shrinks and inflates the larger one. The higher pressure inside the smaller bubble drives gas through or around the shared membrane into the lower-pressure larger bubble. It is a counterintuitive detail: big bubbles get bigger at the expense of small ones, not the other way around.
Where the Colors Come From
The swirling rainbow patterns on a bubble’s surface have nothing to do with dyes or pigments. They are produced by thin-film interference, the same phenomenon that creates the colorful sheen on an oil slick. White light contains all visible wavelengths. When light hits the bubble’s film, some of it reflects off the outer surface, and some passes through and reflects off the inner surface. Those two reflected beams travel slightly different distances, and depending on the film’s thickness at that spot, certain wavelengths reinforce each other while others cancel out. The result is that each tiny patch of the film selectively reflects a particular color determined by its local thickness.
As the film drains and thins, those colors shift. You can watch bands of blue, green, pink, and gold slide down the surface in real time. When the film gets thin enough that even the shortest visible wavelengths can no longer constructively interfere, the bubble appears almost black, a sign it is about to pop. The specific palette of colors you see on a soap bubble differs from a rainbow because in a rainbow each wavelength arrives from a different angle, while in a thin film the angle is roughly fixed and it is the thickness that selects the color.3American Journal of Physics. Investigating thin film interference with a digital camera
Bubbles in Your Glass
The bubbles in sparkling wine, beer, and soda are made of carbon dioxide gas rather than air, and the “shell” is mostly the beverage itself. Carbon dioxide is dissolved into the liquid under pressure during fermentation or carbonation. When you open the bottle or pour the liquid into a glass, the dissolved gas comes out of solution and forms bubbles. But it does not form them just anywhere.
In champagne, bubbles nucleate almost exclusively on tiny particles stuck to the inside of the glass, particularly cellulose fibers from the air, from a cloth used to dry the glass, or from the paper of a napkin.4PubMed. Modeling nonclassical heterogeneous bubble nucleation from cellulose fibers: application to bubbling in carbonated beverages These fibers contain microscopic gas pockets trapped inside them. Dissolved carbon dioxide diffuses into those pockets, inflating them until a bubble pinches off and rises. The fiber then re-inflates and launches another bubble, creating the steady streams of bubbles you see rising from fixed points on the glass wall.
The life of a champagne bubble follows a predictable arc: nucleation on the glass wall, ascent and growth as it absorbs more dissolved carbon dioxide from the surrounding wine, and then bursting at the surface.5PubMed. The physics and chemistry behind the bubbling properties of champagne and sparkling wines: a state-of-the-art review When those bubbles burst, they fling tiny droplets into the air above the glass. Those droplets carry aromatic compounds, which is part of why sparkling wine smells the way it does. The “mousse” on top of a poured glass is a foam of these bubbles, held together by proteins and other surface-active molecules naturally present in the wine.
What Makes Seafoam and Other Natural Foams
Ocean foam looks like soap suds, and the basic physics is similar, but the surfactants are entirely different. Instead of synthetic detergent, the stabilizing agents come from marine organisms. Decomposing phytoplankton, seaweed, and other organic matter release proteins, carbohydrates, and phenolic compounds into the water. When waves churn this enriched water, those dissolved organics act as natural surfactants, stabilizing bubbles into persistent foam. Chemical analysis of seafoam has found that phenolics, carbohydrates, amino acids, and proteins can account for anywhere from a quarter to nine-tenths of the foam’s total soluble organic carbon, with phenolics typically the most abundant class.6ScienceDirect. Organic composition of seafoam and its digestion by Corophium volutator (Pallas)
Insects produce bubbles too. Spittlebugs, a common garden pest, are famous for the white frothy masses they create on plant stems. The foam is not saliva, despite the common name “cuckoo spit.” The nymphs produce it from their hind end using fluid excreted by their Malpighian tubules (the insect equivalent of kidneys). Biochemical analysis shows the foam fluid is dominated by sugar units, primarily fucose and glucose, which can make up over 90 percent of the secretion’s dry weight. Proteins and highly charged mucopolysaccharides in the fluid act as surfactants that stabilize the foam bubbles, giving the nymphs a protective blanket that shields them from predators and desiccation.7PubMed Central. Adhesive properties of Aphrophoridae spittlebug foam
Cavitation Bubbles Form Without Any Film at All
Not all bubbles need a surfactant shell. In cavitation, bubbles form inside a liquid when the local pressure drops below the liquid’s vapor pressure, causing the liquid itself to vaporize into a pocket of gas. These are vapor bubbles, not air bubbles, and they have no stabilizing film. In pure water, the pressure has to drop substantially below the saturation point before cavitation kicks in, because the liquid resists being torn apart at the molecular level.8PubMed Central. Onset of cavitation and vapor bubble development over hydrophilic and hydrophobic surfaces In practice, dissolved gases and surface imperfections lower the threshold considerably.
Cavitation bubbles are violent. When they collapse, they can generate temperatures of thousands of degrees and pressures high enough to pit metal. This is a real engineering problem for ship propellers, pumps, and hydraulic turbines. But it is also harnessed deliberately. Ultrasonic cleaning baths use cavitation to blast contaminants off surfaces, and some medical treatments use focused ultrasound to generate cavitation bubbles that break up kidney stones or deliver drugs to specific tissues.
Medical Microbubbles Are Engineered From the Shell Inward
Modern medicine has turned bubble-making into a precise science. Microbubbles used as ultrasound contrast agents are typically just a few micrometers across, small enough to pass through capillaries. Their shells are engineered from lipids, proteins, or synthetic polymers, and instead of air, the gas core is often filled with a heavy, inert gas like a perfluorocarbon or nitrogen, which resists dissolving into the bloodstream and keeps the bubble intact longer.9PubMed Central. Microbubbles used for contrast enhanced ultrasound and theragnosis: a review of principles to applications
When hit with ultrasound waves, these microbubbles oscillate and scatter sound in a distinctive way that makes blood vessels light up on an ultrasound image. Beyond imaging, researchers attach targeting molecules to the microbubble shell so that the bubbles stick to specific cell types, like tumor cells or inflamed tissue. Drugs can be loaded onto the shell or packed inside the gas core, and then released at a precise location by bursting the bubbles with a focused ultrasound pulse.10PubMed. Preparation of targeted microbubbles: ultrasound contrast agents for molecular imaging The shell material matters enormously for this: lipid shells are flexible and easy to pop, protein shells are tougher, and polymer shells can be tuned for slow release.
The Recipe for Giant Bubbles
If you have ever tried to blow a truly enormous bubble, you know that dish soap and water alone will not get you far. The film rips before it can stretch to a large size, or it evaporates within seconds. Research into optimized giant-bubble recipes has identified three key ingredients beyond basic soap and water. First, the surfactant concentration should not be too high, because excess surfactant can actually make films less elastic. Second, the solution needs long, flexible polymer chains, typically provided by a small amount of a thickening agent like guar gum or polyethylene oxide, which allow the film to stretch without tearing. Third, adding glycerol dramatically improves stability by slowing evaporation from the film’s surface.11PubMed. An optimized recipe for making giant bubbles
The polymer chains are the secret weapon. They thread through the film and bridge across thin spots, distributing stress over a larger area so that stretching the film does not immediately create a weak point. Without them, even a perfectly mixed soap solution will fail at large scales. Professional bubble performers have known this empirically for decades, but the physics of why it works has only been rigorously studied in recent years.
Antibubbles Are Bubbles Turned Inside Out
An antibubble is exactly what it sounds like: the inverse of a normal bubble. Instead of a gas core wrapped in liquid, an antibubble is a liquid core wrapped in a thin shell of gas, all suspended in a surrounding liquid.12PubMed. Advances in antibubble formation and potential applications You can make one at home by dripping soapy water from a height into a basin of the same soapy water. Occasionally, instead of merging with the surface, the drop gets trapped under a thin air layer, forming a ghostly sphere that sinks slowly and looks nothing like a regular bubble.
Antibubbles are more than a curiosity. Because the thin gas shell acts as an insulating barrier between two liquid phases, researchers have explored using them for encapsulation and controlled release. A drug dissolved in the liquid core stays separated from the outer liquid by the gas film. When the antibubble eventually collapses, the payload is released. The challenge is that antibubbles are fragile and short-lived compared to regular bubbles, so practical applications are still in early stages.
What Happens When a Bubble Freezes
If you blow a soap bubble outdoors on a very cold day, something beautiful happens: the bubble freezes, but not all at once. Researchers who filmed centimeter-sized soap bubbles freezing on icy surfaces documented a multistep process that unfolds over roughly ten seconds. First, a freeze front advances upward from where the bubble contacts the cold surface, sending dendritic ice crystals branching through the film. Meanwhile, the Marangoni flow within the still-liquid film carries tiny ice crystals upward. These floating crystals eventually grow and interlock, and the entire bubble shell solidifies into a delicate ice sphere.13Nature Communications. How soap bubbles freeze – Section: Results
The frozen bubble is not a solid ball of ice. It is a hollow shell, just like the liquid bubble was a hollow shell. The gas inside remains gas. The thin ice shell preserves the geometry of the original film, complete with beautiful crystalline patterns. In extremely cold conditions with no wind, these frozen bubbles can persist for minutes, sitting on the snow like glass ornaments. The process is sensitive to humidity and temperature: too warm and the bubble pops before it can freeze; too dry and evaporation thins the film before ice crystals have time to propagate.
Why the Composition of the Shell Matters More Than the Gas
Across all these examples, a pattern emerges: what makes a bubble a bubble is not the gas inside but the structure that contains it. Air, carbon dioxide, nitrogen, perfluorocarbon vapor, water vapor in cavitation, these are all just different gases filling the role of “the inside.” The real engineering, whether by nature or by a lab, goes into the shell. Soap molecules, wine proteins, marine organics, insect mucopolysaccharides, synthetic lipid coatings, polymer membranes — the shell determines how the bubble forms, how long it lasts, what it can do, and how it dies.
Even the humble backyard soap bubble is a more sophisticated object than it first appears. Its wall is a self-assembling, self-repairing, optically active membrane only a few wavelengths of light thick, held together by molecular forces that physicists and chemists are still working to fully describe. The next time you watch one drift across a sunlit yard, what you are seeing is an almost impossibly thin liquid crystal, engineered by nothing more than soap and air, performing physics that researchers continue to publish papers about.