Six possible causes of flank pain include:
1. Muscle problems
The muscles of the stomach, the back, and even the chest may cause flank pain. Some common causes of muscle pain include:
- muscle injuries, such as strains or sprains
- a sedentary lifestyle, meaning that a person does not move enough
- remaining in an unusual or physically stressful position for a long time
The flank pain is usually on the side of the injured muscle. However, people who have muscle pain due to a sedentary lifestyle may experience pain on both sides or pain that moves back and forth between sides.
Muscle injuries are among the most common causes of flank pain. Muscle pain can be very intense, but the intensity of the pain is not necessarily a measure of the severity of the injury.
2. Urinary tract infection
Urinary tract infections (UTIs) develop when harmful bacteria enter the urinary tract, infecting the bladder, urethra, or kidneys. Most UTIs stay in the lower urinary tract. These infections are more common in women than in men.
Without treatment, a UTI can spread to the kidneys and cause a more severe kidney infection.
In addition to flank pain, symptoms of a UTI include:
- painful urination
- frequent or constant need to urinate
- blood in the urine
Pain from a UTI can affect both flanks or just one.
3. Kidney problems
The kidneys act as the body’s filter. They sit in the mid-back, just under the ribs. People may feel pain from the kidneys in their back or flanks.
Some kidney problems develop when an infection spreads from the bladder. Kidney disease can also be genetic or occur as a result of a problem with another organ.
Kidney problems that may cause flank pain include:
- kidney stones
- kidney diseases, such as polycystic kidney disease
- a blood clot or bleeding in the kidneys
Anyone who has flank pain and other symptoms of kidney problems, such as urinary symptoms, should see a doctor.
Kidney pain usually only appears on the same side of the body as the affected kidney. When an infection or disease affects both kidneys, a person may experience pain on both sides.
Shingles is an infection that causes a painful, blistering rash. Anyone who has had chickenpox can develop shingles, though this infection is more common in older people and people with a weakened immune system.
Shingles usually begins as a deep burning feeling or prickly pain from the nervous system. Over several days, a rash of fluid-filled blisters appears.
In some people, shingles can be very severe and cause life-threatening infections. People living with HIV, those taking immunosuppressants, and older people should see a doctor immediately if they think that they have shingles.
As shingles usually affects just one side of the body, people will notice symptoms in either the left or right flank but not both.
5. Pancreas or liver problems
The pancreas and liver sit deep within the abdomen, just under the rib cage. Sometimes, problems with these organs cause flank pain. The pain can also radiate to the back.
As the liver and pancreas work together to help the body digest food, a problem with one organ may eventually affect the other.
Many different health issues can affect the pancreas and liver. Some of these, such as blocked bile ducts due to gallstones, are highly treatable. Others, including autoimmune hepatitis, are chronic diseases.
Some liver and pancreas conditions become life-threatening if a person does not get treatment, but they always present with other symptoms in addition to flank pain.
Pain from problems with the pancreas or liver occurs on the right side of the body. Other symptoms include:
- dark urine
- pale bowel movements
- nausea or vomiting
- sudden attacks of pain
- yellow eyes or skin
6. Spinal health issues
Spinal health issues, including spinal arthritis or herniated discs, may cause pain that radiates to the flank. Spinal arthritis is a type of chronic inflammation of the vertebrae.
Disc diseases cause swelling and pain in the discs that cushion the bones of the spine. Some other conditions, such as a fracture in the spine, may also cause flank pain.
The pain from spinal problems typically occurs on either the right or left flank, but it is possible for both sides to be painful.
People with spinal health issues may also have:
- sharp, shooting pain that extends down one side and into the leg
- unexplained numbness or tingling, especially in the leg or foot
- chronic back pain
- difficulty moving