What happened when I went to bed and got up with chest pains?

Sleeping chest pain after getting up is mainly considered to have three conditions: first, physiological reasons, sleep due to prone or side lying position, can compress the local chest muscles leading to impaired blood circulation, lactic acid and other metabolites accumulation of chest pain, and after getting up because the blood circulation returns to normal, so chest pain can disappear. Second, reflux esophagitis, due to the pressure drop in the esophagus during sleep, the reflux of gastric acid into the esophagus increases, and there is pressure pain behind the sternum, and the pain can be relieved or disappeared after the pressure at the end of the esophagus increases after getting up. Thirdly, intercostal neuralgia is caused by nerve dysfunction, which can cause chest pain and discomfort due to vagus nerve excitation when sleeping, and the pain can disappear on its own after rest, so it will be better after getting up in the morning. The appearance of sleeping chest pain after waking up is mostly caused by benign diseases, which will not cause serious consequences, but if the pain worsens, it is recommended to go to the hospital in time.