Artificial teeth are inserted in a denture base in order to produce a denture. The artificial teeth used according to the invention have an outer part, which is visible in the inserted state. An inner part is arranged in the denture base in the inserted state. A virtual data record of the artificial tooth, which corresponds to the outer side of the tooth, helps to define a virtual gum line in a region of the inner part of the tooth, which is undercut-free. In order to produce a denture base, cavities are created in the denture base. In order to be able to create the cavities with the help of automatic production methods such as CAD/CAM methods, the artificial teeth are virtually subtracted from a virtual denture base such that a cavity edge is defined, which corresponds to the virtual gum line.