Pain in the kidney area, felt in the flank on one or both sides of your spine between the lower ribs and hips, has several possible causes ranging from a simple muscle strain to a kidney stone or infection. The key to figuring out what’s going on is paying attention to how the pain behaves, what else you’re feeling, and whether the pain changes with movement.
Kidney Pain vs. Back Pain
The first thing to sort out is whether the pain is actually coming from your kidneys or from the muscles, bones, and discs in your lower back. They occupy the same neighborhood, so it’s easy to confuse them.
Kidney pain sits deep in the flank, below the ribs and above the hips. It typically stays constant and does not get better or worse when you shift position. It can spread to the lower abdomen or inner thighs. Musculoskeletal back pain, on the other hand, tends to feel like a dull ache or stiffness that worsens with certain movements and improves when you find a comfortable position. If lying down, stretching, or changing posture changes the pain, your muscles or spine are the more likely source. If nothing you do makes it better or worse, a kidney issue becomes more plausible.
Kidney Stones
Kidney stones are one of the most common reasons people feel sudden, intense pain in the flank. A stone sitting quietly inside the kidney often causes no symptoms at all. The trouble starts when it shifts into one of the narrow tubes (ureters) that carry urine from the kidney to the bladder. A lodged stone can block urine flow, causing the kidney to swell and the ureter to spasm.
The pain is typically sharp and severe, hitting the side and back below the ribs. It often radiates down to the lower abdomen and groin, and it comes in waves that fluctuate in intensity. As the stone moves through the urinary tract, the location of the pain may shift. You might also notice pink, red, or brown urine, a persistent need to urinate, or nausea and vomiting. Small stones sometimes pass on their own over hours to days, while larger ones may need medical intervention.
Kidney Infection
A kidney infection (pyelonephritis) usually starts as a lower urinary tract infection that travels upward. Compared to a simple bladder infection, a kidney infection tends to come on more suddenly and make you feel significantly sicker. The hallmark combination is flank pain plus fever and chills. You may also have painful urination, an urgent or frequent need to pee, and urine that looks cloudy, bloody, or smells unusual.
If you have UTI symptoms along with a fever and one-sided back or side pain, that pattern points strongly toward the kidney rather than just the bladder. Kidney infections require prompt treatment with antibiotics because untreated cases can lead to serious complications, including bacteria entering the bloodstream.
Dehydration and Reduced Blood Flow
Severe dehydration can cause pain in the side below the rib cage by reducing blood flow to the kidneys. When the kidneys don’t receive enough fluid, they can’t filter waste effectively, and in extreme cases this triggers acute kidney injury. You don’t need to be dramatically dehydrated for your kidneys to protest. Even moderate, prolonged fluid loss from illness, intense exercise, or simply not drinking enough in hot weather can cause a dull ache in the flank area. If you’ve been sick with vomiting or diarrhea, or you’ve been sweating heavily without replacing fluids, dehydration is a likely contributor.
Urinary Tract Obstruction
When urine can’t drain properly from the kidney, the backup of fluid causes the kidney to swell, a condition called hydronephrosis. Kidney stones are the most common cause, but obstructions can also come from an enlarged prostate, a tumor pressing on the ureter, or scar tissue from surgery. Symptoms include flank pain, nausea, vomiting, fever, and changes in urination like increased urgency or frequency. In some cases hydronephrosis develops slowly and causes no symptoms until the swelling is significant, which is why persistent or unexplained flank pain warrants investigation even if it feels mild.
Polycystic Kidney Disease
Polycystic kidney disease (PKD) is a genetic condition in which fluid-filled cysts grow on the kidneys over time. As the cysts multiply, the kidneys can become so enlarged that they push on surrounding organs, straining the muscles of the back and crowding the abdomen. This creates a chronic, aching pain. The liver can also develop cysts and contribute to the crowding.
More acute pain happens when a cyst ruptures and bleeds. This type of pain is often sharp enough to wake you from sleep and is usually felt on one side. Cysts can also become infected, producing pain that doesn’t go away on its own, typically accompanied by fever. PKD is less common than stones or infections, but if you have a family history of kidney disease or notice your abdomen growing larger over time, it’s worth bringing up with your doctor.
Non-Kidney Causes That Mimic Kidney Pain
Not everything that hurts in the flank comes from the kidneys. Shingles, caused by reactivation of the chickenpox virus, can produce burning or tingling pain in a band-like stripe around one side of the body several days before any rash appears. During that pre-rash phase, many people mistake it for kidney pain. Muscle strains from exercise, poor posture, or lifting can also land squarely in the flank. Rib injuries, spinal disc problems, and even digestive issues like gas or constipation occasionally produce pain that seems to come from the kidney area.
How the Cause Gets Identified
If you see a healthcare provider for flank pain, expect a combination of urine tests and imaging. A urine sample can reveal blood, bacteria, or other signs pointing toward stones, infection, or other kidney problems. Imaging options range from ultrasound, which can detect blockages, stones, and kidney swelling, to CT scans, which create detailed three-dimensional images and are especially good at spotting stones and obstructions. Low-dose CT scans are now standard for suspected stone disease, keeping radiation exposure minimal. In specific situations, MRI may be used, particularly if there’s blood in the urine that needs further evaluation.
Warning Signs That Need Prompt Attention
Most flank pain turns out to be something manageable, but certain combinations of symptoms signal that you should seek care quickly rather than waiting it out:
- Flank pain with high fever, chills, nausea, or vomiting
- Blood in your urine (red, pink, or brown color)
- Flank pain that persists without explanation
- Inability to eat or drink fluids
Pain that is severe enough to prevent you from sitting still, or that comes with a fever above 101°F, generally warrants same-day evaluation. Kidney infections and large obstructing stones can escalate quickly, and early treatment makes a significant difference in outcomes.

