Nail polish bubbles when solvent trapped underneath a drying surface tries to escape and cannot. The film skins over on top while the layer beneath is still wet, and as that solvent turns to vapor it pushes up through the skin and leaves a dome behind. Almost everything that causes bubbling comes back to that one mechanism.
Here is what puts you in that situation, why shaking the bottle matters less than everyone says, and the changes that stop it. If you are working in gel, the causes are different enough that our gel polish bubbling post is the better guide.

Coats applied too thick

This is the cause in most cases, and it is worth understanding why rather than just being told to go thinner.
Polish dries from the outside in. The surface meets air first, so it loses solvent first and forms a skin. In a thin coat that is fine, because the solvent underneath has a short distance to travel and escapes before the skin fully closes. In a thick coat there is far more solvent, it is further from the surface, and by the time it starts moving the skin is already sealed. It pushes through as a bubble.
The fix is two properly loaded thin coats rather than one heavy one. Wipe one side of the brush against the neck of the bottle and lay the polish down from the loaded side rather than flooding the nail.
This is also why bubbles often appear only in the thickest part of the nail, usually the center, while the edges look fine.
Drying it too fast
Anything that accelerates the surface skinning over makes bubbling more likely, which makes several popular drying tricks counterproductive.
Blowing on wet nails, aiming a fan at them, or holding them near a heater all dry the top layer far faster than the bottom. You get exactly the sealed-skin-over-wet-polish situation that produces bubbles, and the manicure ends up looking worse than if you had waited.
Cold air is the exception and it works differently. Cold water or cold air slows solvent evaporation and firms the whole film evenly rather than just the top, which is why the ice water trick genuinely works while the hairdryer trick does not. My nail polish drying post covers what actually speeds it up.
The shaking myth

Everyone is told never to shake nail polish because it causes bubbles, and the truth is more specific than that.
Shaking does whip air into the bottle. In regular polish, though, that air rises and escapes fairly quickly because lacquer is thin, and most of it is gone within an hour of the bottle standing upright. The bubbles you see on the nail usually formed on the nail rather than coming out of the bottle.
Rolling the bottle between your palms is still the better habit, and it mixes settled pigment just as well. But if you shook a bottle, standing it up for an hour solves it. In gel the advice is much stricter, because gel is thick enough that whipped-in air never escapes.
Applying to a wet or oily nail
Anything on the nail plate that is not polish will interfere with the film as it dries.
Water is the worst. Painting nails after a shower, a bath, or a soak means the nail plate has absorbed moisture, and as that moisture leaves it travels up through the polish. The result is bubbling, cloudiness, or both. This is also why a soak-off manicure at a salon is always followed by dehydrating the nail.
Hand cream and cuticle oil cause a related problem, where the polish cannot wet the surface evenly and lifts into small domes. Wipe every nail with remover or alcohol immediately before base coat, even when they look clean.
Wait at least twenty minutes after any contact with water before painting.
Old or thickened polish
Polish thickens as solvent escapes past the cap over months and years, and thick polish bubbles for two reasons at once.
It goes on heavier because it does not flow off the brush cleanly, so you end up with a thicker coat than you intended. And it skins over faster, because there is proportionally less solvent to hold the surface open. Both push you toward the sealed-skin problem.
Two or three drops of proper nail polish thinner restores it. Never use remover, which contains acetone and permanently breaks the resin system. My thick nail polish post covers doing it properly.
Bubbles that only show up in the top coat
If the color looked perfect and bubbles appeared after top coat, the color underneath was not dry.
Top coat seals the surface. Any solvent still in the color layer is now trapped under an extra film, and it has to force its way out through both. Quick-dry top coats make this worse because they set fast and their high solvent content also softens the layer below.
Give color a full five minutes before top coat, and longer with dark or heavily pigmented shades. Then float the top coat on rather than brushing it: load the brush generously, touch it down in the middle of the nail, and let it spread outward under its own weight.
Can you fix bubbles once they have dried?
Small ones yes, large ones no, and it is worth being honest about the difference.
Shallow surface bubbles can be smoothed. Wait until the nail is genuinely hard, which for a bubbled nail means longer than usual because the layer underneath was still wet. Then buff the surface flat with a fine buffer and apply one thin coat of top coat.
Deep bubbles are voids running most of the way through the film, and filling the dimple on top leaves a weak spot that will chip within days. That nail is faster to remove and redo than to rescue.
Do not try to pop a bubble while the polish is wet. You will tear the skin and drag pigment, and the result is worse than the bubble.
The routine that avoids it
Everything above comes down to five habits.
Roll the bottle rather than shaking it. Make sure nails are dry and free of oil, waiting twenty minutes after any water contact. Apply two properly loaded thin coats instead of one thick one, with three minutes between them. Let the color dry five minutes before top coat. Do not blow on them or use heat. Heat near wet polish is a safety issue too, because the FDA warns that some nail products can easily catch fire near a heat source.
Done together, these also fix streaking and most early chipping, because all three problems share the same underlying causes. My streaky nail polish post covers the overlap.
FAQ
Why does my nail polish bubble when it dries?
The surface skins over before the polish underneath has dried, so solvent escaping from the lower layer pushes up through that skin and forms domes. It is caused by coats applied too thick, or by drying the surface too fast with heat or blowing on it.
Does shaking nail polish cause bubbles?
Less than people think, for regular polish. Shaking does introduce air, but lacquer is thin enough that most of it escapes if the bottle stands upright for an hour. Most bubbles form on the nail rather than in the bottle. Rolling is still the better habit, and for gel it genuinely matters.
Can you fix bubbled nail polish without redoing it?
Only if the bubbles are shallow. Let the nail harden fully, buff the surface flat with a fine buffer, and apply one thin coat of top coat. Deep bubbles are voids through the film and leave a weak spot that chips, so that nail is quicker to remove and redo.
Does blowing on nails cause bubbles?
Yes. Blowing dries the surface much faster than the layer beneath, which is exactly the condition that traps solvent and forms bubbles. Warm air from a hairdryer is worse still. Cold air or cold water is the exception, because it firms the whole film evenly rather than only the top.
Two thin coats and no blowing fixes this for most people. My drying nail polish faster post covers what genuinely works instead.

