The causes of sudden pain behind the xiphoid process at night may be stomach cramps, duodenal ulcers and gastric ulcers. 1. Stomach cramps: may be due to cold stimulation of the stomach stomach muscle contraction, the pain behind the raphe, often accompanied by vomiting, generally warm or covered with a hot water bag can sometimes be relieved. 2. Duodenal ulcer: usually pain during fasting, can be relieved after eating, and pain behind the xiphoid process at night. 3. Gastric ulcer: most of the pain occurs within 1 hour after meal, and gradually relieved about 2 hours after meal, and the pain can also occur at night due to cold and other reasons. Sudden pain behind the raphe at night may also have other causes, such as heart disease, etc., should be timely to the hospital, the doctor according to the symptoms, signs and auxiliary examination to determine the specific cause of the disease, the cause of treatment.