The contemporary distribution of benthic diatoms and their use as ecological indicators were examined in a coastal wetland, the Ebro Delta, as a representative of environmental conditions in Mediterranean coastal wetlands. A total of 424 diatom taxa were identified across 24 sites encompassing a wide range of wetland habitat types (coastal lagoons, salt and brackish marshes, shallow bays, microbial mats and nearshore marine waters) and conductivities. Canonical correspondence analysis showed that water conductivity and water depth were the main factors structuring the diatom assemblages. Cluster analysis identified five habitat types according to the similarity in diatom species composition: salt marshes, brackish marshes, brackish coastal lagoons and bays, coastal lagoons with fresher conditions, and nearshore open sea. For each wetland habitat, diatom indicator species were identified. Partial canonical correspondence analysis showed that water conductivity, a proxy for salinity, was the most statistically significant and independent variable for explaining the distribution of benthic diatoms in the study area. A transfer function, using a weighted average regression model, was developed for conductivity and displayed reasonable performance (r2 = 0.64; RMSEP = 0.302 log10 mS/cm). Our study in the Ebro Delta provides a basis for using diatom assemblages to make quantitative conductivity inferences, and for using diatom indicator species to identify wetland habitats. These approaches are complementary and may be valuable for paleoenvironmental studies of (1) effects of large-scale, natural changes in the Delta (e.g. sea-level fluctuations), and (2) impacts of short-term anthropogenic changes, such as the introduction and development of rice agriculture.