A kidney stone is a hard mineral deposit that forms inside the kidney and causes pain when it moves into the ureter, the tube that drains the kidney. A urinary tract infection, or UTI, is a bacterial infection of the urinary system, most often in the bladder. Both can cause pain low in the tummy or in the back, blood in the urine, and a constant urge to urinate — which is why they are so often confused. The clearest differences: UTI pain is worst when you pass urine, while stone pain comes in waves in the flank whether you urinate or not — and fever points to infection rather than a simple stone.
✓ Medically reviewed by Mohamed Magdy Ibrahim, MD, PhD — Assistant Professor of Medicine, Transplant Nephrology, University of Maryland School of Medicine · Board certified in Internal Medicine (ABIM) · Last reviewed: November 2026
In short: Burning when you urinate, needing to go often, and pressure low in the tummy point to a UTI. Severe pain in the back or side that comes in waves and spreads toward the groin points to a kidney stone. Fever with either one means infection may be involved — and fever together with a stone can be an emergency, so get care the same day.
| Kidney stones | Urinary tract infection (UTI) | |
|---|---|---|
| What it is | A hard deposit of minerals and salts that forms inside the kidney | An infection, usually bacterial, in the bladder or another part of the urinary tract |
| Where it hurts | In the back or side, under the ribs (the flank); pain often spreads to the lower tummy and groin | Low in the tummy, above the pubic bone, with burning in the water pipe (urethra) |
| Pain pattern | Comes in waves (colic) as the stone moves; can be severe; people often feel restless and cannot find a comfortable position | Burning or stinging when passing urine, with a dull pressure or ache in between |
| Urinary symptoms | Urgency and frequency if the stone is low, near the bladder; urine may look pink or red | Burning, frequency, and urgency are the main symptoms; urine may be cloudy or strong-smelling |
| Fever | Not usual — fever with a stone suggests infection as well | Low or absent in a bladder infection; fever with back pain suggests the kidneys are infected |
| Blood in the urine | Common, as the stone irritates the urinary tract | Possible, when the bladder lining is inflamed |
| Nausea & vomiting | Common, because the pain can be intense | Less common in a simple bladder infection |
| Who it affects most | Adults of any age; a family history of stones and not drinking enough fluids raise the risk | Women more than men, because the urethra is shorter; risk also rises with catheters, kidney stones, and diabetes |
| How it is confirmed | A urine test plus imaging, usually a CT scan or ultrasound, to locate the stone and check whether it is blocking urine flow | A urine dipstick test, often followed by a urine culture to identify the bacteria |
| Usual treatment | Pain relief and fluids; smaller stones are more likely to pass on their own; larger or blocking stones may need a procedure such as shock-wave treatment or a scope procedure | Antibiotics, fluids, and simple pain relief; the prescribed course should be completed |
| How urgent | Severe pain, vomiting, or fever needs same-day care; a stone blocking urine flow needs prompt treatment | Most bladder infections are treated routinely, but symptoms with fever or back pain — or in pregnancy, in men, or in children — should be assessed promptly |
Kidney stones form when minerals in the urine crystallise into a hard lump inside the kidney. A stone that stays in the kidney may cause no symptoms at all. The classic pain starts when a stone moves into the ureter and partly blocks it: waves of severe flank pain, often with nausea and blood in the urine.
Many stones pass on their own, especially smaller ones. Stones that are too large, blocking urine flow, or causing infection need a procedure to break them up or remove them. Read the full kidney stones guide →
A UTI happens when bacteria, usually from the bowel, enter the urinary tract and multiply, most often in the bladder. The bladder lining becomes inflamed, which is why the symptoms centre on urinating itself: burning, urgency, frequency, and cloudy or strong-smelling urine.
Most bladder infections are straightforward to treat with antibiotics. The infection becomes more serious if it travels up to the kidneys, which adds fever, shivering, and back or side pain. Read the full UTI guide →
Fever together with a kidney stone can mean the kidney is blocked and infected at the same time. That combination can become serious quickly and is treated as an emergency.
Can a kidney stone cause a UTI?
Yes. A stone can block the flow of urine or irritate the urinary tract, which makes infection more likely. A stone and an infection together are more serious than either one alone, especially if the kidney is blocked, and need prompt medical care.
Can a UTI cause back pain without a kidney stone?
Yes. If a bladder infection travels upward to the kidneys, it causes pain in the back or side, usually with fever and shivering. That pattern — flank pain plus fever — points to a kidney infection rather than a simple bladder infection or an uncomplicated stone.
How do doctors tell a kidney stone from a UTI?
Doctors use the pattern of symptoms together with a urine test. A urine culture can identify bacteria in an infection, and imaging such as a CT scan or ultrasound can find a stone and show whether it is blocking urine flow. Blood in the urine happens in both, so it does not separate them on its own.
Does drinking lots of water cure both?
Drinking enough fluids helps comfort in both conditions and may help a small stone pass, but water alone does not cure an infection — a UTI is treated with antibiotics. A stone that is blocking urine flow, or any symptoms with fever or vomiting, need medical care rather than fluids alone.
Which one causes blood in the urine?
Both can. A stone commonly causes blood in the urine as it irritates or scrapes the urinary tract, and an inflamed bladder can also bleed. Because blood appears in both, doctors rely on the pain pattern, fever, and tests — not blood alone — to tell them apart.
Authoritative references for readers who want to go deeper:
Ibrahim MM. Kidney Stones vs UTI: How to Tell the Difference. MedicalVideos.com; 2026 Nov 26 [cited 2026 Nov 26]. Available from: https://www.medicalvideos.com/conditions/vs/kidney-stones-vs-uti.html
This page is for general education only and is not medical advice. It cannot tell you which condition you have — only an examination and tests can do that. Fever, shivering, or vomiting with back or side pain, or being unable to pass urine, needs same-day medical care.