Bubbles form in water mainly because dissolved gases escape and gather into tiny pockets of air, especially when temperature or pressure changes or when water is heated.

What’s really inside the bubbles?

When you first see small bubbles on the side of a glass of “still” water, they are usually dissolved gases (mostly oxygen and nitrogen from the air) coming out of solution. Cold water under pressure can hold more gas, so tap water or refrigerated water is often loaded with dissolved air. As conditions change, those gas molecules find it energetically easier to leave the water and gather as bubbles instead.

When water actually reaches boiling, the story shifts: the big, vigorous bubbles rising from the bottom of the pot are mostly water vapor (gaseous H₂O), not air. At that point, water molecules themselves have enough energy to escape the liquid phase and form bubbles of steam that rise and burst at the surface.

Why do bubbles appear in a “still” glass?

Imagine you pour a cold glass of tap water, leave it on the table, and come back later to find tiny pearls of air stuck to the sides. That happens because:

  • The water warms up to room temperature, so gas solubility drops and the dissolved air is “pushed out” of the water.
  • If the water came from pressurized pipes, the sudden drop in pressure when it leaves the tap also makes those gases escape.
  • The escaping gas molecules cluster at microscopic scratches, dust, or imperfections on the glass, where it is easier to form a stable bubble.

Over time, those tiny bubbles can grow and merge into larger ones, then detach and float upward.

Temperature, pressure, and solubility (core science)

Three simple ideas explain most everyday “why do bubbles form in water” situations:

  1. Temperature
    • Cold water can hold more dissolved gas; warm water holds less.
 * As water warms, gas molecules move faster and can break free from the liquid, forming bubbles that rise or stick to surfaces.
  1. Pressure
    • High pressure squeezes more gas into water (like in pipes or carbonated drinks).
 * When pressure drops suddenly (opening a tap, uncapping a bottle), gas comes out of solution, often in a dramatic burst of bubbles.
  1. Nucleation sites
    • Bubbles rarely start in perfectly smooth, clean water; they need tiny “starting points” called nucleation sites.
 * Scratches on glass, dust particles, and microscopic rough spots provide sheltered spots for the first tiny gas pockets to form.

A nice mental picture: think of the water as a crowd and the dissolved gas molecules as people looking for a way out. When it gets “hot” or “less crowded” (pressure drops), they head for the exits (surface and walls), clustering together into bubbles as they go.

Boiling water vs. non‑boiling water

Here’s how different situations compare:

[7] [7] [1][3] [3][1] [9][5] [5][9] [9][5] [5][9]
Situation What the bubbles are made of Main cause
Cold tap water looks cloudy or bubbly Mainly dissolved air (oxygen, nitrogen) coming out when pressure drops.High pressure in pipes, then sudden pressure drop at the tap.
Glass of water left on the table forms tiny wall bubbles Dissolved gases escaping as the water warms.Temperature rise and slight pressure/solubility changes.
Water just starting to heat on a stove (below boiling) First dissolved gases, then small water vapor pockets.Heating pushes gases and some early vapor out of solution.
Rolling boil in a pot Mostly water vapor (steam).Temperature reaches boiling point; liquid-to-gas phase change.
In everyday terms: early bubbles in heating water are mostly “air leaving,” while the big vigorous boiling bubbles are “water turning into gas.”

Is it safe to drink water with bubbles?

For normal tap water and a glass left at room temperature, yes: those bubbles are usually just harmless air escaping. If the water looks milky right out of the tap and then clears from bottom to top in a few seconds, that pattern strongly suggests tiny air bubbles, not contamination.

However:

  • Odd smells, colors, or oily films are not from plain air bubbles and should be treated with caution.
  • In aquariums and natural waters, sudden heating (for example from power-plant discharge) can change gas levels and stress aquatic life, even though the process is the same basic “gases leaving water” effect.

TL;DR: Bubbles form in water when dissolved gases or the water itself (as vapor) escape from the liquid as conditions change, especially when temperature rises, pressure drops, and tiny surface imperfections give those bubbles a place to start.

Information gathered from public forums or data available on the internet and portrayed here.