The charged surfaces with desirable performance are of high concern in membrane separation but there exist challenges to tailor them over a task-specific range. Herein, we propose an ionic liquid (IL)-triggered charge regulation strategy for polydopamine (PDA)-based surfaces by tuning the number and position of amino groups of ILs. By strategically manipulating the location of amino groups in either the anion, cation, or both, we realize a complete inversion in the surface charge nature of PDA coatings from highly negative to negative and even highly positive (zeta potential: −25 mV to +25 mV). This charge inversion triggered by IL is attributed to both the number of protonable groups and shielding effect provided by counter ions. Such charge flip enhances Donna effect when the PDA/IL coatings serve as the skin layer of nanofiltration membranes, thereby enabling high rejection to both negative and positive target molecules (i.e., chlorogenic acids at various pH). Despite charge regulation, ILs with dual amino groups cross link the PDA aggregates, largely narrowing the pore size distribution of the skin layer. The IL cross-linked PDA skin layer with uniform pores thus shows a nearly 100 % rejection to the target solutes. Meanwhile, the IL synchronously endow the PDA coatings with tunable charge characteristics, imidazolium functional groups and exceptional superoleophobicity, compensating for the originally inferior antibacterial activity of membranes in a wide pH range.