Postoperative diet after gastric perforation should start from dietary abstinence, to liquid diet, semi-liquid diet gradually return to normal diet. 1. The first week after surgery is the critical period for healing of the perforation, generally dietary abstinence or later gastrointestinal peristalsis recovered after the start of a liquid diet. The main purpose of dietary abstinence is to minimize gastric wound irritation and avoid infection. Intravenous nutrition can be used to replenish water and electrolytes, glucose, or protein milk; in the later stage, milk and freshly squeezed fruit juice can be used to replenish vitamins and proteins. 2. After 1 week after the operation, the fluid diet can be gradually transitioned to semi-liquid diet, you can drink thicker porridge or eat soft noodles and other easily digested and absorbed food, drink some fish soup, broth and other nourishing the body. 3. Generally, normal diet can be resumed in about 2 weeks after surgery, but you still need to avoid fat, sweet, thick and stimulating food to prevent gastric mucous membrane damage; do not eat hard food to prevent indigestion; eat less and more frequent meals to avoid overeating. However, if the infection is serious after gastric perforation surgery, it is possible that you may not be able to eat normally for 10 to 14 days after the surgery. Proper diet is crucial for postoperative recovery, and you should inform your physician in time to adjust your treatment in case of any discomfort.