The causes of coughing before going to sleep include inappropriate temperature and humidity, allergies, respiratory diseases, digestive diseases and so on. 1. Inappropriate temperature and humidity: dry air or low room temperature in the child’s sleeping environment can cause the child to cough. 2. Allergy: the child’s allergic reaction to bedding lint, hair, dust mites, etc., can cause the child to cough before going to sleep. 3. Respiratory diseases: children suffering from bronchitis, pharyngitis, tonsillitis and other diseases, can cause cough symptoms. 4. Gastrointestinal diseases: Gastroesophageal reflux disease (GERD) can irritate the mucous membranes of the throat or trachea, leading to coughing symptoms. Coughing before going to sleep may also be related to other reasons, you need to go to the hospital in a timely manner for relevant examinations, to clarify the cause of the disease, and actively cooperate with the doctor to take reasonable treatment measures.