Abstract Chronic pain affects a significant percentage of the United States population, and available pain medications like opioids have drawbacks that make long-term use untenable. Cannabinoids show promise in the management of pain, but long-term treatment of pain with cannabinoids has been challenging to implement in preclinical models. We developed a voluntary, gelatin oral self-administration paradigm that allowed male and female mice to consume ∆9-tetrahydrocannabinol, cannabidiol, or morphine ad libitum. Mice stably consumed these gelatins over 3 weeks, with detectable serum levels. Using a real-time gelatin measurement system, we observed that mice consumed gelatin throughout the light and dark cycles, with animals consuming less...