A pharmaceutical composition for controlled release of an active substance is provided. The active substance is released into an aqueous medium by erosion of at least one surface of the composition. The composition comprises i) a matrix comprising a) polymer or a mixture of polymers, b) an active substance and, optionally, c) one or more pharmaceutically acceptable excipients, and ii) a coating.