Kidney pain typically shows up as a deep ache in your flank, the area on either side of your spine just below your rib cage and above your hips. The most common causes are kidney stones, infections, and dehydration, though several other conditions can be responsible. What matters first is figuring out whether the pain is actually coming from your kidneys or from the muscles in your lower back, since the two feel quite different and point to very different problems.
Kidney Pain vs. Back Pain
Your kidneys sit against the back muscles just below the rib cage, which is why kidney problems and back problems can feel like they’re in the same neighborhood. But the quality of the pain is a reliable way to tell them apart.
Kidney pain stays constant regardless of how you move. Shifting positions, stretching, or lying down won’t make it better or worse. It tends to remain in one area, though it can spread to the lower abdomen or inner thighs. It also won’t improve on its own without treatment.
Lower back pain, by contrast, is usually a dull ache, soreness, or stiffness that changes with movement. Certain positions make it worse, while finding a comfortable posture brings relief. If nerves are involved, back pain often radiates down into the legs. Kidney pain almost never does that. If your pain shifts when you twist or bend, your kidneys are probably not the source.
Kidney Stones
Kidney stones are one of the most common reasons for sudden, severe kidney pain. The pain isn’t actually caused by the stone sitting in your kidney. It’s caused by the stone moving into the narrow tube (ureter) that connects your kidney to your bladder. When a stone gets stuck there, urine backs up, stretching and swelling the kidney and ureter. That acute distention is what produces the intense, wave-like pain known as renal colic.
The pain often hits without warning and can be excruciating, sometimes radiating from your side down toward your groin. Many people also feel nauseous or vomit during an episode. You might notice blood in your urine, which can look pink, red, or brown.
Most kidney stones are made of calcium. A smaller fraction, about 6%, are uric acid stones, which are more common in people with gout or diets very high in animal protein. Dehydration is a major contributor to all stone types because concentrated urine allows minerals to crystallize more easily. If you’ve had one stone, your risk of forming another is significantly higher, which makes long-term fluid intake a real priority.
Kidney Infections
A kidney infection (pyelonephritis) usually starts as a lower urinary tract infection that travels upward. The key difference between a bladder infection and a kidney infection is how sick you feel. A bladder infection causes burning and urgency when you urinate. A kidney infection does that too, but it adds fever, chills, nausea, and pain in your side or lower back. It tends to come on suddenly and feel more like a systemic illness than a localized problem.
If you’ve recently had UTI symptoms and now have a fever along with flank pain, that combination strongly suggests the infection has reached your kidneys. Kidney infections need prompt treatment with antibiotics because untreated, they can allow bacteria to enter the bloodstream.
Dehydration
Not drinking enough water is an underappreciated cause of kidney discomfort. When you’re dehydrated, your kidneys struggle to flush waste and excess fluids from your blood efficiently. Urine becomes more concentrated with waste products, which irritates the urinary tract and raises your risk of both infections and stone formation.
Proper hydration dilutes your urine and helps your kidneys move waste out smoothly. If your pain is mild and you notice your urine is dark yellow or amber, increasing your water intake is a reasonable first step. Persistent or worsening pain, however, points to something beyond simple dehydration.
Polycystic Kidney Disease
Polycystic kidney disease (PKD) is an inherited condition where fluid-filled cysts grow throughout both kidneys. Pain in the side or back is common with PKD and can be either intermittent or ongoing. The pain may come from the cysts themselves enlarging and putting pressure on surrounding tissue, but it can also signal a complication: bleeding inside a cyst, a urinary tract infection, or a kidney stone that formed because the cysts disrupted normal urine flow.
PKD is typically diagnosed through imaging, often after someone reports chronic flank pain or a family member has the condition. If you have recurring kidney pain and a family history of kidney problems, PKD is worth investigating.
How Kidney Pain Gets Diagnosed
When you see a provider for kidney pain, the workup usually starts with a urine sample. The lab checks it for bacteria, blood (sometimes only visible under a microscope), and pus, all of which help narrow down infection or stones. A blood sample may also be drawn and cultured to look for bacteria or other organisms that could indicate a more widespread infection.
Imaging is the next step for most people. An ultrasound can reveal stones, cysts, or swelling in the kidneys. A CT scan provides more detail and is especially useful for identifying small stones or structural abnormalities. In some cases, a specialized X-ray using contrast dye is used to watch how urine flows through the system, which can reveal blockages or anatomical issues that aren’t obvious on a standard scan.
Signs That Need Immediate Attention
Sudden, severe kidney pain, with or without blood in your urine, warrants emergency care. Outside of that, you should contact your provider the same day if your kidney pain is constant and one-sided and you also have any of the following:
- Fever, body aches, or fatigue
- A recent urinary tract infection
- Pain when urinating
- Visible blood in your urine
- Nausea or vomiting
Any of these alongside flank pain suggests something that won’t resolve on its own and could worsen quickly without treatment.

