The habitats where common spike rush~(Eleocharis palustris) grows:

Coastal floodplain grazing marsh
Dune slack
Lowland fen
Lowland meadow and pasture
Marginal and inundation
Nutrient rich eutrophic lake
Pond ditch and canal
Purple moor grass and rush pasture
Reedbed
Sand dune
Turlough and fluctuation mere
Upland lake loch and tarn
Upland spring flush
Valley mire