What are the kidneys?

The kidneys are two organs whose major functions are to remove waste products and excess fluid from the body and to produce hormones that regulate blood pressure, red blood cell production, acid regulation, and influence calcium, sodium, potassium, and electrolyte metabolism.
Each kidney contains around a million units called nephrons, each of which is a microscopic filter for blood. It's possible to lose as much as 90% of kidney function without experiencing any symptoms or problems.
Where are the kidneys located?
The kidneys are bean-shaped organs (about 11 cm x 7 cm x 3 cm) that are located against the back muscles in the upper abdominal area. They sit opposite each other on both the left and right sides of the body; the right kidney, however, sits a little lower than the left to accommodate the size of the liver.
What is the function of the kidneys?
The excess waste products and excess fluid are removed when the kidneys produce urine that is excreted from the body. Moreover, the kidneys play an important role in the regulation of the body's salt, potassium, and acid content.
The kidneys also produce hormones that stimulate the production of the following:
- Red blood cells that help regulate blood pressure and
- Help control calcium and electrolyte metabolism in the body
What are some kidney conditions and diseases that cause pain?
Many of the causes of kidney disease that lead to kidney pain (also termed flank pain) are due to acquired underlying diseases that may acutely or chronically affect kidney function. Other diseases are present at birth. Some people may be born with an abnormality that is genetically determined that affects the kidneys.
Kidney pain or flank pain can be acute, relatively constant, and sharp. This is termed "renal colic." This kind of pain is usually seen when a kidney stone or other problem blocks the tube (ureter) that drains the kidney. However, other processes can cause chronic dull aching with occasionally sharp kidney pain.
Some of the causes of kidney pain or flank pain are as follows:
- Urinary tract infections (UTI)
- Bladder infection (cystitis)
- Kidney infections (pyelonephritis)
- Hydronephrosis
- Kidney stones (nephrolithiasis and/or ureterolithiasis)
- Kidney cancer
- Anything that compresses the kidney (for example, a large tumor)
- Glomerulonephritis
- Blood clots in the kidneys (renal vein thrombosis)
- Polycystic kidney disease (congenital)
- Congenital malformations in the renal system resulting in complete or partial blockage of urine flow
- Drugs or toxins that harm kidney tissue (for example, pesticide exposure or chronic use of medications such as ibuprofen [Advil, Motrin, and others])
- Kidney pain during pregnancy
- Kidney bleeding (hemorrhage) such as from penetrating trauma or blunt trauma ("kidney laceration")
- End-stage renal disease

SLIDESHOW
Kidney Stones: Symptoms, Causes, and Treatment See SlideshowWhat are the first signs and symptoms of kidney pain?
Symptoms associated with kidney pain (also termed renal or flank pain) are discomfort (acute or chronic), aches, or sharp pain that occurs in the back between approximately the lowest rib and the buttock. Depending on the cause of the pain, it may radiate down the flank to the groin or toward the abdominal area.
Some individuals may develop symptoms and signs such as:
- Fever
- Painful urination (dysuria)
- Blood in the urine
- Nausea
- Vomiting
- Dizziness
- Constipation or diarrhea
- Rash
- Fatigue
- Chills
Other symptoms and signs that may occur if kidney function is increasingly compromised include:
- Metallic taste in the mouth
- Bad breath
- Swelling and shortness of breath
Depending on the underlying cause, kidney pain may occur on the left or right side. Sometimes it can occur on both sides of the back; traumatic kidney injury (kidney laceration) may cause the above symptoms, but mild damage may initially have no symptoms. Severe kidney lacerations can cause abnormal blood pressure and pulse, and shock.
Kidney pain itself is a symptom that may happen due to problems or diseases of the kidney or its associated structures, including the ureters or bladder. However, other diseases may mimic kidney pain, but are not actually due to the kidneys, for example:
- Muscle strains in the back
- Spinal problems (fractures, abscesses)
- Rib pain
- Pleuritis
- Radiculitis
- Retroperitoneal fibrosis
- Shingles
- Aortic abdominal Aneurysm
- Gynecological problems
- Many other causes
Although kidney pain often occurs on one side of the back, it can occur on both sides at the same time and may radiate toward the abdomen or groin.
Pain that occurs suddenly is sharp, severe, and may increase and decrease in waves often due to kidney stones in the ureters of the kidneys. Pain caused by kidney stones is termed renal colic.
When should call a doctor for kidney pain?
Individuals should not postpone seeing a doctor about kidney pain or flank pain. Although flank pain is often seen in underlying problems with the kidney, many other diseases can mimic kidney pain, and a physician can help with an accurate diagnosis of underlying problems that result in kidney or flank pain. Any acute onset of intense kidney or flank pain should be evaluated immediately.
Warning signs that kidney disease is present and may result in kidney pain or flank pain are the following:
- Blood or protein in the urine
- More frequent urination, especially at night, and/or difficult or painful urination
- High blood pressure
- Swelling of the hands and feet and/or puffiness around the eyes
- Testing that shows an abnormal creatinine, blood urea nitrogen (BUN), or glomerular filtration rate (GFR) less than 60 (calculated as ml/min/meter2)
In addition, if an individual has diabetes or any of the congenital problems that lead to kidney dysfunction, the individual should be routinely checked for the onset of kidney dysfunction or kidney failure by their physician.
What procedures and tests diagnose kidney diseases?
The doctor usually will do a history and physical examination. Initial tests usually consist of a complete blood count (CBC), kidney function (creatinine and BUN), urine test, and when appropriate, a pregnancy test. A lacerated kidney may be suspected if the person has experienced a traumatic injury to the lower back.
If kidney stones are suspected, a CT exam (renal protocol or noncontrast spiral CT) or renal ultrasound is done; an abdominal X-ray (KUB) may be ordered but has been replaced in general by ultrasound and CT. As patients with kidney stones often need to repeat X-ray studies or have repeat episodes of kidney stones, ultrasound with its lack of radiation is a good study to consider.
Abdominal/pelvic CTs with contrast or magnetic resonance imaging (MRI) and aortogram may be ordered to further define or differentiate underlying kidney (renal) and nonrenal causes of flank pain. Such studies are routinely performed if a kidney is suspected to be damaged by a traumatic event (auto accident, gunshot wound, or blunt trauma such as from a collision in football or workplace injury).
What level of BUN indicates kidney failure?
The normal range of blood urea nitrogen (BUN) is between 7 and 20 mg/dL or 2.5 and 7.1 mmol/L. There may be slight variations between labs. A decline in kidney function can cause an increase in BUN levels. There is no definite value of BUN that would diagnose kidney failure.
BUN and creatinine tests can be used together to find the BUN-to-creatinine ratio (BUN: creatinine), which is more specific than the BUN test alone. More specific tests such as glomerular filtration rate (GFR) and creatinine clearance may be performed further to diagnose kidney failure.
A high BUN value may be due to reasons unrelated to the kidneys such as:
- High protein diet
- Burns
- Dehydration
- Hemorrhage
- Shock
- Heart diseases such as congestive heart failure or a recent heart attack
- Certain medicines
- Older age
If your BUN values are consistently outside the normal limits, talk to your doctor to know the reason behind the variation.
Subscribe to MedicineNet's General Health Newsletter
By clicking Submit, I agree to the MedicineNet's Terms & Conditions & Privacy Policy and understand that I may opt out of MedicineNet's subscriptions at any time.
What is the treatment for kidney pain?
Kidney pain (flank pain) treatment depends on the underlying cause of the pain.
- Kidney infections and kidney stones that cause pain are often treated with ibuprofen, ketorolac (Toradol), acetaminophen (Tylenol and others), or occasionally with small amounts of morphine (kidney stones). However, these agents treat pain (pain relief only) and not the underlying cause(s) of pain.
- Some patients may spontaneously pass (urine sweeps the irritating kidney stone out of the ureters and/or urethra) small kidney stones (usually less than about 6 mm in diameter) and then be pain-free.
- Infections like urinary tract infections (UTIs) and pyelonephritis usually require antibiotic treatments in addition to pain medications.
- If kidney stones completely block a ureter or are about 6 mm in diameter or larger, they may require urologic surgery. Usually, recovery time is fast (same day or a few days) if kidney stones are removed by retrograde surgical techniques. However, some severe kidney lacerations may require more extensive surgery. Recovery time for these surgeries varies from weeks to months.
- Other underlying causes of flank pain may need similar pain management and concurrent treatments. However, patients with known kidney problems (kidney disease) and/or renal function compromise should not be treated with pain medications that are either filtered (removed) through the kidneys and/or may cause further renal damage.
What is the prognosis of kidney pain?
The prognosis for someone with kidney pain depends upon the cause, and the majority of patients can have a good outcome when treated quickly and appropriately.
Can kidney pain be prevented?
Kidney pain can be prevented by avoiding those situations that are the underlying causes of kidney infection and/or kidney damage.
From 
Healthy Resources
Featured Centers
Health Solutions From Our Sponsors
Dave, C, MD, et al. "Nephrolithiasis." Medscape. Updated: Jan 15, 2020.
<http://emedicine.medscape.com/article/437096-overview>
Gill, BC, MD, et al. "Causes of Flank Pain." Medscape. Dec 11, 2020.
<http://emedicine.medscape.com/article/1958746-overview>
"Pain in Kidney or Urine Diseases." Kidney.org. 2020.
<https://www.kidney.org.uk/pain-in-kidney-or-urine-diseases>
"How Your Kidneys Work." National Kidney Foundation. 2020.
<https://www.kidney.org/kidneydisease/howkidneyswrk>.
"What Is Kidney (Renal) Trauma?" Urology Care Foundation. 2020.
<http://www.urologyhealth.org/urologic-conditions/kidney-(renal)-trauma>
Top Kidney Pain Related Articles
Complete Blood Count (CBC)
A complete blood count (CBC) is a calculation of the cellular makeup of blood. A CBC measures the concentration of white blood cells, red blood cells, platelets in the blood, and aids in diagnosing conditions and disease such as malignancy, anemia, or blood clotting problems.Creatinine Blood Test
Creatinine is a chemical waste molecule that is generated from muscle metabolism. Creatinine is produced from creatine, a molecule of major importance for energy production in muscles. Creatinine has been found to be a fairly reliable indicator of kidney function. As the kidneys become impaired the creatinine level in the blood will rise. Normal levels of creatinine in the blood vary from gender and age of the individual.CT Scan vs. MRI
CT scan (computerized tomography) is a procedure that uses X-rays to scan and take images of cross-sections of parts of the body. CT scan can help diagnose broken bones, tumors or lesions in areas of the body, blood clots in the brain, legs, and lung, and lung infections or diseases like pneumonia or emphysema.
MRI (magnetic resonance imaging) is a procedure that uses strong magnetic fields and radiofrequency energy to make images of parts of the body, particularly, the organs and soft tissues like tendons and cartilage.
Both CT and MRI are painless, however, MRI can be more bothersome to some individuals who are claustrophobic, or suffer from anxiety or panic disorders due to the enclosed space and noise, the machine makes.
MRI costs more than CT, while CT is a quicker and more comfortable test for the patient.
High Blood Pressure (Hypertension)
High blood pressure (hypertension) is a disease in which pressure within the arteries of the body is elevated. About 75 million people in the US have hypertension (1 in 3 adults), and only half of them are able to manage it. Many people do not know that they have high blood pressure because it often has no has no warning signs or symptoms.
Systolic and diastolic are the two readings in which blood pressure is measured. The American College of Cardiology released new guidelines for high blood pressure in 2017. The guidelines now state that blood normal blood pressure is 120/80 mmHg. If either one of those numbers is higher, you have high blood pressure.
The American Academy of Cardiology defines high blood pressure slightly differently. The AAC considers 130/80 mm Hg. or greater (either number) stage 1 hypertension. Stage 2 hypertension is considered 140/90 mm Hg. or greater.
If you have high blood pressure you are at risk of developing life threatening diseases like stroke and heart attack.
REFERENCE: CDC. High Blood Pressure. Updated: Nov 13, 2017.
Kidney Disease Quiz
Kidney disease is common. Take this kidney disease quiz to test your knowledge and learn the symptoms, causes and types of kidney disease and what foods to eat and avoid!Kidney (Renal) Failure
Kidney failure can occur from an acute event or a chronic condition or disease. Prerenal kidney failure is caused by blood loss, dehydration, or medication. Some of the renal causes of kidney failure include sepsis, medications, rhabdomyolysis, multiple myeloma, and acute glomerulonephritis.
Post renal causes of kidney failure include bladder obstruction, prostate problems, tumors, or kidney stones.Treatment options included diet, medications, or dialysis.
Kidney Stone Slideshow
What causes kidney stones? Where is kidney stone pain located on your body? Learn the symptoms and signs of kidney stone pain. Explore kidney stone treatment and how to prevent kidney stones.Kidneys Picture
The kidneys are a pair of organs located in the back of the abdomen. See a picture of the Kidneys and learn more about the health topic.MRI (Magnetic Resonance Imaging Scan)
MRI (or magnetic resonance imaging) scan is a radiology technique which uses magnetism, radio waves, and a computer to produce images of body structures. MRI scanning is painless and does not involve X-ray radiation. Patients with heart pacemakers, metal implants, or metal chips or clips in or around the eyes cannot be scanned with MRI because of the effect of the magnet.Shingles (Herpes Zoster)
Shingles, or herpes zoster, is a painful rash caused by the varicella zoster virus. Other shingles symptoms include headache, fever, nausea, and body aches. Treatment focuses on pain management and shortening the duration of the illness with antiviral medications.Urinalysis (Urine Test)
Urinalysis (urine test, drug test) is a test performed on a patient's urine sample to diagnose conditions and diseases such as urinary tract infection, kidney infection, kidney stones, and inflammation of the kidneys, or screen for progression of conditions such as diabetes and high blood pressure.Urinary Tract Infection (UTI)
A urinary tract infection (UTI) is an infection of the bladder, kidneys, ureters, or urethra. E. coli, a type of bacteria that lives in the bowel and near the anus, causes most UTIs. UTI symptoms include pain, abdominal pain, mild fever, urinary urgency, and frequency. Treatment involves a course of antibiotics.Bladder Infections: UTI Causes, Symptoms, Treatments
Urinary Tract Infections (UTI's) can happen to anyone. Learn about symptoms, causes and home remedy treatments for bladder and kidney infections in women, infants, and men.UTI Symptoms Slideshow
Bladder infections can be painful and often require medical treatment. Get the latest information on urinary tract infections (UTI) . Learn how UTI's are diagnosed in infants, adults, and the elderly.Urinary Tract Infection Quiz
How would you know if you had urinary tract infection (UTI)? Take the Urinary Tract Infection in Adult Quiz to learn the causes, symptoms, and treatments for infection that can affect your kidneys, ureters, bladder, and urethra.What Level of BUN Indicates Kidney Failure?
Blood urea nitrogen (BUN) is one of the parameters measured to ascertain kidney function. BUN indicates the urea nitrogen produced in the body during protein breakdown. There is no definite value of BUN that would diagnose kidney failure.