Inhibition of cyclooxygenase 2 (COX2) activity is thought to activate endocannabinoid signalling. This study identified a substrate-selective COX2 inhibitor that did not modulate non-endocannabinoid lipids or prostaglandin synthesis. In mice, the inhibitor reduced anxiety-like behaviours by increasing endocannabinoid signalling without inducing detrimental cannabimimetic effects. The results confirm that COX2 regulates endocannabinoid signalling and suggest that substrate-selective COX2 inhibitors have therapeutic potential, possibly without gastrointestinal or cardiac side effects.