We studied the possibility of modulation of the stimulatory and anxiolytic effects of caffeine by activation of μ-opioid receptors in the gastrointestinal tract. Caffeine in a dose of 10 mg/kg (but not in a dose of 100 mg/kg) had a strong anxiolytic and psychostimulant effect. This effect was manifested in a significant increase in the time spent in the open arms of the elevated plus-maze, elevation of locomotor activity, and stimulation of metabolism. Administration of DAMGO to animals receiving caffeine in a dose of 10 mg/kg abolished the anxiolytic and psychostimulant effects of caffeine. By contrast, administration of DAMGO to rats receiving caffeine in a dose of 100 mg/kg had the anxiolytic effect. Activation of peripheral μ-opioid receptors is followed by the inhibition of the central μ-opioid system. We observed a decrease in the number of μ-opioid receptors in the midbrain and cerebral cortex and inhibition of β-endorphin release from nerve ending of the cingulate cortex in rats. These changes are probably followed by activation of the adenosine system in the brain. Caffeine dose should be increased to achieve the effect. Therefore, the anxiolytic and stimulatory effects of caffeine in a dose of 10 mg/kg are abolished under these conditions. By contrast, the anxiolytic effect of caffeine in a dose of 100 mg/kg (not observed under normal conditions) develops after this treatment.