OBJECTIVE: Despite widespread use of antibiotics for the treatment of life-threatening infections and for research on the role of commensal microbiota, our understanding of their effects on the host is still very limited. DESIGN: Using a popular mouse model of microbiota depletion by a cocktail of antibiotics, we analysed the effects of antibiotics by combining intestinal transcriptome together with metagenomic analysis of the gut microbiota. In order to identify specific microbes and microbial genes that influence the host phenotype in antibiotic-treated mice, we developed and applied analysis of the transkingdom network. RESULTS: We found that most antibiotic-induced alterations in the gut can be explained by three factors: depletion of the microbiota; direct effects of antibiotics on host tissues and the effects of remaining antibiotic-resistant microbes. Normal microbiota depletion mostly led to downregulation of different aspects of immunity. The two other factors (antibiotic direct effects on host tissues and antibiotic-resistant microbes) primarily inhibited mitochondrial gene expression and amounts of active mitochondria, increasing epithelial cell death. By reconstructing and analysing the transkingdom network, we discovered that these toxic effects were mediated by virulence/quorum sensing in antibiotic-resistant bacteria, a finding further validated using in vitro experiments. CONCLUSIONS: In addition to revealing mechanisms of antibiotic-induced alterations, this study also describes a new bioinformatics approach that predicts microbial components that regulate host functions and establishes a comprehensive resource on what, why and how antibiotics affect the gut in a widely used mouse model of microbiota depletion by antibiotics.