Dynamic covalent libraries (DCLs) of quaternary ammonium cations were set up by reversible nucleophilic substitution (S(N)2' and S(N)2) exchange reactions of ammonium salts and tertiary amines. The reactions were conducted at 60 °C to generate thermodynamically and kinetically controlled mixtures of quaternary ammonium compounds and tertiary amines, and were accelerated by using iodide as a nucleophilic catalyst. Microwave irradiation was used to assist the exchange reaction between the pyridinium salts and pyridine derivatives. Finally, experiments towards the generation of dynamic ionic liquids were performed. The results of this study pave the way for the extension of dynamic combinatorial chemistry to nucleophilic substitution reactions.