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 (12), which is visible in the inserted state. An inner part (14) is arranged in the denture base (20) 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 (22) are created in the denture base. In order to be able to create the cavities (22) with the help of automatic production methods such as CAD/CAM methods, the artificial teeth are virtually subtracted from a virtual denture base (20) such that a cavity edge (24) is defined, which corresponds to the virtual gum line (10).