Kidney pain usually means something is stretching or inflaming the thin outer layer (called the capsule) that surrounds each kidney. Your kidneys sit against the back muscles just below the rib cage, and when they swell from an infection, a stone blocks urine flow, or a cyst grows large enough to press outward, nerve fibers running from the capsule to the spinal cord fire pain signals. The feeling is typically a deep, steady ache in the flank, the area on either side of the spine between your lowest ribs and your hips.
How Kidney Pain Feels Different From Back Pain
One of the most useful distinctions: kidney pain does not change when you move. Shifting positions, bending, or stretching won’t make it better or worse. Musculoskeletal back pain, by contrast, tends to sharpen with certain movements and ease when you find a comfortable position. Back pain from a pinched nerve often shoots down the leg, while kidney pain stays in the flank or spreads toward the lower abdomen or inner thigh.
Kidney pain can also come with symptoms that back pain almost never does: fever, nausea, painful urination, or blood in the urine. If any of those accompany your flank pain, the source is very likely urinary rather than muscular.
Kidney Stones
Stones are the most common reason for sudden, severe kidney pain. When a stone gets stuck in one of the ureters (the narrow tubes connecting each kidney to the bladder), it blocks urine flow. The kidney swells, the ureter spasms, and the result is pain that many people describe as the worst they have ever felt. It often comes in waves and can radiate from the flank down to the groin.
Most stones are made of calcium oxalate, a compound that crystallizes when urine is too concentrated. Other types include uric acid stones, which are more common in people who eat a lot of animal protein or who have diabetes, and struvite stones, which form in response to urinary tract infections and can grow large with surprisingly few symptoms. A rare type, cystine stones, occurs in people with a genetic condition that causes the kidneys to leak excessive amounts of a protein building block into the urine.
Stone disease affects roughly 1 in 100 working-age adults in a given year and becomes more common with age. Among adults 65 and older, prevalence climbs to about 4%, and men develop stones at roughly twice the rate of women. Rates are highest in the southern United States, likely because hotter climates increase fluid loss and concentrate urine.
Kidney Infections
A kidney infection (pyelonephritis) happens when bacteria travel up from the bladder into one or both kidneys. The resulting inflammation causes the kidney to swell inside its capsule, triggering a deep, constant flank pain along with tenderness when the area is pressed. Fever and chills are typical, though not universal. Nausea, vomiting, and a rapid heart rate can follow.
About 1 in 5 people with a kidney infection never develop the classic lower urinary tract symptoms like burning during urination or the urgent need to go. That means flank pain with fever can be the only obvious clue. Kidney infections require prompt treatment with antibiotics because untreated cases can damage the kidney or allow bacteria into the bloodstream.
Urine Backup and Kidney Swelling
Any condition that prevents urine from draining normally can cause a kidney to swell, a condition called hydronephrosis. Stones are one cause, but tumors, scar tissue, an enlarged prostate, or even pregnancy can press on or narrow the ureters enough to trap urine. The backed-up fluid stretches the kidney’s internal drainage system and then the capsule itself, producing pain in the side and back that may travel to the lower abdomen or groin.
Mild hydronephrosis during pregnancy is common and usually resolves after delivery. More persistent blockages need investigation because prolonged swelling can permanently reduce kidney function.
Polycystic Kidney Disease
Polycystic kidney disease (PKD) is an inherited condition in which fluid-filled cysts slowly grow inside the kidneys over years. As cysts enlarge, they increase total kidney volume and stretch the capsule. Some people with PKD experience persistent pain severe enough to limit daily activities. When that happens, imaging is used to check whether a particularly large cyst in the area of pain is responsible. Enlarged kidneys from a high cyst burden are also the single biggest risk factor for eventually progressing to kidney failure.
Dehydration and Kidney Discomfort
Chronic under-hydration doesn’t directly make the kidneys ache the way a stone or infection does, but it sets the stage for problems that will. When you don’t drink enough water, waste products and acids build up, and stone-forming crystals are more likely to stick together. Dehydration also makes urinary tract infections more likely and harder to treat. Over time, repeated mild dehydration can contribute to permanent kidney damage. Drinking enough fluid to keep your urine pale yellow is one of the simplest ways to lower your risk of both stones and infections.
Pain Relievers That Can Hurt Your Kidneys
If your kidneys are already under stress, reaching for common over-the-counter painkillers like ibuprofen or naproxen can make things worse. These drugs work by reducing inflammation, but in the process they also reduce blood flow to the kidneys. For most healthy people that is not a problem, but if you are dehydrated, have heart failure, liver disease, or are already taking blood pressure medication or diuretics, the combination raises the risk of acute kidney injury, especially in the first 30 days of combined use. Acetaminophen (Tylenol) is generally a safer choice for pain relief when kidney function is a concern.
Symptoms That Need Immediate Attention
Some kidney pain resolves on its own, particularly mild discomfort from a small stone that passes without incident. But certain symptoms alongside flank pain signal a situation that needs urgent care:
- Fever or chills, which suggest infection
- Blood in your urine
- Inability to urinate at all, which may mean a complete blockage
- Severe nausea or vomiting, especially if you cannot keep fluids down
- Pain you cannot manage with over-the-counter medication
- A repeated, urgent need to urinate that is unusual for you
- Persistent fatigue or a general feeling of illness that will not go away
Any of these paired with persistent back or flank pain warrants a visit to the emergency room or your healthcare provider rather than a wait-and-see approach.

