Kidney pain typically shows up as a deep ache in your upper back, just below the ribs on one or both sides. It can range from a dull, constant throb to sharp, wave-like cramping depending on the cause. The most common reasons include kidney stones, infections, swelling from a blockage, and cyst-related conditions, though sometimes what feels like kidney pain is actually coming from nearby muscles or organs.
Where Kidney Pain Actually Is
Your kidneys sit higher than most people think. They’re tucked against the back of your abdominal wall, just below your lowest ribs. The spot where kidney pain concentrates is called the costovertebral angle, the V-shaped area where your lowest rib meets your spine on each side. Pain here, especially when the area is tender to the touch or a light tap, points strongly toward a kidney or urinary tract problem rather than a muscle issue.
Kidney pain can radiate. Depending on the cause, it may travel around your side, down into your lower abdomen, or into your groin. This happens because the nerves serving your kidneys and ureters (the tubes connecting kidneys to the bladder) share pathways with nerves in those other areas. So the pain you feel in your groin might actually originate from a stone stuck partway down your ureter.
Kidney Stones
Kidney stones are one of the most common and most painful causes of kidney pain. A stone forms when minerals in your urine crystallize inside the kidney. Small stones can sit quietly for months or years without symptoms. The trouble starts when a stone moves into the ureter. Since ureters are only about 3 to 4 millimeters wide, any stone at or above 3 millimeters can get stuck and block urine flow.
When that happens, pressure builds behind the stone. Your ureter tries to squeeze the stone along with stronger contractions, and the kidney itself begins to swell as urine backs up. The outer membrane of the kidney, called the capsule, stretches in response. Stretch receptors in this capsule and in the ureter walls fire pain signals that travel up through your spinal cord. The result is two types of pain at once: a steady, deep ache from kidney swelling and sharp, wave-like cramps from the ureter spasming around the stone. Many people describe it as the worst pain they’ve ever felt.
The pain often comes and goes in intense waves lasting 20 to 60 minutes, then eases before returning. You might also notice blood in your urine, nausea, or a persistent urge to urinate. If you suspect a stone, imaging with a CT scan of the abdomen and pelvis (without contrast dye) is the gold standard for diagnosis, with sensitivity as high as 97%.
Kidney Infections
A kidney infection, or pyelonephritis, usually starts as a bladder infection that travels upward. Bacteria climb from the bladder through the ureter into the kidney, triggering inflammation and swelling. The key difference between a bladder infection and a kidney infection is how sick you feel overall. Bladder infections cause burning with urination and urgency. Kidney infections add fever, chills, nausea or vomiting, and that deep flank or back pain.
Your urine may look cloudy, dark, or bloody, and it often has a strong or foul smell. A urinalysis will typically show white blood cells (your body’s infection fighters) and possibly blood. Kidney infections need prompt treatment because, in uncommon but serious cases, bacteria can spread into the bloodstream. Signs of this progression include confusion, rapid breathing and heart rate, shortness of breath, or severe pain that suddenly worsens. These are reasons to get to an emergency room.
Swelling From a Blockage
When urine can’t drain properly from a kidney, it backs up and causes the kidney to swell, a condition called hydronephrosis. Kidney stones are the most common cause, but they’re not the only one. Pregnancy can compress the ureters. Tumors can press against the urinary tract. Some people are born with structural differences that make drainage sluggish, such as a narrowing where the ureter meets the kidney.
The swelling itself is what hurts. As urine accumulates, the renal pelvis (the funnel-shaped collection area inside the kidney) balloons outward. This stretches the kidney’s capsule and activates pain receptors. The pain is usually a dull, persistent ache in the side and back that may travel to the lower abdomen or groin. If the blockage is partial, pain may come and go. A complete blockage tends to cause constant, worsening pain along with nausea, vomiting, and sometimes fever if infection develops behind the obstruction.
Polycystic Kidney Disease
Polycystic kidney disease is an inherited condition in which fluid-filled cysts grow throughout both kidneys over time. As cysts enlarge, they stretch the kidney capsule, the same pain mechanism behind stones and blockages. But the timeline is very different. Rather than sudden onset, polycystic kidney disease typically causes gradually increasing discomfort over years as the kidneys grow larger.
Acute flare-ups happen too. A cyst can rupture suddenly, causing a sharp spike in pain as the kidney swells rapidly. Cysts can also bleed internally or become infected, each producing its own distinct pain pattern. Because the enlarged kidneys change your posture and put pressure on surrounding structures, some people with this condition also develop chronic lower back pain from an exaggerated curve in the lumbar spine. If you have a family history of polycystic kidney disease and persistent flank pain, that connection is worth exploring.
When It’s Not Your Kidneys at All
Plenty of conditions mimic kidney pain. The flank area is a busy neighborhood, anatomically speaking, and problems in nearby structures can feel identical to a kidney problem.
- Muscle strain: A pulled muscle in your back can radiate pain into your flanks. This is especially common after heavy lifting, awkward sleeping positions, or intense exercise. Muscle pain usually changes with movement or position, while kidney pain stays constant regardless of how you sit or stand.
- Spinal problems: Herniated discs, pinched nerves, arthritis, and even spinal fractures can all produce pain in the same area as kidney pain.
- Shingles: Before the rash appears, shingles can cause burning, stabbing flank pain on one side that’s easily mistaken for a kidney issue. The rash typically shows up a few days later in a band-like pattern.
- Gallbladder or liver disease: Problems on the right side, especially gallstones, can produce pain that wraps around to the right flank.
- Abdominal aortic aneurysm: A bulge in the large blood vessel running through your abdomen can cause deep back and flank pain. This is rare but serious.
The simplest way to start narrowing things down at home: kidney problems usually cause pain that doesn’t change when you shift positions, and they often come with urinary symptoms like blood in the urine, changes in urine color or smell, or painful urination. Musculoskeletal pain tends to worsen with certain movements and improves with rest or stretching.
Signs That Need Urgent Attention
Some combinations of symptoms signal that kidney pain needs same-day or emergency evaluation. Fever above 101°F (38.3°C) with flank pain suggests infection that could spread. Visible blood in your urine alongside severe pain points to a stone or other obstruction. If you stop producing urine entirely, that may mean both ureters are blocked, which is a medical emergency.
The most dangerous escalation is sepsis, where infection enters the bloodstream. Warning signs include fever with chills, confusion, rapid breathing or heart rate, and severe pain that feels out of proportion. Sepsis from a kidney infection is uncommon, but it can become life-threatening quickly. If you notice these symptoms together, don’t wait for a scheduled appointment.

