The whole Ebro Estuary, a salt wedge Mediterranean estuary, was exhaustively sampled.
Ordination methods and GAMs identified two macroinvertebrate communities associated to fresh and saline conditions.
The macroinvertebrate community of the Ebro Estuary experienced a total replacement distribution pattern from fresh to salt water.
The ecological boundary of the Ebro Estuary fitted an ecotone model.
The minimum species richness value was located in the surroundings of the null point, namely salt wedge tip.