A series of 23 neutral, anionic, and zwitterionic surfactants were tested at a concentration of 0.1% wt/vol for their influence on attachment of a Mycobacterium sp. to cellulose acetate (CA) and polyamide (PA) reverse osmosis (RO) membranes. Four cell attachment bioassays were used: (1) semiconcurrent addition of surfactant and bacteria to RO coupons (standard assay); (2) surfactant pretreatment of RO membranes (membrane pretreatment assay); (3) surfactant treatment of adsorbed cells (detachment assay); and (4) surfactant pretreatment of mycobacteria (cell pretreatment assay). Seventeen surfactants inhibited attachment to PA membranes, whereas 15 inhibited attachment to CA in standard assays and, in 13 cases, the same surfactant inhibited attachment to both PA and CA. Despite greater cell attachment to PA than CA, surfactants were typically more effective in the former membrane system. More surfactants were effective in impairing cell attachment than in promoting detachment and a number enhanced attachment in membrane pretreatment assays, suggesting surface modification of RO membranes. Cell pretreatment inhibited attachment to CA membranes, suggesting the bacterial surface was also a target for detergent activity. Multivariate regression and cluster analyses indicated that critical micellar concentration (CMC) was positively correlated with Mycobacterium attachment in CA and PA standard assays. Surfactant dipole moment and octanol/water partitioning (LogP) also contributed to detergent activity in the PA system, whereas dipole moment, molecular topology (i.e., connectivity indices), and charge properties influenced activity in the CA system. Influential variables in membrane pretreatment assays included the LogP, topology indices, and charge properties, whereas CMC played a diminished role. Surfactant dipole moment was most influential in CA membrane detachment assays. Increasing system ionic strength by LiBr addition strengthened inhibition of cell attachment to CA membranes by dodecylbenzene sulfonic acid (DBSA) and promoted DBSA adsorption to CA surfaces as indicated by attenuated total reflection Fourier-transform infrared spectrometry. Results indicate that inhibition of bacterial attachment to RO membranes may be maximized by manipulating surfactant molecular structure to optimize surface adsorption behavior.