Sand spits form after sudden changes in the shape of a coastline. This causes longshore drifts that deposit sediment in the direction of the drift, rather than along the coastline. Sand spits appear as fingers of land projecting from the coast.
Longshore drifts occur when prevailing winds blow at an angle to the coastline. The drifts carry sediment to the shore. When the shoreline suddenly changes direction the sediment continues to drift, eventually being deposited when currents become weaker. Wave refraction generates a hook in the shape of the spit. This hooked land area creates a shallow protected body of water. Salt marshes form within this protected body.
The continual erosion of sand spits combined with the continual deposition of sediment makes sand pits unstable land forms. Increased amounts of sediment may increase the rate of deposition behind the sand spit. When events such as storms create an imbalance between deposition and erosion, the shape of the sand pit can change dramatically. Sand pits that become large enough to completely block off a bay of water they are called bars. The water behind a bar is known as a lagoon. Many sand spits occur at the mouth of a river.