An artificial stomach for replacing the normal stomach of a patient comprises a food reservoir adapted to collect food, an inlet connected to a first opening of the food reservoir and further being adapted to upstream connect to the patients gastrointestinal tract, and an outlet connected to a second opening of the food reservoir and further being adapted to downstream connect to the patients gastrointestinal tract.