Our Services
Medical Information
Helpful Resources
Published on: 9/15/2026
Kidney pain typically sits deeper and higher, just under the ribs on one side of the back, and often stays constant or comes in waves regardless of how you move, frequently alongside fever, nausea, burning urination, blood in the urine, or pain radiating toward the groin. Muscle pain, by contrast, usually feels sore or tight closer to the surface, worsens with bending, twisting, or lifting, eases with rest, heat, and stretching, and is often traceable to a recent strain or awkward movement. Tenderness when the area is pressed points more toward muscle, while pain that does not change with position or touch leans toward the kidneys. There are several other distinguishing signs and red flags that warrant urgent care, so see below to understand more before assuming it is only a strain.
Because both conditions can feel nearly identical at first, and untreated kidney infections or stones can escalate quickly, it is worth taking a few minutes to check your specific pattern of symptoms rather than guessing. A free, instant, online symptom check can help you compare your pain type, location, and accompanying symptoms against likely causes and clarify whether rest at home, a doctor's visit, or emergency care is the right next step.
Last reviewed for medical accuracy: 09/15/2026
Flank pain—discomfort on either side of your lower back, between the ribs and the hip—can come from different sources. Two of the most common are muscle strain and issues with the kidneys. Understanding which one you’re dealing with can help you decide whether home care is appropriate or if you need medical attention.
• Location of muscle‐related flank pain
• Location of kidney pain
Strained back muscles or ligaments can mimic kidney pain but usually have distinguishing features:
• Onset
• Quality of pain
• Aggravating factors
• Associated signs
Kidney pain arises from inflammation, obstruction, or infection in the urinary system. Key clues include:
• Onset
• Quality of pain
• Aggravating factors
• Associated signs
Kidney Stones
Urinary Tract Infection (UTI) or Pyelonephritis
Hydronephrosis
Kidney Injury
• Muscle Strain or Ligament Sprain
• Poor Posture
• Sports Injuries
• Degenerative Spine Conditions
Use these steps to help narrow down the cause of your flank pain:
Recall Recent Activities
Move Gently
Press Lightly on the Flank
Track Additional Symptoms
Note Pain Patterns
Some situations require prompt evaluation by a healthcare professional:
• Severe, unrelenting pain that doesn’t improve with rest or OTC pain relievers
• High fever (over 101°F or 38.3°C), chills, or sweats
• Blood in the urine or inability to urinate
• Nausea and vomiting that prevent you from keeping down fluids
• Pain after a major fall or accident
• Signs of systemic illness: rapid heartbeat, confusion, or dizziness
If you’re unsure how serious your symptoms are, you might consider doing a free, online symptom check, using the doctor approved Ubie Symptom Checker.
If you lean toward muscle strain as the cause, try these measures:
• Rest and Modify Activities
• Apply Ice or Heat
• Over‐the‐Counter Pain Relievers
• Gentle Stretching and Strengthening
If your evaluation points toward kidney pain:
• Do Not Ignore Fever or Chills
• Hydrate
• Seek Prompt Medical Care for Severe Symptoms
• Muscle‐related flank pain often follows an identifiable injury, worsens with movement, and responds to rest, ice, and OTC pain relievers.
• Kidney pain is usually deeper, associated with urinary changes, and does not improve significantly with changes in position. Fever, chills, or blood in the urine require prompt evaluation.
• When in doubt, it’s safer to get checked. Use the doctor‐approved Ubie Symptom Checker for a free, online assessment of your symptoms.
• Always consult a healthcare professional if your pain is severe, persistent, or accompanied by worrying symptoms.
Speak to a doctor if you experience anything that could be life‐threatening or serious. Early evaluation and treatment can prevent complications and help you get back to feeling your best.
(References)
* Williamson WA, Bush RD, Williams LF Jr. Retrocecal appendicitis. Am J Surg. 1981 Apr;141(4):507-9. doi: 10.1016/0002-9610(81)90149-5. PMID: 7223938.
* Pipitone N, Vaglio A, Salvarani C. Retroperitoneal fibrosis. Best Pract Res Clin Rheumatol. 2012 Aug;26(4):439-48. doi: 10.1016/j.berh.2012.07.004. PMID: 23040359.
* Preece J, Suson KD, Wang MH, Shanker K, Feja K, Tolan RW Jr, Clewner LM, Fina LL, Everson P. Index of suspicion. Pediatr Rev. 2013 Sep;34(9):408-16. doi: 10.1542/pir.34-9-408. PMID: 24000345.
* Schoolmeester JK, Erickson LA. Renal Leiomyoma. Mayo Clin Proc. 2019 Sep;94(9):1913-1914. doi: 10.1016/j.mayocp.2019.07.014. PMID: 31486390.
* Hoglund JR, Blackwell JH, Gibbs MA. Spontaneous celiac artery dissection. Am J Emerg Med. 2020 Jul;38(7):1545.e3-1545.e5. doi: 10.1016/j.ajem.2020.04.041. Epub 2020 May 6. PMID: 32446535.
* Feit L, John D, Delgado Torres N, Sinert R. Flank pain and hematuria is not always a kidney stone. Am J Emerg Med. 2021 Feb;40:225.e1-225.e2. doi: 10.1016/j.ajem.2020.07.046. Epub 2020 Jul 24. PMID: 32958382.
* Kim P MD, MPH, Vong A. Acute Sharp Flank Pain. Am Fam Physician. 2021 Aug 1;104(2):201-202. PMID: 34383450.
* Knight M, Inklebarger J, Telfeian AE, Lewandrowski KU. Radiofrequency Treatment of Iliac and Paravertebral Cluneal Nerves for Low Back Pain. Pain Physician. 2022 Oct;25(7):E1129-E1136. PMID: 36288600.
* Nazim SM, Siddique MH, Jalbani IK, Nusrat A. Primary adrenal leiomyosarcoma. BMJ Case Rep. 2025 Oct 29;18(10):e266476. doi: 10.1136/bcr-2025-266476. Epub 2025 Oct 29. PMID: 41161768.
* Lee S, Miller J. Case 350. Radiology. 2026 May;319(2):e253734. doi: 10.1148/radiol.253734. PMID: 42188729.
We would love to help them too.
For First Time Users
We provide a database of explanations from real doctors on a range of medical topics. Get started by exploring our library of questions and topics you want to learn more about.
Was this page helpful?
Purpose and positioning of servicesUbie Doctor's Note is a service for informational purposes. The provision of information by physicians, medical professionals, etc. is not a medical treatment. If medical treatment is required, please consult your doctor or medical institution. We strive to provide reliable and accurate information, but we do not guarantee the completeness of the content. If you find any errors in the information, please contact us.