Trivalent metal induced longer recovery on removal performance than bivalent metal. Trivalent metal cations reduced trans-membrane pressure by binding EPS and SMP. Fe(III)-tolerance genera were positively correlated and interacted with SMP. Inhibited genera and binding bridge reduced membrane fouling under Ca(II) stress. Microorganisms and EPS/SMP interacted and affected with each other.