processes, [13][14][15][16] membrane modification, [17] and fabricating nanocomposite and mixed matrix membranes. [1,[18][19][20][21][22][23] Lately, research on SRNF membranes has focused on fabricating membranes from completely new materials such as graphene and other carbon materials, [24][25][26] metal hydroxides, [27] and metal-organic framework membranes, [28,29] or from new polymers. [30][31][32][33][34] One very promising group of materials for SRNF TFC membranes is polyelectrolyte (PE). PE-based SRNF membranes fabricated by layer-by-layer deposition or coating techniques [35][36][37] showed promising high selectivities, however, their permeabilities were low. [38] The low solubility of PEs in organic solvents due to charge condensation as well as thick active layers were probably the two main reasons for the low permeabilities. [39] Reducing the active layer thickness by decreasing the number of layers improved the permeability, but also reduced the selectivity. [38] Other approaches to increasing the permeability of PE-based membranes included incorporating graphene oxide nanosheets into the PE, [40] fabricating an ionically crosslinked asymmetric PE membrane, [41] using a weak PE [42] and a branched PE. [38] A promising new type of PE for fabricating SRNF TFC membranes which is yet to be explored is polymeric ionic liquids (PILs). PILs are solid, strong PEs that carry an ionic liquid species (cationic or anionic) constrained to the repeating units in the PE chain. [43] Unlike traditional PEs, in organic solvents PILs can swell and their counterion is delocalized, depending on the polymer and counterion types, mainly due to the hydrophobic character of the counterion and the reduced Coulombic interactions. [43,44] The swelling of the active layer in solvents is an important parameter that influences the membrane performance, that is, permeance and selectivity. [35] Low membrane permeance can be attributed to low swelling of the active layer, [45,46] but high swelling results in low selectivity or low membrane stability, [38,47,48] hence, the swelling degree of PILbased membranes must be restricted. This can be achieved by the addition of a cross-linker monomer (i.e., PIL gel) and by the choice of the PIL monomer and counterion. [49,50] Membrane permeance is also proportional to the active layer thickness: high permeability requires a thin active layer. [14,38] The selectivity of crosslinked PE-based nanofiltration membranes is proportional to the surface charge and the membrane molecular weight cutoff, namely, the cross-linker density. [35,38] The Polymeric ionic liquid (PIL) gels can serve as a promising material for the fabrication of solvent resistance nanofiltration (SRNF) membranes, given the solubility and the high delocalization of the counterion of PILs in organic solvents. This research describes the fabrication of a new thin-film composite membrane (TFC) with a crosslinked PIL (i.e., PIL gel) as an active layer and demonstrates its great potential as an SRNF membrane. A hydrophobic and positiv...