A method for producing a tooth replacement and corresponding computer programs and devices are described. The method can comprise generating a tooth replacement having a core and an outer layer which define a boundary surface between each other. To ensure that the prepared tooth replacement is technically acceptable independent of skills and experience of the user and approximate the appearance of a natural tooth, the extension of the boundary surface represents a natural extension of the dentino-enamel junction of a tooth for which the tooth replacement is provided, wherein the extension of the boundary surface (i) is determined based on a recording of the dentino-enamel junction of the tooth for which the tooth replacement is provided, and/or (ii) is determined based on directly or indirectly recorded geometry data of at least a portion of the outer geometry of the tooth for which the tooth replacement is provided.