Biofilm cells display remarkable resistance to antibiotics. Here, the authors report that tyrosol blocks Escherichia coli anaerobic biofilm formation by enhancing NO production via YbfA and FNR, thereby increasing biofilm cell susceptibility to antibiotics.