Water recycling is one of the most sustainable solutions to growing water scarcity challenges. However, wastewaters usually contain organic pollutants and often are at extreme pH, which complicates the treatment of these streams with conventional membranes. In this work, we report the synthesis of a robust membrane material that can withstand prolonged exposure to extreme pH (of 1 or 13 for 2 months). Polyamine thin film composite (TFC) membranes are prepared in situ by interfacial polymerization between 1,3,5-tris(bromomethyl)benzene (tBrMeB) and p-phenylenediamine (PPD). Contrary to conventional polyamide TFC membranes, enhanced pH stability is achieved by eliminating the carbonyl groups from the polymer network. The membranes showed pure water permeance and molecular weight cutoff (MWCO) of 0.28 ± 0.09 L m −2 h −2 bar −1 and 820 ± 132 g mol −1 , respectively. The membrane performance is further enhanced by manipulating the monomer structures and replacing p-phenylenediamine with mphenylenediamine, resulting in a higher permeance of 1.3 ± 0.3 L m −2 h −1 bar −1 and a lower MWCO of 566 ± 43 g mol −1 . Given the ease of fabrication and excellent stability, this chemistry represents a step forward in the fabrication of robust membranes for industrial wastewater recycling.