A capsule for mixing and dispensing a dental material which has a capsule body and a cavity extending into the capsule body. The cavity is closed by a liquid container. The liquid container has a cartridge forming a channel that extends between a front opening and a rear opening of the cartridge. Further the cartridge has a front foil closing the front opening and a rear foil closing the rear opening. The front foil is attached at the cartridge along a closed path circumferentially around the front opening. The front foil and the cartridge in at least a partial area of the circumferential path are separably sealed with each other, thus defining an openable valve through that path. The capsule has further a piston received in the channel of the cartridge and arranged such that the liquid is enclosed in the cartridge between the front foil and the piston. The capsule facilitates the preparation of a two-component dental material.