The increase in the number of resistant bacteria caused by the abuse of antibiotics and the emergence of biofilms significantly reduce the effectiveness of antibiotics. Bacterial infections are detrimental to our life and health. To reduce the abuse of antibiotics and treat biofilm-related bacterial infections, a biomimetic nano-antibacterial system, RBCM-NW-G namely, that controls the release of antibiotics through near infrared was prepared. The hollow porous structure and the high surface activity of nanoworms are used to realize antibiotic loading, and then, biomimetics are applied with red blood cell membranes (RBCM). RBCM-NW-G, which retains the performance of RBCM, shows enhanced permeability and retention effects. Fluorescence imaging in mice showed the effective accumulation of RBCM-NW-G at the site of infection. In addition, the biomimetic nanoparticles showed a longer blood circulation time and good biocompatibility. Anti-biofilm test results showed damage to biofilms due to a photothermal effect and a highly efficient antibacterial performance under the synergy of the photothermal effect, silver iron, and antibiotics. Finally, by constructing a mouse infection model, the great potential of RBCM-NW-G in the treatment of in vivo infections was confirmed.