The present invention relates to a hydrogel on the basis of polyurethane or polyurethane urea, said hydrogel comprising hydrolysable functional groups in the polymer chain, to a method for producing the hydrogel and to the use of the hydrogel as adhesion barriers.