IL monomers with hydroxyl and carboxyl groups are prepared.
Functional nanogels are obtained via one-step ternary copolymerization.
PIL-based nanogels are thermoresponsive. • UCST of PIL-based nanogel can be tuned via the feed ratio.
Reversible nanogel-macrogel transition can be achieved with high [VCMIm]Cl feed.