Diabetes develops when your body either stops making insulin or stops responding to it properly. What triggers that process depends on the type. Type 2 diabetes, which accounts for roughly 90% of all cases, is driven by a combination of excess body weight, inactivity, genetics, and dietary patterns. Type 1 diabetes is an autoimmune condition where the immune system destroys insulin-producing cells. Gestational diabetes arises from hormonal shifts during pregnancy.
Type 2 Diabetes: The Most Common Form
Type 2 diabetes starts with insulin resistance. Your pancreas still makes insulin, but your muscles, liver, and fat cells don’t respond to it the way they should. Blood sugar stays elevated, and over time your pancreas can’t keep up with the demand. The causes are a mix of things you can control and things you can’t.
Body Weight
Carrying excess weight is the single strongest modifiable risk factor. People with obesity have roughly 2.5 times the risk of developing type 2 diabetes compared to those at a normal BMI. For women with obesity, the risk is even higher, at about 3.4 times. Extra fat tissue, especially around the abdomen, releases compounds that promote inflammation and interfere with insulin signaling. This doesn’t mean every person with a higher BMI will develop diabetes, or that only people with obesity get it. But weight is the factor with the most evidence behind it.
Physical Inactivity and Sitting Time
How much you move matters independently of your weight. In the Multi-Ethnic Study of Atherosclerosis, people who walked at a brisk pace had about a 33% lower risk of developing type 2 diabetes. On the flip side, people who spent more than six hours a day in sedentary leisure activities (like watching TV) had roughly 2.7 times the risk compared to those who sat for two hours or less. That relationship was graded: the more hours spent sitting, the higher the risk. Exercise helps your muscles pull sugar out of the bloodstream more efficiently, which takes pressure off your pancreas.
Diet and Sugary Drinks
No single food “gives” you diabetes, but consistent dietary patterns shift your risk. Sugary beverages have some of the clearest evidence. Research from Harvard found that increasing your intake of sugary drinks (including sodas and 100% fruit juice) by more than four ounces per day over a four-year period was linked to a 16% higher risk of diabetes in the following four years, even after accounting for body weight and other lifestyle habits. That means the sugar itself contributes to the problem beyond just adding calories. Diets high in refined carbohydrates and processed foods push blood sugar up repeatedly, which over time wears down your body’s ability to manage glucose.
Genetics
Family history plays a real role. If one of your parents has type 2 diabetes, your lifetime risk is significantly higher than average. Researchers have identified specific genes that contribute, with the TCF7L2 gene being one of the most consistently linked to type 2 diabetes risk across populations. But genetics load the gun; lifestyle pulls the trigger. Most people with a genetic predisposition never develop diabetes if they stay active and maintain a healthy weight.
Poor Sleep
Chronic sleep deprivation disrupts metabolism in ways that directly promote insulin resistance. When you don’t sleep enough, your body releases more cortisol (a stress hormone) and growth hormone, both of which raise blood sugar. Sleep loss also ramps up inflammation, increases circulating fatty acids in the blood, and shifts your nervous system toward a stress state. All of these changes make your cells less responsive to insulin. This isn’t about one bad night. It’s the pattern of consistently sleeping too little that accumulates metabolic damage over months and years.
Pre-diabetes: The Warning Stage
Before type 2 diabetes fully develops, most people pass through a stage called pre-diabetes, where blood sugar is elevated but not yet in the diabetic range. About 5 to 10% of people with pre-diabetes progress to full type 2 diabetes each year. That rate sounds modest, but it adds up quickly: without intervention, a large share of people with pre-diabetes will eventually cross the threshold. The encouraging part is that pre-diabetes is reversible. Losing even a moderate amount of weight and adding regular physical activity can push blood sugar back to normal levels.
Type 1 Diabetes: An Autoimmune Attack
Type 1 diabetes has completely different origins from type 2. It’s an autoimmune disease where your immune system mistakenly attacks and destroys the beta cells in your pancreas, which are the only cells that produce insulin. This process begins months to years before symptoms appear. Antibodies against beta cell proteins show up in the blood long before blood sugar starts to rise, which is why researchers describe it as a slow-burning process rather than a sudden event.
What triggers the immune system to turn on these cells isn’t fully understood, but genetics set the stage. Certain gene variants related to the immune system make some people susceptible. Then an environmental trigger appears to start the attack. Enterovirus infections (a family of common viruses that includes Coxsackievirus) are one of the most studied suspects. Research has found that enterovirus infection, detected through viral RNA, is associated with the later appearance of autoimmune markers against the pancreas, sometimes with an interval of several months between infection and immune response. One specific virus in this family, Coxsackievirus B, has been shown to persist in pancreatic tissue and trigger cell death in beta cells.
Type 1 diabetes is not caused by diet, weight, or lifestyle. It most commonly appears in children and young adults, though it can develop at any age. Because the beta cells are destroyed, people with type 1 diabetes need insulin from the time of diagnosis.
Gestational Diabetes: Hormones During Pregnancy
Gestational diabetes develops during pregnancy in people who didn’t have diabetes before. The cause is hormonal. As the placenta grows, it produces estrogen, cortisol, and a hormone called human placental lactogen. These hormones block insulin’s normal action, a process that typically begins around 20 to 24 weeks of pregnancy. In most women, the pancreas compensates by making more insulin. In some, it can’t keep up, and blood sugar rises.
Risk factors include being overweight before pregnancy, having a family history of type 2 diabetes, being over 25, and having had gestational diabetes in a previous pregnancy. Gestational diabetes usually resolves after delivery, but it’s a strong signal: women who develop it have a significantly higher risk of developing type 2 diabetes later in life.
Risk Factors You Can’t Change
Some diabetes risk factors are built in. Age is one: your risk of type 2 diabetes rises after 35 and increases further after 45, partly because muscle mass tends to decline and body fat tends to increase. Ethnicity matters too. People of South Asian, Black, Hispanic, and Indigenous descent develop type 2 diabetes at higher rates than white populations, even at the same BMI. A family history of diabetes in a first-degree relative (parent or sibling) roughly doubles your risk. Women who had gestational diabetes or who have polycystic ovary syndrome also face elevated long-term risk.
None of these factors guarantee you’ll develop diabetes. They shift the odds. The modifiable factors, especially weight, activity level, and diet, still carry the most influence over whether those genetic and demographic risks actually become disease.