If you have a bloated stomach at night, consider improper diet, gastrointestinal dysfunction and gastrointestinal diseases. You can try to improve your daily eating habits first, and if it does not ease for a long time, it is recommended to consult a doctor for treatment.1. Inappropriate diet: overeating, eating too much cold, indigestible, spicy and stimulating food, or drinking too much carbonated drinks, or eating easy-to-gas food such as sweet potatoes and potatoes, can easily lead to weakened gastrointestinal function, causing indigestion and bloating symptoms. You can eat lightly, eat less and more often, pay attention to dietary hygiene, avoid overeating or consuming too much indigestible food, reduce the intake of coffee and strong tea, quit smoking and alcohol, and avoid eating too much gas-producing food; 2. Gastrointestinal dysfunction: due to stress, emotions, environment and other factors, you may have smaller meals during the day and larger meals at dinner, which can cause gastrointestinal dysfunction and symptoms of bloating in the long run. We should pay attention to warmth, combine work and rest, ensure adequate rest, avoid excessive stress, and develop the habit of regular diet; 3. Gastrointestinal diseases: such as gastritis, gastric ulcer, duodenal ulcer and other diseases, disorders of gastric fundus tolerance diastole, disorders of sinus duodenal motor coordination and visceral hypersensitivity, etc., can often show epigastric discomfort, bloating, nausea and loss of appetite. Oral medications that inhibit or neutralize gastric acid can be taken to protect the gastric mucosa under the guidance of a doctor in combination with your condition.