An adhesive ostomy element comprising a backing layer (3) and having at least a first section (1) and at least a first adhesive (4) on a surface of said backing layer. In the centre is provided a stoma-receiving through-going hole (2) defining an inner boundary in said first section and said first section being adjacent to and extending radially from said through-going hole. At least a part of the portion of the first section is provided with a layer of absorbent foam (7) adjacent the hole. The foam expands towards the stoma when wetted and provides a seal against the stoma.