In summary, we designed multifunctional nanotheranostics (MBP-Ce6 NSs) for biofilm microenvironment-responsive imaging and treating of MRSA biofilm infections. This evidence concerns the gene MBP and methicillin-resistant staphylococcus aureus infectious disease.