Lagoons sheltered by sandbars or barrier islands are called coastal lagoons. Coastal lagoons form along coastal plains—flat or gently sloping landscapes. They form in areas with small tidal ranges. Coastal lagoons are created as a shallow basin near the shore gradually erodes, and the ocean seeps in between the sandbars or barrier islands.
The size and depth of coastal lagoons often depend on sea level. When the sea level is low, coastal lagoons are swampy wetlands. When the sea level is high, they can look like coastal lakes or bays.