Vaccination selectively blocks the thermal and mechanical antinociceptive effects of heroin. (A and B) Systemic injection of heroin (1 mg/kg, s.c.) produced robust decreases in both thermal (A) nociceptive sensitivity as measured by hot plate, and mechanical sensitivity (B) as measured by von Frey filament testing. This was fully reversed in the heroin-like vaccine (Her-11b) group. The morphine-like vaccine (Mor-12b) significantly blunted the thermal nociceptive effects of heroin compared to control, but was still significantly elevated from baseline and did not alter mechanical sensitivity. (C and D) Injection of the structurally similar opiate oxycodone produced similar thermal and mechanical insensitivity as seen with heroin. Neither the heroin-like (Her-11b) nor morphine-like (Mor-12b) vaccine altered antinociceptive responses to oxycodone. N = 7–8 per group, ***p < 0.001, 30 min post-drug versus baseline; #p < 0.05, ###p < 0.001, versus KLH response post-drug.