Zwitterionic magnetofluorescent nanoparticles (ZW-MFNPs) were prepared, characterized, and applied for specific tumor cell targeting.