How pancreatitis starts
Pancreatitis happens when the enzymes your pancreas makes to digest food become active inside the pancreas itself instead of in your small intestine. These enzymes then attack the pancreas tissue, causing inflammation and pain. The two most common causes are gallstones and alcohol use, which together account for about 80 percent of cases. But pancreatitis can also develop from other conditions, medications, genetic factors, or sometimes no clear cause at all.
The condition comes in two forms: acute pancreatitis, which appears suddenly and usually improves within days or weeks, and chronic pancreatitis, which develops over time and causes lasting damage. How you get pancreatitis depends partly on which form develops and what triggers it in your body.
Key Takeaways
- Gallstones and heavy alcohol use are the two leading causes of pancreatitis, but the condition can also result from medications, genetic mutations, high triglycerides, or abdominal trauma.
- Acute pancreatitis comes on suddenly with severe pain and usually resolves within a few weeks, while chronic pancreatitis develops gradually and causes ongoing inflammation and damage.
- Some people develop pancreatitis without a clear cause, which doctors call idiopathic pancreatitis, and testing may not reveal why it happened.
- Certain medications including some diuretics, antibiotics, and immunosuppressants can trigger pancreatitis as a side effect.
- Your doctor will order blood tests, imaging scans, and sometimes genetic testing to find out what caused your pancreatitis.
Gallstones as a cause
Gallstones are the single most common cause of acute pancreatitis. These hard deposits form in your gallbladder and can block the pancreatic duct—the tube that carries digestive enzymes from your pancreas into your small intestine. When a stone blocks this duct, pressure builds up inside the pancreas and the enzymes back up, causing inflammation.
Not everyone with gallstones gets pancreatitis. The risk is higher if you have many stones, if they are large, or if one moves into a position where it can lodge in the duct. Women, people over 40, and people with obesity are more likely to develop gallstones in the first place. If you have had gallstone pancreatitis once, your risk of it happening again is significant unless you have your gallbladder removed.
Alcohol use and pancreatitis
Heavy, long-term alcohol use is the second leading cause of pancreatitis and the most common cause of chronic pancreatitis. Alcohol damages the cells of the pancreas directly and makes the digestive enzymes thicker and stickier, so they are more likely to block the ducts. Over time, repeated inflammation from alcohol scars the pancreas tissue and reduces its ability to make enzymes and regulate blood sugar.
The amount of alcohol and the length of time you have been drinking both matter. Chronic pancreatitis from alcohol typically develops after years of heavy drinking, though the exact threshold varies from person to person. Some people who drink heavily never develop pancreatitis, while others do—suggesting that genetics also play a role. Even one episode of acute pancreatitis from alcohol can happen after a single period of heavy drinking.
Medications and other medical causes
Certain medications can trigger pancreatitis as a side effect. The most common culprits include some diuretics (water pills) like thiazides, some antibiotics such as sulfonamides and tetracyclines, and immunosuppressant drugs used after organ transplants. Corticosteroids, some cancer drugs, and antiretroviral medications for HIV can also cause it. If you develop pancreatitis shortly after starting a new medication, tell your doctor—stopping the drug may be enough to prevent another episode.
Other medical conditions raise your risk as well. Very high triglycerides (a type of fat in your blood) can cause acute pancreatitis, especially if levels exceed 1,000 mg/dL. Cystic fibrosis, a genetic disorder affecting mucus production, often leads to chronic pancreatitis. Autoimmune pancreatitis, where your immune system attacks the pancreas, is less common but increasingly recognized. Abdominal trauma from an accident or surgery can also trigger acute pancreatitis.
Genetic factors and family history
Some people inherit a genetic mutation that makes them more likely to develop pancreatitis. The most well-studied mutations are in the PRSS1, CFTR, and SPINK1 genes. If you have one of these mutations, you may develop pancreatitis with less alcohol exposure than someone without the mutation, or you may develop it without any clear trigger. Genetic pancreatitis often appears earlier in life than alcohol-related or gallstone-related forms.
If you have a family history of pancreatitis—especially if multiple relatives developed it at a young age or without obvious causes like gallstones or heavy drinking—genetic testing may help explain your risk. A genetic counselor or gastroenterologist can discuss whether testing makes sense for you and what the results would mean for your health.
Idiopathic pancreatitis and unknown causes
In about 10 to 30 percent of acute pancreatitis cases, doctors cannot find a clear cause even after thorough testing. This is called idiopathic pancreatitis. Sometimes a cause emerges later—a small gallstone may be found on repeat imaging, or a genetic mutation may be discovered—but in many cases the reason remains unknown.
Idiopathic chronic pancreatitis is also common. If you have had multiple episodes of pancreatitis without a gallstone, significant alcohol use, or other obvious trigger, your doctor may recommend genetic testing or specialized imaging to look for structural problems in the pancreas. Even without knowing the cause, treatment focuses on managing pain and preventing complications.
How doctors find the cause
Your doctor will start by asking detailed questions about your medical history, medications, alcohol use, and family history. Blood tests measure pancreatic enzymes (amylase and lipase) and liver function, and they can show whether gallstones are present indirectly. An ultrasound of your abdomen is usually the first imaging test and is very good at finding gallstones.
If ultrasound does not show gallstones but pancreatitis is confirmed, your doctor may order a CT scan or MRI to look for other causes like cysts, tumors, or structural abnormalities. If alcohol use or medications seem unlikely and no gallstones are found, genetic testing or specialized tests like endoscopic ultrasound may be recommended. The goal is to identify the cause so that future episodes can be prevented—for example, by removing your gallbladder if gallstones caused the pancreatitis, or by stopping a medication if that was the trigger.
Frequently Asked Questions
Can you get pancreatitis from eating fatty foods?
Eating a single fatty meal will not cause pancreatitis in most people. However, very high triglycerides from a diet high in fat and sugar can trigger acute pancreatitis, especially if your triglyceride levels are already elevated. If you have had pancreatitis, your doctor may recommend limiting fat intake to prevent another episode.
Is pancreatitis contagious?
No, pancreatitis is not contagious. It is an inflammatory condition caused by your own pancreatic enzymes, gallstones, alcohol use, medications, or genetic factors—not by a virus or bacteria you can catch from someone else.
Can you get pancreatitis from stress?
Stress alone does not directly cause pancreatitis, but it may worsen inflammation if you already have the condition. Stress can also trigger behaviors that increase risk, such as increased alcohol use. If you have had pancreatitis, managing stress through exercise, sleep, and relaxation techniques may help prevent flare-ups.
What happens if pancreatitis is not treated?
Untreated acute pancreatitis can lead to serious complications including infection, organ failure, and internal bleeding. Chronic pancreatitis that goes unmanaged causes progressive scarring and loss of pancreatic function, leading to malnutrition and diabetes. Early medical care and identifying the underlying cause are important to prevent these outcomes.
Can pancreatitis go away on its own?
Acute pancreatitis often improves on its own within days to weeks with supportive care like rest, fluids, and pain management. However, you still need medical evaluation to confirm the diagnosis, rule out complications, and find out what caused it so you can prevent it from happening again. Chronic pancreatitis does not go away without treatment.