Medical marijuana may be used for ulcerative colitis due to the presence of cannabinoids that bind with endocannabinoid receptors in the body, including those located in the gastrointestinal tract. While there are no definitive studies confirming the efficacy of cannabis for inflammatory bowel diseases, many patients use it to manage pain, nausea, and appetite.