Biofilm formation by marine bacteria is impacted by concentration and surface functionalization of polystyrene nanoparticles in a species-specific manner.