Identifying neurons that have functional opioid receptors is fundamental for the understanding of the cellular, synaptic and systems actions of opioids. Current techniques are limited to post hoc analyses of fixed tissues. Here we developed a fluorescent probe, naltrexamine-acylimidazole (NAI), to label opioid receptors based on a chemical approach termed 'traceless affinity labeling'. In this approach, a high affinity antagonist naltrexamine is used as the guide molecule for a transferring reaction of acylimidazole at the receptor. This reaction generates a fluorescent dye covalently linked to the receptor while naltrexamine is liberated and leaves the binding site. The labeling induced by this reagent allowed visualization of opioid-sensitive neurons in rat and mouse brains without loss of function of the fluorescently labeled receptors. The ability to locate endogenous receptors in living tissues will aid considerably in establishing the distribution and physiological role of opioid receptors in the CNS of wild type animals.