Fentanyl and its 11 commercially available derivatives were investigated as to their affinity for the σ1 receptor. The parent compound is a rather poor binder (IC50 = 4973 nM), but its close derivatives (benzylfentanyl or p-fluorofentanyl) have submicromolar affinities. Modelling provides a structural basis for the observed trends in activity.