Clinical samples analysis revealed that the diversity and abundance of microbiota were altered in patients with endometritis having positive CD138 levels, while mechanistic investigations revealed C.t alleviated S. aureus-induced endometritis by inactivating TLR4/NF-κB pathway. The gene discussed is SDC1; the disease is endometritis.