In this study, nanocomposite membranes based on cellulose acetate (CA) and nanodiamond (ND) were prepared by applying phase inversion methods. In order to achieve efficient dispersion and more hydrophilic NDs, they were functionalized via heat treatment (ND-COOH). The prepared nanocomposite membranes were characterized by Fourier transform infrared spectroscopy (FTIR), scanning electron microscopy (SEM), transmission electron microscopy (TEM), contact angle, porosity measurement, tensile strength, and abrasion resistance techniques. Furthermore, the governing fouling mechanisms were determined by using classic models as well as combined fouling models. Moreover, the effect of precoagulation with polyaluminum chloride (PAC) on the humic acid (HA) filtration was investigated. The obtained results showed that in the presence of ND-COOH, the abrasion resistance of nanocomposite CA membrane was three times higher than that of pristine CA membrane. Besides, the nanocomposite membranes with 0.5 wt % of raw and functionalized ND exhibited excellent hydrophilicity and PWF. The analysis of fouling mechanism based on Hermia's model revealed that the cake formation is prevailing mechanism for CA and CA/ND (0.5 wt %) membranes while for CA/ND-COOH (0.5 wt %) membrane, experimental results are fitted by combined cake filtration-complete blocking (CFCB) model. It confirms that pretreatment with PAC can significantly mitigate fouling and improve HA removal.