Aerobic composting is widely used on transforming organic solid waste into proliferating products. However, the removal of antibiotics and antibiotic resistance genes (ARGs) in the process of co-composting of food waste with sewage sludge has been rarely reported to date. Therefore, we investigated a laboratory-scale composting using food waste and sewage sludge as substrates to study changes in antibiotics and ARGs during composting. Varying dose of antibiotics were added to allow the evaluation of changes in antibiotics, the microbial community and ARGs. The results revealed that composting effectively removed fluoroquinolones and macrolides, while showed poor efficiency in removing sulfonamides. Results from the 16S rRNA sequencing revealed that Firmicutes dominated on D0, while Proteobacteria and Actinomycetes dominated on D28, and a high concentration of antibiotics affected the microbial succession. The quantitative PCR demonstrated that the abundance of sul3, sulA, qnrB, qnrS, and ermB was reduced after 28 days composting, while an increase in the abundance of sul1, sul2, qnrD, ermC, and ermF was induced by high concentrations of antibiotics. Redundancy analysis revealed that total organic matter was the most important factor for the variation in the ARGs abundance. Overall, our findings indicated that the aerobic co-composting of food waste with sewage sludge can effectively remove antibiotics and ARGs. Our study sheds a new idea light on the strategy for the removal of antibiotics and ARGs from organic solid waste.