Autoimmune diseases develop when your immune system mistakenly attacks healthy tissue, and there is no single cause. Instead, they arise from a collision of factors: genetic susceptibility, a triggering event, and often something in your environment or lifestyle that tips the balance. About 80 autoimmune conditions have been identified, and roughly 1 in 10 people will develop one during their lifetime. Understanding what sets this process in motion helps explain why some people get autoimmune diseases and others don’t.
Your Genes Set the Stage
Autoimmune diseases run in families, but not in a straightforward way. You don’t inherit an autoimmune disease directly. You inherit a genetic landscape that makes your immune system more likely to misfire if the right trigger comes along.
The most important genetic players are a group of genes called HLA genes, which help your immune cells distinguish your own proteins from foreign invaders. Small variations in these genes are strongly linked to specific conditions. A variation called HLA-B27 is tied to ankylosing spondylitis (a type of inflammatory spinal arthritis). Other HLA variants are associated with rheumatoid arthritis, celiac disease, type 1 diabetes, and multiple sclerosis. Each variation changes the shape of a tiny pocket on your immune cells, altering which protein fragments those cells react to.
But having one of these gene variants doesn’t guarantee anything. Most people who carry HLA-B27, for instance, never develop ankylosing spondylitis. Genes load the gun; something else pulls the trigger.
How Infections Can Trigger Autoimmunity
One of the most well-understood triggers is a process called molecular mimicry. Some viruses and bacteria carry proteins that look structurally similar to proteins in your own body. When your immune system mounts a response against the infection, it can accidentally learn to attack your own tissues because they resemble the invader.
Epstein-Barr virus (EBV), the virus that causes mono, is the strongest example. A viral protein called EBNA2 binds to nearly half of the genetic regions associated with lupus risk. The same protein also binds to risk regions for multiple sclerosis, rheumatoid arthritis, inflammatory bowel disease, type 1 diabetes, and celiac disease. This suggests EBV doesn’t just sit quietly after infection. It actively switches on genes that raise your susceptibility to autoimmune problems, potentially years after the original illness.
Not everyone who catches EBV develops an autoimmune disease, of course. The virus is incredibly common, infecting more than 90% of adults worldwide. But in someone with the right genetic background, EBV infection appears to be a powerful nudge toward autoimmunity.
Why Women Are Affected Far More Often
Women account for roughly 80% of autoimmune disease cases. For decades, researchers assumed estrogen was the main reason. A 2024 study from Stanford Medicine revealed a more surprising explanation rooted in the X chromosome itself.
Every cell in a woman’s body shuts down one of its two X chromosomes to avoid producing double the amount of X-linked proteins. The molecule responsible for this shutdown, called Xist, coats the extra X chromosome and silences it. But this process creates unusual molecular structures: tangles of Xist, proteins that bind to it, and other proteins that bind to those. These unfamiliar complexes can trigger antibodies that then target the body’s own tissues.
The Stanford team tested this by engineering male mice to produce Xist. In genetically susceptible strains, these males developed lupus-like autoimmunity at rates approaching those of females, far exceeding normal males. This confirmed that Xist itself, not just female hormones, drives much of the increased risk. However, Xist alone wasn’t enough. The mice also needed a genetic predisposition and some form of tissue-damaging stress to develop disease, reinforcing the idea that autoimmunity requires multiple hits.
Your Gut Lining Plays a Gatekeeper Role
Your intestinal lining is a selective barrier. It absorbs nutrients while keeping bacteria, toxins, and undigested food particles out of your bloodstream. When this barrier becomes more permeable, sometimes called “leaky gut,” foreign particles can slip through and provoke a bodywide immune reaction.
A protein called zonulin regulates how tightly the cells in your gut lining are sealed together. In people with ankylosing spondylitis and rheumatoid arthritis, blood levels of zonulin are elevated, and the tight seals between gut cells are weakened. In rheumatoid arthritis specifically, this increased permeability has been shown to trigger inflammation driven by immune cells that then attack joint tissue. The connection between a compromised gut barrier and autoimmune flares has also been documented in lupus and inflammatory bowel disease.
What damages the gut barrier in the first place varies. Chronic stress, alcohol, certain medications, poor diet, and infections can all play a role. The composition of your gut bacteria matters too. An imbalanced microbiome can weaken the intestinal lining and shift the immune system toward a more inflammatory state.
Too Little Microbial Exposure in Childhood
Autoimmune diseases are far more common in industrialized countries than in developing ones, and their rates have been climbing faster than genetic changes alone could explain. The hygiene hypothesis offers a partial answer: children raised in very clean environments may not get enough microbial exposure to properly train their immune systems.
The mechanism involves receptors on immune cells that recognize microbial molecules. When these receptors get regular, low-level stimulation from diverse bacteria and other organisms early in life, they help calibrate the immune system to tolerate harmless substances and respond proportionally to real threats. Without that training, the immune system is more likely to overreact. Children raised on dairy farms, for example, who are exposed to higher levels of bacterial compounds in the air, have significantly lower rates of allergies. Their lung cells show a dampened inflammatory response, essentially desensitized by years of routine microbial contact.
This doesn’t mean dirt prevents autoimmune disease. But it does suggest that the modern trend toward highly sanitized environments removes some of the immune-calibrating signals that humans evolved alongside.
Smoking, Toxins, and Other Environmental Risks
Cigarette smoke is one of the best-studied environmental triggers. Smoking generates large amounts of free radicals, which can damage DNA and alter proteins in ways that make them look foreign to the immune system. One specific effect is called citrullination: tobacco smoke chemically modifies certain proteins, and the body then produces antibodies against these altered proteins. In people with the right HLA gene variants, this process can trigger rheumatoid arthritis. The combination of smoking and genetic susceptibility raises RA risk dramatically compared to either factor alone.
Occupational exposures also matter. Silica dust, common in mining, construction, and sandblasting, promotes lung inflammation and tissue damage that can trigger autoimmunity. Workers with significant silica exposure face higher rates of rheumatoid arthritis, lupus, and systemic sclerosis. Air pollution more broadly, including fine particulate matter, induces systemic inflammation and oxidative stress that can push a susceptible immune system toward attacking the body’s own tissues.
Why Autoimmune Diseases Become Chronic
Once an autoimmune reaction starts, it tends to sustain and even expand itself through a process called epitope spreading. Initially, your immune system may target just one protein on one type of tissue. But as that attack damages cells, it exposes new proteins that were previously hidden inside. The immune system recognizes these newly exposed proteins as threats and adds them to its target list.
This spreading can happen within a single protein (the immune system reacting to different parts of the same molecule) or jump to entirely different proteins. It’s a key reason autoimmune diseases are chronic and often worsen over time. The original trigger may be long gone, but the immune response has diversified so broadly that it sustains itself. It also helps explain why autoimmune symptoms can change or new symptoms can appear as the disease progresses.
Putting the Pieces Together
No single factor causes autoimmune disease. The pattern that emerges from decades of research is a multi-step process. You need genetic susceptibility, typically involving HLA genes. You need a trigger: an infection like EBV, a chemical exposure, or a disruption of your gut barrier. And you often need an amplifier, something that sustains or escalates the immune response, whether that’s ongoing environmental exposure, hormonal factors, or the self-perpetuating cycle of epitope spreading.
This is why autoimmune diseases can seem to strike randomly. Two siblings with the same genes may have different outcomes based on which infections they encountered, what they were exposed to at work, whether they smoked, or even the composition of their gut bacteria. The disease that eventually develops depends on which tissues the immune system learns to attack, which is shaped by the specific combination of genes, triggers, and timing unique to each person.

