Most local anaesthetics used clinically are relatively hydrophobic molecules that gain access to their blocking site on the sodium channel by diffusing into or through the cell membrane. These anaesthetics block sodium channels and thereby the excitability of all neurons, not just sensory neurons. We tested the possibility of selectively blocking the excitability of primary sensory nociceptor (pain-sensing) neurons by introducing the charged, membrane-impermeant lidocaine derivative QX-314 through the pore of the noxious-heat-sensitive TRPV1 channel. Here we show that charged sodium-channel blockers can be targeted into nociceptors by the application of TRPV1 agonists to produce a pain-specific local anaesthesia. QX-314 applied externally had no effect on the activity of sodium channels in small sensory neurons when applied alone, but when applied in the presence of the TRPV1 agonist capsaicin, QX-314 blocked sodium channels and inhibited excitability. Inhibition by co-applied QX-314 and capsaicin was restricted to neurons expressing TRPV1. Injection of QX-314 together with capsaicin into rat hindpaws produced a long-lasting (more than 2 h) increase in mechanical and thermal nociceptive thresholds. Long-lasting decreases in pain sensitivity were also seen with regional injection of QX-314 and capsaicin near the sciatic nerve; however, in contrast to the effect of lidocaine, the application of QX-314 and capsaicin together was not accompanied by motor or tactile deficits.