A method for producing a medical device with a lattice structure, connected at least in some areas to a cover. The lattice structure is arranged on a substrate via the side to be connected to the cover, the lattice structure has the side arranged on the substrate pressed at least partially into the substrate, the lattice structure is coated with a first layer of a sacrificial material. At least some of the interstices of the lattice structure are covered by the first layer, and the first layer with the lattice structure on the side to be connected to the cover forms a substantially closed surface, the substrate is removed, making the side of the lattice structure accessible for connection to the cover. A second layer for forming the cover is applied to the side of the lattice structure previously pressed into the substrate, and the sacrificial material is removed.