A novel substituted aminoquinoline selectively targets voltage-sensitive sodium channel isoforms and NMDA receptor subtypes and alleviates chronic inflammatory and neuropathic pain.