As it cools, the surface air becomes denser than the warmer air above it, and thus becomes trapped below it. The layer may thicken through turbulence generated within the developing marine layer itself. It may also thicken if the warmer air above it is lifted by an approaching area of low pressure. The layer will also gradually increase its humidity by evaporation of the ocean or lake surface, as well as by the effect of cooling itself.
Fog will form within a marine layer where the humidity is high enough and cooling sufficient to produce condensation. Stratus and stratocumulus will also form at the top of a marine layer in the presence of the same conditions there. A marine layer will disperse and break up in the presence of instability, such as may be caused by the passage of a frontal system or trough, or any upper air turbulence that impinges on it. A marine layer can also be driven away by sufficiently strong winds.
In the case of coastal California, the offshore marine layer is typically propelled inland by a pressure gradient which develops as a result of intense heating inland, blanketing coastal communities in cooler air which, if saturated, also contains fog. Usually, the fog clears most areas by midday, evaporated as cloud-penetrating sunlight heats the ground.
Occasionally the marine layer becomes particularly deep, and the clouds on land can persist all day. This can happen at any time of the year, inspiring colloquialisms such as "Gray-pril", "May Gray", "June Gloom", "No Sky July" and "Fogust". An approaching frontal system or trough can also drive the marine layer onshore.