A series of monomers comprising units bearing both imidazolium bromide ionic liquid (IL) and zwitterionic imidazolium alkyl carboxylate moieties with different alkyl spacer groups are designed and synthesized. RAFT polymerization of these monomers produces a new class of ionic homopolymers, named poly(zwitterionic ionic liquid)s (PZILs), which behave like poly(ionic liquid)s as well as poly(zwitterion)s depending on the solution pH. Such PZILs exhibit an isoelectric point (pI) at pH 5.7, where they exist in their zwitterionic form, making them dual responsive to both pH and temperature. Above pH 5, the aqueous transparent solution of PZIL transforms into turbid suspension due to the formation of insoluble hierarchical nanoaggregates (NAs) of various morphologies such as small spheres, large spheres, flower-like, dendrite-shaped, and dendritic fibril-like depending upon the solution pH and PZILs’ structures. The dissolution of aggregates upon heating and reaggregation upon cooling suggests existence of rev...