Kidney pain shows up just below your rib cage on one or both sides of your spine, closer to your back than your belly. Because the kidneys sit right against the back muscles, this pain is easy to confuse with a muscle strain or spinal issue. The key difference: kidney pain typically doesn’t change when you shift position or move around, while back pain almost always does.
Where Kidney Pain Actually Is
Your kidneys sit higher than most people think. They’re tucked behind your lower ribs, one on each side of the spine, nestled against the muscles of your mid-to-upper back. The spot doctors check is called the costovertebral angle, which is where your lowest rib meets your spine. If you reach behind you and place your hand just below the bottom of your rib cage near the spine, you’re in the right zone.
Kidney pain can hit one side or both. A kidney stone or infection usually affects just one kidney, so you’ll feel it on one side. Conditions that affect both kidneys, like polycystic kidney disease, can cause pain on both sides simultaneously.
How It Feels Different From Back Pain
The single most useful test you can do at home is to move. Shift positions, stretch, twist at the waist, bend forward. Musculoskeletal back pain will get worse with certain movements and better with others. Kidney pain stays the same regardless of what you do with your body. It doesn’t respond to posture changes or rest.
The quality of the pain also matters. Back pain from a pulled muscle or disc issue tends to be a stiff, achy soreness that you can sometimes pinpoint to a specific spot. You might feel it tighten when you stand up or ease when you lie down. Kidney pain is deeper and harder to localize precisely. It often radiates outward rather than staying in one sharp point.
Pressing on the area can also help you tell the difference. A sore muscle will usually hurt more when you push on it. Kidney pain comes from inside the body and doesn’t necessarily get worse with surface pressure, though a doctor can provoke it by firmly tapping the costovertebral angle during an exam.
What Kidney Stone Pain Feels Like
Kidney stones produce one of the most distinctive pain patterns in medicine. The pain tends to come in intense waves rather than staying constant. You might feel fine for a few minutes, then get hit with a sharp, stabbing sensation in your back or side that radiates down toward your lower abdomen or groin. These waves happen because the ureter (the tube connecting the kidney to the bladder) spasms as it tries to push the stone through.
Stone pain is sharp and severe, often described as stabbing. It can shift location as the stone moves. You may also notice a sharp, stabbing sensation when urinating. Many people with kidney stones feel restless and can’t find a comfortable position, which is another clue that it’s not a simple muscle problem.
What Kidney Infection Pain Feels Like
A kidney infection (pyelonephritis) produces a different pattern. The pain is usually a constant, dull ache on one side of your back below the ribs, rather than the sharp waves of a stone. What sets it apart from both stones and back pain is the whole-body symptoms that come with it: fever, body aches, fatigue, nausea, and vomiting.
Urinary changes are another strong signal. A kidney infection often causes cloudy, dark, bloody, or foul-smelling urine along with frequent, painful urination. These symptoms usually develop after a lower urinary tract infection that has spread upward, so you may have already been dealing with burning during urination or pelvic pressure for a few days before the back pain and fever start.
Clues in Your Urine
One of the most reliable ways to tell that your pain is coming from a kidney rather than a muscle is to look at your urine. Changes like blood (pink, red, or brown tint), cloudiness, a strong or unusual smell, or dark coloring all point toward a kidney or urinary tract problem. Musculoskeletal pain never changes your urine.
Frequency matters too. If you’re suddenly needing to urinate more often, feeling urgency, or experiencing pain when you go, the source of your back or flank pain is much more likely to be renal. These urinary symptoms don’t have to be dramatic to be meaningful. Even subtle changes, like urine that’s slightly darker or smells different than usual, are worth noting.
A Quick Self-Check
You can roughly replicate what a doctor does during a kidney exam. Sit or stand upright. Make a loose fist and have someone gently but firmly tap the area just below your lowest rib on each side of your spine, one side at a time. If this produces a deep, aching pain that feels different from the surface tenderness of a sore muscle, it suggests the kidney itself may be the source. Doctors call this costovertebral angle tenderness, and it’s one of the first things they check when kidney pain is suspected.
This isn’t a definitive diagnosis, but it can help you decide how urgently to seek care.
How Doctors Confirm the Source
If your symptoms point toward a kidney problem, the first step is usually a urine test to look for blood, bacteria, or other abnormalities. Imaging comes next if a stone or structural problem is suspected.
A CT scan without contrast dye is the gold standard for detecting kidney stones. It catches up to 97% of stones, including very small ones, and is highly accurate at ruling them out. Ultrasound is often used as a first-line option, especially for pregnant women or when radiation exposure is a concern. It’s excellent at detecting blockages (nearly 100% sensitive for signs of obstruction) but less reliable at finding small stones directly, with sensitivity ranging from 24% to 57% for stone detection compared to CT. Adding color Doppler imaging improves that significantly, pushing sensitivity as high as 99% for very small stones.
A standard X-ray can spot larger stones (78% detection rate for stones bigger than 5 mm) but misses the vast majority of small ones, picking up only about 8% of stones 5 mm or smaller.
Warning Signs That Need Urgent Attention
A constant, dull, one-sided pain below your ribs that doesn’t go away warrants a same-day medical visit, especially if it’s paired with fever, body aches, fatigue, painful urination, blood in your urine, or nausea and vomiting. A recent urinary tract infection followed by flank pain and fever is a particularly strong signal that infection has reached the kidney.
Sudden, severe kidney pain, with or without blood in your urine, is an emergency. This pattern can indicate a large stone blocking urine flow, which can damage the kidney if not addressed quickly. Inability to urinate despite feeling the urge is another red flag that needs immediate evaluation.

