This question carries more weight than it looks, because for decades the answer people were given was wrong in a way that blamed them for being ill. So it is worth separating two quite different claims.
Did stress give me ulcerative colitis? No.
Can stress set off a flare of the colitis I already have? Yes, and that is worth doing something about.
Why stress cannot cause it
Ulcerative colitis requires a genetic predisposition. Over two hundred genetic loci have been linked to inflammatory bowel disease, and they cluster around how the immune system recognises gut bacteria and how the bowel lining maintains its barrier. Without that susceptibility, the immune response that produces continuous ulceration of the colon does not get started.
That is why the disease runs in families — around one in six people with ulcerative colitis has a close relative with inflammatory bowel disease — and why its incidence tracks genetic ancestry and industrialisation rather than anything resembling national stress levels.
Stress is universal. Ulcerative colitis affects roughly one in 420 people in the UK. If stress were the cause, those numbers would look nothing like that.
The idea that did harm
In the 1930s to 1950s, ulcerative colitis was widely described as a psychosomatic illness. People were sent for psychoanalysis. Some were told their bowel was expressing an unresolved conflict.
It was wrong. A colonoscopy shows continuous, friable, ulcerated lining; biopsies show a specific pattern of inflammatory cells in the mucosa. This is a structural disease of the bowel wall that happens to be influenced by stress, in the same way asthma is a structural disease of the airways that happens to be influenced by stress.
The reason this history still matters is that traces of it survive. People — women noticeably more often — still report being told to manage their anxiety when they describe weeks of bloody diarrhoea. If that happens to you, the response is not to argue about psychology. It is to ask for a faecal calprotectin test, which measures inflammation in a stool sample and settles the question with a number.
Where stress genuinely does act
Once you have the disease, the gut-brain relationship is real and it runs in both directions.
Stress to gut. Chronic stress has measurable effects on the bowel: it increases intestinal permeability, shifts the composition of the gut microbiome, alters gut motility, and changes the behaviour of immune cells in the bowel wall. In people with established colitis, periods of high stress are associated with a greater likelihood of relapse.
Gut to brain. This direction is less discussed and arguably more important day to day. Depression and anxiety are roughly two to three times more common in people with inflammatory bowel disease than in the general population. Some of that is the obvious burden of living with an unpredictable, undignified illness. Some of it appears to be the inflammation itself, which affects mood through inflammatory signalling to the brain.
So a flare makes you anxious, anxiety amplifies gut symptoms, and amplified symptoms feed the anxiety. The loop is genuine, and the useful thing about recognising it is that you can intervene at more than one point.
What is worth doing
Sleep first. It has the clearest effect on inflammatory markers and flare risk, and it is the one most people treat as optional. Poor sleep also lowers pain tolerance, which makes identical inflammation feel considerably worse.
Cognitive behavioural therapy. Studied specifically in IBD populations, with consistent benefit for mood and quality of life. It does not treat the inflammation; it treats the loop.
Gut-directed hypnotherapy. Better established in irritable bowel syndrome, but with reasonable evidence in inflammatory bowel disease for symptom burden.
Regular moderate exercise. Associated with lower relapse rates and better fatigue. Moderate is the operative word — training hard through a flare is not helpful.
Treating diagnosed anxiety or depression properly. Including medication where appropriate. Many IBD services can refer directly to psychological support; a fair number of people never find out because they never ask.
What is not worth doing
Using stress management instead of medication. There is no evidence that relaxation induces remission, and stopping mesalazine to pursue a calmer lifestyle is a reliable way to turn a mild flare into a severe one. Maintenance medication also reduces the long-term bowel cancer risk, which is a consequence that does not announce itself for twenty years.
Also not worth doing: blaming yourself for the flare. Plenty of flares arrive during entirely ordinary weeks, and plenty of appalling years pass without one. The association is statistical, not a verdict on how well you coped.
Where this leaves things
Ulcerative colitis is an immune-mediated disease of the large bowel in people genetically predisposed to it. Stress did not cause it.
But the immune system, the gut and the brain are not separate systems, and pretending stress is irrelevant is its own kind of error. Sleep, mood and stress load are modifiable, they affect how often you flare and how bad it feels, and they sit alongside medication rather than competing with it.
If you are deciding where to put effort: take the maintenance treatment, protect your sleep, and get anxiety or low mood treated as the medical problem it is.