Gallstones and kidney stones are unrelated conditions that form in different organs from different materials. Gallstones develop in the gallbladder, usually from cholesterol or bilirubin, and can block bile flow. Kidney stones develop in the kidneys, usually from calcium salts, and can block urine flow. The two differ in where they form, what they are made of, which symptoms they cause, and how they are treated.

The similarity is mostly anatomical bad luck: both are hard deposits that form in a duct system and cause pain when they move. Everything else diverges.

Where each stone forms and why

A gallstone forms in the gallbladder, a pear-shaped sac under the liver that stores bile. Bile is a detergent-like fluid made of cholesterol, bile salts, phospholipids, and bilirubin. Cholesterol does not dissolve in water, so bile keeps it suspended in tiny packages called micelles. When bile becomes supersaturated with cholesterol, or when the gallbladder empties poorly, cholesterol can crystallize. Over months to years, crystals aggregate into stones. Roughly 80 percent of gallstones in the United States are cholesterol stones; the rest are pigment stones, rich in bilirubin and more common in people with hemolytic anemia or certain liver diseases (National Institute of Diabetes and Digestive and Kidney Diseases).

A kidney stone forms in the kidney's collecting system, where urine becomes concentrated. The most common type, calcium oxalate, forms when urine is supersaturated with calcium and oxalate and lacks enough citrate, a natural inhibitor. Uric acid stones form when urine is persistently acidic. Struvite stones form in the presence of certain urinary infections. Cystine stones are rare and genetic. The unifying principle is supersaturation plus time: urine or bile holds more dissolved material than it can keep dissolved, and crystals nucleate.

The plain-language version: a gallstone is crystallized bile, and a kidney stone is crystallized urine.

How the blockage produces pain and damage

Both stones cause trouble by obstructing a duct, but the ducts and consequences differ.

When a gallstone lodges in the cystic duct or common bile duct, bile backs up. The gallbladder contracts against the obstruction, producing steady right-upper-abdominal pain, often after fatty meals. If the blockage persists, bile pigment re-enters the blood, causing jaundice. Stagnant bile can become infected, a condition called cholangitis, which is a medical emergency. Gallstones can also trigger inflammation of the pancreas if they obstruct the pancreatic duct at the shared ampulla.

When a kidney stone lodges in the ureter, urine backs up into the kidney, raising pressure in the renal pelvis. That pressure stretches the kidney capsule and triggers severe, cramping flank pain that often radiates toward the groin, known as renal colic. Visible blood in the urine is common because the stone scrapes the ureteral lining. If obstruction and infection coexist, the result is an infected, obstructed kidney, which can progress to sepsis. This is why fever with flank pain is a red flag.

Size, prevalence, and the numbers that matter

Gallstones are extremely common. In the United States, an estimated 10 to 15 percent of adults have gallstones, and most never develop symptoms (NIDDK). The risk rises with age, female sex, obesity, rapid weight loss, and pregnancy. Roughly 1 to 3 percent of people with silent gallstones develop symptoms each year.

Kidney stones are also common and increasingly so. Lifetime prevalence in the US is around 10 percent, with men affected more often than women, though the gap has narrowed. Recurrence is the defining feature: without preventive changes, roughly half of people who form one calcium stone form another within 5 to 10 years.

The size thresholds that guide management are concrete. Kidney stones of 4 mm or smaller pass spontaneously in the large majority of cases. Stones of 5 to 10 mm pass less reliably and often need intervention. Stones above 10 mm rarely pass on their own. Gallstones behave differently: size matters less than location, and even small stones can cause serious problems by migrating into the common bile duct.

Symptom comparison

Feature Gallstones Kidney stones
Typical pain location Right upper abdomen, may radiate to right shoulder Flank, radiating toward groin
Pain pattern Steady, triggered by fatty meals, lasts hours Severe cramping waves, comes and goes
Jaundice Possible if bile duct blocked Not caused by stones
Blood in urine Not typical Common
Fever with pain Suggests cholangitis or cholecystitis Suggests infected obstructed kidney
Typical stone material Cholesterol or bilirubin Calcium oxalate, uric acid, struvite, cystine
Most useful first test Abdominal ultrasound Noncontrast CT or ultrasound

This table is a guide, not a diagnosis. Atypical presentations are common, and imaging decides the question.

Timeline: what happens after symptoms start

Timeframe Gallstone course Kidney stone course
Minutes to hours Pain builds after a meal Colicky pain escalates rapidly
Hours to days Inflammation of gallbladder can develop Stone may pass or obstruction persists
1 to 3 days Jaundice or fever signals complication Fever signals infection and emergency
Days to weeks Symptoms may settle or recur Most small stones pass within this window
Weeks to months Recurrent attacks common without treatment Repeat imaging checks stone movement
Long term Silent stones often stay silent Recurrence risk is high without prevention

Edge cases and counterintuitive details

A counterintuitive point: having gallstones is often not a disease. Most people with gallstones never have symptoms, and guidelines do not recommend removing a gallbladder that is not causing problems in most cases. The stone is a finding, not automatically a diagnosis.

Kidney stones carry an opposite logic. Even a silent stone can matter, because a stone that is not currently obstructing may move later. Asymptomatic stones are usually monitored rather than ignored, especially if they are growing.

Another edge case is the person with both conditions. Obesity, rapid weight loss, and metabolic syndrome raise the risk of both, so coexistence is not rare. A patient with right-upper-abdominal pain and dark urine could have a bile duct stone, a kidney stone, or both.

Pigment gallstones deserve separate mention. They form when bilirubin exceeds what bile can keep dissolved, often in hemolytic conditions such as sickle cell disease. They are less tied to cholesterol and diet than the common cholesterol stone.

Common misconceptions

The biggest misconception is that the two stones are variations of the same problem. They are not. Different organ, different fluid, different chemistry, and different treatment.

A second myth is that stones can be "flushed" with home remedies. For kidney stones, hydration helps and some small stones pass, but there is no reliable evidence that juices, oils, or herbal mixtures dissolve stones. For gallstones, no dietary remedy dissolves cholesterol stones reliably; the only nonsurgical dissolution option is a prescription bile acid, and it works in a minority of patients and stones can recur.

A third myth is that pain severity predicts danger. A small kidney stone can cause agony while a larger one sits quietly. Conversely, a painless gallstone can still cause jaundice if it migrates.

Practical actions and warning signs

For anyone with known stones, the practical steps are about monitoring and knowing when to seek care.

Seek emergency care for fever with abdominal or flank pain, because infection plus obstruction is a surgical emergency. Seek urgent care for jaundice, dark urine with pale stools, or worsening pain that does not settle. For kidney stone prevention, target high fluid intake, enough to produce pale urine, and discuss dietary changes with a clinician. For gallstone prevention, avoid rapid weight loss and discuss risk factors such as obesity with a clinician. Do not attempt to treat either condition with unproven home remedies. Ask which imaging test is appropriate rather than relying on symptom patterns alone.

Thresholds to reconcile: a 4 mm kidney stone usually passes, a 10 mm stone usually does not. A gallstone under 5 mm can still cause pancreatitis if it migrates, so size alone does not determine risk. In both conditions, symptoms and complications, not stone size alone, drive the decision to intervene.

What the comparison cannot tell you

This article explains mechanisms, not individual cases. It cannot tell you whether your pain is from a stone, whether a stone will pass, or which treatment you need. Those answers require imaging and clinical assessment. It also cannot supply current treatment costs or drug regimens, because those vary by setting and change over time.

The most useful takeaway is the distinction itself. Gallstones are bile-derived blockages of the biliary system. Kidney stones are mineral-derived blockages of the urinary system. The pain can feel similar, but the organ, the chemistry, and the emergency signs are different, and that difference is what guides every test and treatment decision.