Digestive Health

Sphincter of Oddi Dysfunction: Symptoms, Causes & UK Management

7 min readLast reviewed 14 June 2026

Educational information — not medical advice.

This article was prepared by the OnlineDoctor24 editorial team and reviewed for factual accuracy against UK clinical guidance (NHS and NICE). It is not written by a doctor and does not replace personal medical advice. For symptoms specific to you, book an online doctor consultation.

Key points

  • Sphincter of Oddi Dysfunction (SOD) involves a muscular valve that fails to open or close correctly.
  • It typically presents as severe upper abdominal pain, often appearing after gallbladder removal (cholecystectomy).
  • Symptoms can mimic gallstones, including nausea and pain radiating to the back or shoulder.
  • Diagnosis in the UK usually involves blood tests, ultrasound, and specialist imaging like MRCP.
  • Management focuses on dietary changes, medications to relax the valve, or specialist endoscopic procedures.
  • Consulting a UK online doctor can help differentiate these symptoms from other common gut concerns.

What is Sphincter of Oddi Dysfunction?

The Sphincter of Oddi is a small, circular muscle located at the junction where the bile duct and the pancreatic duct meet the small intestine (duodenum). Its primary role is to act as a one-way valve, controlling the flow of bile and pancreatic juices into the digestive tract while preventing backflow. When this valve fails to relax at the correct time or becomes narrow (stenosis), it causes Sphincter of Oddi Dysfunction (SOD).

This malfunction leads to a backup of digestive fluids, which increases pressure within the ducts. In the UK, this condition is most commonly diagnosed in patients who have already had their gallbladder removed (post-cholecystectomy syndrome). According to NHS clinical pathways, while gallbladder surgery usually resolves pain, a small percentage of patients continue to experience 'biliary-type' pain, which may be attributed to SOD.

Recognising the Symptoms of SOD

The hallmark symptom of SOD is episodic, severe pain in the upper right quadrant or the middle of the abdomen, just below the ribs. This pain often feels very similar to a gallbladder attack. Key characteristics include:

  • Pain duration: The pain usually lasts from 30 minutes to several hours.
  • Timing: It often occurs within an hour after eating, particularly after meals high in fat, though it can also be unrelated to food.
  • Radiation: The discomfort may radiate to the back or the right shoulder blade.
  • Digestive upset: Nausea and vomiting are common during an episode.
  • Consistency: The pain is typically steady and boring, rather than crampy or intermittent like typical IBS.

In the UK, NICE clinical knowledge summaries suggest that clinicians should consider SOD when other common causes, such as peptic ulcers or recurrent common bile duct stones, have been ruled out.

Common Causes and Risk Factors

Medical professionals categorise SOD into two main types: structural (where the valve is physically scarred or narrowed) and functional (where the valve muscle spasms but is physically normal). Factors that increase the risk of developing SOD include:

  • Previous Gallbladder Surgery: Cholecystectomy is the most significant risk factor.
  • Pancreatitis: Recurrent inflammation of the pancreas can lead to scarring of the sphincter.
  • Gender: Statistically, SOD is more frequently diagnosed in women aged 30 to 50.
  • Alcohol Consumption: High intake can aggravate the sphincter and the pancreas.
  • Certain Medications: Opioid painkillers (such as codeine or morphine) are known to cause the Sphincter of Oddi to spasm, often worsening the pain.

How is SOD Diagnosed in the UK?

Diagnosing SOD can be complex because the symptoms overlap with many other digestive health concerns. GPs in the UK typically follow a stepped approach to investigation:

Blood Tests

Your GP will likely order Liver Function Tests (LFTs) and amylase/lipase tests. During an SOD flare-up, levels of liver enzymes or pancreatic enzymes may temporarily rise, providing a clue to the diagnosis.

Imaging

Initial scans usually include a transabdominal ultrasound to check for retained stones. If symptoms persist, a more detailed scan called an MRCP (Magnetic Resonance Cholangio-pancreatography) is often arranged. This is a non-invasive MRI that provides clear images of the bile and pancreatic ducts.

Manometry and ERCP

In specialist cases, a procedure called ERCP may be used to measure the pressure within the sphincter (manometry). However, due to the risk of triggering pancreatitis, this is generally reserved for patients with clear evidence of structural blockage.

Management and Treatment Options

Treatment for SOD in the United Kingdom depends on the severity and type of dysfunction. Management strategies include:

  • Dietary Adjustments: Reducing dietary fat can lower the demand for bile flow, potentially reducing the frequency of spasms.
  • Medication: Muscle relaxants such as calcium channel blockers or nitrates are sometimes prescribed to help the sphincter relax. Antispasmodics used for IBS are generally less effective for SOD but may be trialled.
  • Avoiding Opioids: Since codeine can cause the sphincter to contract, finding alternative pain management is crucial.
  • Specialist Procedures: A sphincterotomy may be performed during an ERCP, where the surgeon makes a small cut in the muscle to permanently widen the opening. This is usually only recommended for 'Type 1' SOD where there is clear structural damage.

When to Speak to a GP Online

If you are experiencing persistent upper abdominal pain, especially if you have had your gallbladder removed in the past, speaking to an online doctor in the UK is a sensible first step. Because SOD is relatively rare compared to gastritis or IBS, it can be helpful to discuss your history in detail with a clinician who can review your symptoms against NICE guidelines.

An online consultation allows you to:

  • Discuss the frequency and triggers of your pain.
  • Receive a referral for private blood tests or imaging if required.
  • Obtain advice on whether your current medications (such as codeine) could be making your symptoms worse.
  • Get a formal referral to a gastroenterologist for specialist intervention.

Red flags — when to seek urgent help

Call 999 or go to A&E if you experience any of the following:

  • Severe, worsening abdominal pain that makes it impossible to sit still or find a comfortable position.
  • Jaundice (yellowing of the skin or the whites of the eyes).
  • A high temperature (fever) accompanied by shaking or chills (rigors).
  • Persistent vomiting that prevents the intake of fluids.
  • Passing very dark urine or very pale, clay-coloured stools.

Frequently asked questions

Common questions UK patients ask about sphincter of oddi dysfunction (sod).

How an online doctor can help

This article is for general information only and does not replace personal medical advice from a qualified doctor. Content is reviewed against UK NHS and NICE guidance by the OnlineDoctor24 editorial team and is not authored by a medical doctor. If your symptoms worsen or you are unsure, please book a consultation with a GMC-registered GP.

See a UK GP about this today

Same-day video or phone consultations with GMC-registered GPs. Treatments, sick notes and referrals when clinically appropriate.