Most eskers are argued to have formed within ice-walled tunnels by streams that flowed within and under glaciers. They tended to form around the time of the
glacial maximum, when the glacier was slow and sluggish. After the retaining ice walls melted away, stream deposits remained as long winding ridges. Eskers may also form above glaciers by accumulation of sediment in
supraglacial channels, in
crevasses, in linear zones between stagnant blocks, or in narrow embayments at glacier margins. Eskers form near the terminal zone of glaciers, where the ice is not moving as fast and is relatively thin. National Natural Landmark, Washington, US. (Trees at the edge of the esker and the single lane road crossing the esker to the right of the photo provide scale.) Plastic flow and melting of the basal ice determines the size and shape of the subglacial tunnel. This in turn determines the shape, composition and structure of an esker. Eskers may exist as a single channel, or may be part of a branching system with
tributary eskers. They are not often found as continuous ridges, but have gaps that separate the winding segments. The ridge crests of eskers are not usually level for very long, and are generally knobby. Eskers may be broad-crested or sharp-crested with steep sides. The concentration of rock debris in the ice and the rate at which sediment is delivered to the tunnel by melting and from upstream transport determines the amount of
sediment in an esker. The sediment generally consists of coarse-grained, water-laid sand and gravel, although gravelly loam may be found where the rock debris is rich in clay. This sediment is stratified and sorted, and usually consists of pebble/cobble-sized material with occasional boulders.
Bedding may be irregular but is almost always present, and
cross-bedding is common. These dunes are often found in the leeward side of eskers, if the esker is not oriented parallel to prevailing winds. Lakes may form within depressions in eskers. These lakes can lack surface outflows and inflows and have drastic fluctuations over time. ==Life on eskers==