Diarrhea in the middle of the night may be caused by abdominal cold, acute gastroenteritis, inflammatory bowel disease and other factors, need to be under the guidance of the doctor for targeted treatment, such as general treatment, drug therapy. 1. Abdominal cold: sleep at night without abdominal warmth will appear in the case of abdominal cold, when the stomach by the cold stimulation can cause gastrointestinal peristalsis caused by diarrhea, such cases need to do a good job of abdominal warmth, diarrhea can be used to stop the diarrhea of serious montelukast. 2. Acute gastroenteritis: can be triggered after eating unclean food at dinner, with bacterial infection can use ciprofloxacin anti-infective treatment, diarrhea can be used to stop the diarrhea when severe loperamide, with dehydration can be rehydration treatment. 3. Inflammatory bowel disease: patients with mild to moderate active inflammatory bowel disease can be treated with salazosulfapyridine, and glucocorticoids such as prednisone can be used to control the condition. If you have diarrhea in the middle of the night, you can go to the hospital and ask the doctor to make a judgment and give a treatment plan.