Acid reflux in bed is related to improper diet, reflux esophagitis and duodenal ulcer. Many people will eat a lot of acidic fruits or indigestible food before going to bed, and this kind of food will stimulate excessive secretion of gastric acid, so they will have acid reflux disease after going to bed. When there is reflux esophagitis disease in the digestive system, not only will gastric acid secretion relatively more, and the protective barrier of the esophageal mucosa will also be damaged, these people should try to sleep at night with the pillow cushioned high to reduce the possibility of acid reflux. Once the pillow is too low, the level of the esophagus will be relatively low, and stomach acid will more easily enter the esophagus to cause damage to the esophageal mucosa, so this reaction occurs when sleeping. Duodenal ulcers can be accompanied not only by hunger pains but also by midnight pains. These people often experience stomach pain and acid reflux in the middle of the night because of the damage caused by stomach acid to the duodenum.