An established preference for a conditioned stimulus associated with either sucrose or copulation in male rats subsequently shifts to a preference for a conditioned stimulus paired with cocaine self-administration.