This study investigates the performance of a new electrically tuneable polyaniline (PANI) membrane, and shows that this synthesis method has the potential to address key challenges of small-acid doped PANI membranes, including: acid dopants leaching out during filtration and low mechanical strength. The novel in-situ polymerisation used poly (2-acrylamido-2-methyl-1-propanesulfonic acid) (PAMPSA), as polymer acid template leads to the formation of inter-polymer complexes of PANI and polymer acid. The developed membranes were comprehensibly evaluated through visual, chemical, mechanical and filtration studies and compared to small-acid doped membranes (PANI-HCl membranes). The PANI-PAMPSA membranes were smooth, acid leach resistant, had higher tensile strength and showed conductivity three magnitudes higher compared to PANI membrane with post cast doping. The developed membrane showed in-filtration performance stability, electrical tuneability (in-situ control of flux and rejection) and fouling removal characteristics under applied electrical potential. Data obtained by SEM, IR spectroscopy, electrical analysis and cross-flow filtration confirm these results. The overall results showed that the proposed membrane fabrication procedure resulted in a significant improvement in performance across a range of critical parameters, including conductivity, stability, flexibility, permeance and fouling removal with additional advantage of being electrically tuneable.