Diabetes doesn’t have a single root cause. It has several, depending on the type. Type 1 diabetes is caused by the immune system destroying the cells that make insulin. Type 2, which accounts for roughly 90% of all cases, is driven by a buildup of fat in the liver and pancreas that progressively impairs insulin’s ability to work and the body’s ability to produce it. Gestational diabetes results from placental hormones that block insulin during pregnancy. Each type follows a distinct biological path, but they all end in the same place: blood sugar the body can no longer control.
Type 1: The Immune System Attacks Insulin-Producing Cells
Type 1 diabetes is an autoimmune disease. The immune system, which normally fights infections, turns against the insulin-producing beta cells in the pancreas and destroys them. Specifically, a type of immune cell called a CD8+ T cell recognizes fragments of insulin displayed on the surface of beta cells and treats them as foreign invaders. These T cells release toxic enzymes that kill the beta cells directly. Once enough beta cells are gone, the pancreas can no longer produce meaningful amounts of insulin, and blood sugar rises.
Genetics plays a significant role. Certain gene variants related to the immune system’s identification system (called HLA genes) make a person far more likely to develop type 1. But genes alone aren’t enough. Environmental triggers appear to set the autoimmune process in motion. One of the strongest candidates is enterovirus infection. In one study, 74% of people with type 1 diabetes had enterovirus present in their gut lining, compared to 29% of people without diabetes. The virus was found mainly in the cells lining the intestine, and its presence was linked to ongoing immune inflammation. In several patients, the infection persisted for at least a year, suggesting a prolonged viral presence rather than a one-time event. This chronic viral exposure may keep the immune system in a heightened state, eventually leading it to attack the body’s own beta cells.
Type 2: Fat Buildup in the Liver and Pancreas
Type 2 diabetes develops through a different mechanism entirely. The most compelling explanation is known as the twin cycle hypothesis: when a person takes in more calories than they burn over many years, fat accumulates in two critical organs, the liver and the pancreas, creating two self-reinforcing cycles of damage.
In the liver, excess fat interferes with insulin’s normal signaling. Insulin’s job in the liver is to suppress glucose production, but when fat clogs the liver’s cells, the signal gets disrupted. The liver keeps pumping glucose into the bloodstream even when it shouldn’t. The pancreas responds by producing more and more insulin to compensate, which in turn drives even more fat storage in the liver. That’s the first vicious cycle.
The second cycle hits the pancreas directly. As subcutaneous fat stores (the fat just under your skin) fill up, excess fat gets redirected to organs that aren’t designed to handle it, including the pancreas. Beta cells readily absorb fatty acids, and this absorption directly inhibits their ability to release insulin in response to rising blood sugar. Over time, the combination of overwork and fat exposure pushes beta cells toward exhaustion and death. Long-term exposure to saturated fatty acids like palmitic acid, the most common saturated fat in the bloodstream, triggers stress responses inside beta cells that eventually cause them to self-destruct. Unsaturated fatty acids don’t appear to cause the same damage.
This framework explains something important: not everyone who gains weight develops type 2 diabetes. The threshold depends on your individual capacity for safe fat storage under the skin. People who exceed their personal limit and who also have beta cells that are genetically susceptible to fat-related damage are the ones who develop the disease. This is why some people develop type 2 at a relatively modest weight, while others remain metabolically healthy at a much higher one.
Genetics Set the Stage
A large study of over 34,000 twin pairs found that when one identical twin has type 2 diabetes, the other twin also has it 20 to 53% of the time. For non-identical twins, that figure drops to 0 to 29%. The overall heritability of type 2 diabetes was estimated at 72%, meaning nearly three-quarters of the variation in risk can be attributed to genetic factors. That doesn’t mean diabetes is inevitable if it runs in your family, but it does mean some people’s bodies handle excess calories and fat far less gracefully than others.
For type 1, the genetic component is also strong but operates differently. The genes that matter most are those controlling how the immune system recognizes the body’s own tissues. Having a specific variant called HLA-A2, carried by the majority of type 1 patients, makes the immune system more likely to flag insulin fragments as threats. Still, most people with these gene variants never develop type 1, which is why researchers believe an environmental trigger like a viral infection is also necessary.
Inflammation From Visceral Fat
Excess fat, particularly the visceral fat packed around your organs, doesn’t just sit there passively. It actively generates inflammation. In obesity, immune cells within fat tissue shift into an aggressive mode and begin producing inflammatory signaling molecules. The earliest evidence of this was the discovery that fat tissue in obese individuals produces elevated levels of a molecule called TNF-alpha, a potent driver of inflammation. Other inflammatory signals follow, creating a chronic, low-grade inflammatory state throughout the body.
This inflammation directly worsens insulin resistance. The inflammatory molecules interfere with the chain of events that normally occurs when insulin binds to a cell. In healthy muscle cells, insulin triggers a cascade that ultimately moves glucose transporters to the cell surface, allowing sugar to flow in. Inflammatory signals disrupt this cascade at an early step, preventing those transporters from reaching the surface. The result: cells stop responding to insulin properly, blood sugar stays elevated, and the pancreas has to work even harder.
The Gut Microbiome’s Role
The trillions of bacteria living in your gut also influence diabetes risk. Certain beneficial bacteria, including species of Bifidobacterium and Lactobacillus, produce compounds that stimulate the release of GLP-1, a hormone that helps regulate blood sugar by boosting insulin secretion after meals. Another beneficial species, Akkermansia muciniphila, has been linked to increased fat burning in fat tissue.
Gut bacteria also produce short-chain fatty acids, particularly butyrate, when they ferment dietary fiber. Butyrate promotes fat burning and energy expenditure in muscle by enhancing the function of mitochondria, the energy-producing structures inside cells. In the liver and fat tissue, butyrate and related compounds shift metabolism toward burning fat rather than storing it. When the balance of gut bacteria tips away from these beneficial species, as it often does with a low-fiber, high-fat diet, these protective metabolic effects diminish.
Gestational Diabetes: A Temporary Hormonal Shift
Gestational diabetes typically appears between weeks 20 and 24 of pregnancy. The placenta produces several hormones, including estrogen, cortisol, and human placental lactogen, that progressively block insulin’s action. This “contra-insulin effect” is a normal part of pregnancy, designed to ensure the fetus gets enough glucose. In most women, the pancreas compensates by producing more insulin. But in women whose beta cells can’t keep up, blood sugar rises into the diabetic range. The condition usually resolves after delivery when placental hormones disappear, but it signals an underlying vulnerability. Women who develop gestational diabetes have a substantially higher risk of developing type 2 diabetes later in life.
Why Removing Liver Fat Can Reverse Type 2
If excess liver and pancreas fat is the root driver of type 2 diabetes, then removing that fat should reverse it. That prediction has held up. The twin cycle hypothesis specifically predicted that correcting excess liver fat could return the type 2 diabetes state to normal, and clinical trials of significant weight loss have confirmed this. When people lose enough weight to clear fat from their liver and pancreas, insulin resistance improves, beta cell function recovers (provided too many beta cells haven’t already been permanently lost), and blood sugar returns to normal ranges without medication.
This doesn’t work for everyone. People who have lived with type 2 diabetes for many years may have lost too many beta cells to recover full function. And because the underlying genetic susceptibility remains, regaining the weight typically brings the diabetes back. But the fact that reversal is possible at all tells us something fundamental: type 2 diabetes, in its early and middle stages, is not a one-way street. It’s the consequence of a specific metabolic overload that, for some people, can be undone.

