It is difficult to effectively treat bacterial osteomyelitis using photothermal therapy or photodynamic therapy due to poor penetration of light. Here, a microwave (MW)‐excited magnetic composite of molybdenum disulfide (MoS2) / iron oxide (Fe3O4) is reported for the treatment of bacteria‐infected osteomyelitis. In in vitro and in vivo experiments, MoS2/Fe3O4 is shown to effectively eradicate bacteria‐infected mouse tibia osteomyelitis, due to MW thermal enhancement and reactive oxygen species (ROS) (1O2 and ·O2–) production under MW radiation. In addition, the mechanism of MW heat generation is proposed by MW network vector analysis. By the density functional theory and finite element method, the ROS generation mechanism is proposed. The synergy or conductive network between dielectric MoS2 and magnetic Fe3O4 can reach both enhancement of the dielectric and magnetic attenuation capability. In addition, abundant interfaces are generated to enhance the attenuation of electromagnetic waves by MoS2 and Fe3O4, introducing multiple reflections and interfacial polarization. Therefore, MoS2/Fe3O4 has excellent MW absorption ability based on the synergy or conductive network between MoS2 and magnetic Fe3O4 as well as multiple dielectric reflections and interfacial polarization.