Children coughing with phlegm in the middle of the night, the choice of drugs depends on the cause, as follows: a. Mycoplasma infection: If the child is accompanied by a cough, the onset of the initial dry cough, later turning into a stubborn and violent cough, no phlegm or accompanied by a small amount of mucous sputum, the appearance of obvious symptoms of fatigue and loss of appetite, consider the child is mycoplasma infection, you can take azithromycin granules under the guidance of a doctor to improve the child with cough symptoms. It is recommended that parents must follow the doctor’s instructions and give their children the full amount and course of medication, not to stop or change the dosage without permission, otherwise the disease is prone to relapse. Allergic rhinitis: If a child has a cough in the middle of the night accompanied by nasal congestion and nasal mucus, and if the child usually has the symptoms of rubbing the nose and a reduced sense of smell, consider that the cough is caused by allergic rhinitis, which increases nasal secretions and causes postnasal drip. Patients can take anti-allergy medications, such as cetirizine, loratadine, or budesonide nasal spray under the guidance of a doctor to improve the symptoms of rhinitis and thus improve the symptoms of coughing in the middle of the night.