Methods of predicting the development of medically refractory ulcerative colitis (MR-UC) in a patient by determining the presence or absence of one or more risk variants, where the presence of one or more risk variants is indicative of a severe and/or aggressive form of ulcerative colitis are disclosed.