||BACKGROUND: Bacteria and viruses are equally associated with the risk of acute episodes of asthma-like symptoms in young children, suggesting antibiotics as a potential treatment for such episodes. We aimed to assess the effect of azithromycin on the duration of respiratory episodes in young children with recurrent asthma-like symptoms, hypothesising that it reduces the duration of the symptomatic period. METHODS: In this randomised, double-blind, placebo-controlled trial, we recruited children aged 1-3 years, who were diagnosed with recurrent asthma-like symptoms from the Copenhagen Prospective Studies on Asthma in Childhood 2010 cohort; a birth cohort consisting of the general Danish population of Zealand, including Copenhagen. Exclusion criteria were macrolide allergy, heart, liver, neurological, and kidney disease, and, before each treatment, one or more clinical signs of pneumonia (respiratory frequency of >/=50 breaths per min; fever of >/=39 degrees C; C-reactive protein concentration of >/=476.20 nmol/L [>/=50 mg/L]). Each episode of asthma-like symptoms lasting at least 3 days was randomly allocated to a 3-day course of azithromycin oral solution of 10 mg/kg per day or placebo after thorough examination by a study physician at the Copenhagen Prospective Studies on Asthma research unit. Each episode was randomly allocated independently of previous treatment from a computer-generated list of random numbers in blocks of ten (generated at the Pharmacy of Glostrup). Investigators and children were masked until the youngest child turned 3 years of age and throughout the data validation and analysis phases. The primary outcome was duration of the respiratory episode after treatment, verified by prospective daily diaries and analysed with Poisson regression. Analyses were per protocol (excluding those without a primary outcome measure or who did not receive treatment). This trial is registered with ClinicalTrials.gov, number NCT01233297. FINDINGS: Between Nov 17, 2010, and Jan 28, 2014, we randomly allocated 158 asthma-like episodes in 72 children (79 [50%] to azithromycin and 79 [50%] to placebo). The mean duration of the episode after treatment was 3.4 days for children receiving azithromycin compared with 7.7 days for children receiving placebo. Azithromycin caused a significant shortening of the episode of 63.3% (95% CI 56.0-69.3; p<0.0001). The effect size increased with early initiation of treatment, showing a reduction in episode duration of 83% if treatment was initiated before day 6 of the episode compared with 36% if initiated on or after day 6 (p<0.0001). We noted no differences in clinical adverse events between the azithromycin (18 [23%] of 78 episodes included in final analysis) and placebo (24 [30%] of 79) groups (p=0.30), but we did not investigate bacterial resistance patterns after treatment. INTERPRETATION: Azithromycin reduced the duration of episodes of asthma-like symptoms in young children, suggesting that this drug could have a role in acute management of exacerbations. Further research is needed to disentangle the inflammatory versus antimicrobial aspects of this relation. FUNDING: Lundbeck Foundation, Danish Ministry of Health, Danish Council for Strategic Research, Capital Region Research Foundation.