Abstract Background Antibiotic exposure can occur in medical settings and from environmental sources. Long-term effects of brief antibiotic exposure in early life are largely unknown. Results Post a short-term treatment by ceftriaxone to C57BL/6 mice in early life, a 14-month observation was performed using 16S rRNA gene-sequencing technique, metabolomics analysis, and metagenomics analysis on the effects of ceftriaxone exposure. Firstly, the results showed that antibiotic pre-treatment significantly disturbed gut microbial α and β diversities (P