Pain on both sides at once sounds worse than it usually is. The most common causes are strained muscles in the back or ribs and gas trapped in the bowel, not an organ failing. Having pain on both sides is also a useful clue in itself, because only a few organs come in pairs or stretch across the whole body, and the kidneys are the main one. A small number of causes are true emergencies, and they tend to bring other signs along with the pain.
Muscle and Joint Causes Are the Most Common
Your flanks are the sides of your body between the bottom of the ribs and the top of the hips. Back muscles, ribs, and the kidneys all sit under that stretch of skin. Strain of the muscles there can cause pain on both sides together.1Metro Urgent Care. When Flank Pain Strikes: How to Identify, Address, and Prevent It A long bout of coughing, such as after bronchitis, can strain the muscles between the ribs.2Cleveland Clinic. How to Cope with an Intercostal Muscle Strain So can exercise or sports with repeated twisting, lifting, or stretching.2Cleveland Clinic. How to Cope with an Intercostal Muscle Strain
Muscle pain usually changes when you move, bend, twist, or press on the sore spot, and it usually follows a clear trigger like a cough, a workout, or lifting something heavy. Kidney pain sits deeper, under the ribs at the back, and usually doesn’t ease when you change position. Kidney trouble also more often comes with fever, a sick feeling, or changes in your urine. Most strains improve over days to a few weeks with gentle activity.
Aching on both sides of the low back that lasts for months, without pain shooting down the legs, usually comes from the small joints of the spine, the joints where the spine meets the pelvis, or the back muscles themselves.3Kentuckiana Pain Specialists. Pain in Lower Back on Both Sides of Spine? Here’s Why Pain shooting down a leg is the usual sign of a pinched nerve, so its absence points away from one.3Kentuckiana Pain Specialists. Pain in Lower Back on Both Sides of Spine? Here’s Why Tight knots in the back muscles can also cause aching that spreads across both sides.3Kentuckiana Pain Specialists. Pain in Lower Back on Both Sides of Spine? Here’s Why
Pain from the lower ribs themselves, such as a bruised or cracked rib after a hard cough or a knock, is tender at one exact spot on the bone and sharp with each breath. Shingles can cause a band of burning pain around one side of the torso a few days before a blistering rash appears, so unexplained burning pain that later gets a rash is worth having seen.
When Both Kidneys Are the Cause
Both kidneys sit at the back of the sides, so a problem affecting both can cause pain on both sides.1Metro Urgent Care. When Flank Pain Strikes: How to Identify, Address, and Prevent It A bladder infection that isn’t treated, or doesn’t clear up, can spread to one or both kidneys.4National Institute of Diabetes and Digestive and Kidney Diseases. Symptoms & Causes of Kidney Infection (Pyelonephritis) A kidney infection often follows a few days of burning or frequent urination. It usually brings fever, chills, and a sick feeling along with the side pain, and it needs antibiotics promptly.
Kidney infection often affects just one kidney, so pain on both sides is possible but not the usual pattern, and one-sided pain doesn’t rule it out. The pain is typically a deep ache in the back just below the ribs, and tapping or pressing on that spot is often tender. Finish the whole course of antibiotics, because stopping early when you feel better can let the infection return.
In polycystic kidney disease, an inherited condition, both kidneys grow cysts and get larger over time. The stretched outer covering of the kidneys can cause long-term pain, felt in the side, lower back, or belly.5PKD Charity. Managing ADPKD Pain Large kidneys can also press on nearby organs or change your posture, which adds pain.5PKD Charity. Managing ADPKD Pain Back pain is the most common kind in this condition.5PKD Charity. Managing ADPKD Pain
Having a parent or sibling with the condition is the main clue. Long-lasting side pain together with high blood pressure is worth mentioning to a doctor, and a simple ultrasound scan can usually show the cysts.
Kidney stones usually cause sudden, severe, wave-like pain on one side that makes it hard to lie still, unlike muscle pain, which often eases when you find a comfortable position. Stones can occur in both kidneys at once, but that is less usual than a single stone. One-sided pain that moves toward the groin points toward a stone, and blood in the urine, sometimes only visible on a test, commonly goes with it.
Trapped Gas and Bowel Pain
Gas can get trapped at the natural bends of the colon.6Nutrition and Vitality. How Long Can Trapped Wind Last? Trapped wind Rib & Back Pain Explained On the left, the bend sits just under the ribs and is a very common place for gas to collect.6Nutrition and Vitality. How Long Can Trapped Wind Last? Trapped wind Rib & Back Pain Explained On the right, gas trapped at the bend near the liver can feel like upper belly or liver discomfort.6Nutrition and Vitality. How Long Can Trapped Wind Last? Trapped wind Rib & Back Pain Explained Left-sided gas pain can be mistaken for heart pain, and right-sided gas pain for gallstones or appendicitis.7Johns Hopkins Medicine. Gas in the Digestive Tract
Gas stretches the wall of the bowel, and the bowel is sensitive to stretching, so a modest amount of trapped gas can cause sharp, even stabbing pain. Gas pain tends to be short-lived, easing as the gas moves along, whereas pain from an inflamed organ usually keeps going.
Several clues point to gas. The pain shifts around and comes and goes over minutes to hours. It eases after passing wind or having a bowel movement. Bloating, rumbling, or a tight, full belly often come with it, and it often follows fizzy drinks, beans, or eating quickly.
Irritable bowel syndrome can cause discomfort in the sides of the belly from gas or bowel movement.8Nerva. IBS pain guide: types, locations, and how to find relief Stretching of the colon in people with this condition often causes right-sided or upper belly pain that matches their usual symptoms.9PubMed. Site of pain from the irritable bowel The pain tends to recur over months, often linked to bowel habits such as constipation or diarrhea, and often eases after a bowel movement. Stress and certain foods can bring on flares, and a person with this long-standing pattern who has no warning signs often does not need urgent testing. New symptoms, such as blood in the stool, weight loss, or pain that wakes you at night, should not be put down to the condition and need a doctor’s review.
Pelvic Infection and Pancreatitis
Pelvic inflammatory disease is an infection of the womb, ovaries, and other female reproductive organs.10MedlinePlus. Pelvic Inflammatory Disease It can cause a dull pelvic ache, fever, pain when urinating or during sex, and a heavy yellow or green discharge with a bad smell.11NYU Langone Health. Types of Pelvic Pain Some women have no symptoms at all.11NYU Langone Health. Types of Pelvic Pain Untreated, it can scar these organs and lead to infertility or ectopic pregnancy.10MedlinePlus. Pelvic Inflammatory Disease
It is usually caught through sexually transmitted infections like chlamydia. A sexual health clinic or doctor can test with a swab, and partners usually need treatment too to stop it coming back. The pain is felt lower in the belly than most flank pain, and women often notice it near the pelvis first, so side pain with pelvic symptoms is a reason to think about it.
An inflamed pancreas usually causes upper belly pain that can spread to the back and sides, so it can be mistaken for a kidney or muscle problem at first.12PubMed Central. Left flank pain as the sole manifestation of acute pancreatitis: a report of a case with an initial misdiagnosis The pain is often severe and steady, boring through to the back, and it often comes with nausea and vomiting. Heavy drinking and gallstones are the usual triggers. It is often worse when lying flat and may ease a little when leaning forward, though that posture clue is not a reliable test. Pancreatitis needs hospital care, not home treatment.
Warning Signs That Need Care Today
Get seen right away if you have any of these:
- Side pain that starts suddenly, is severe, or keeps getting worse.13Angleton Emergency Room. Flank and Kidney Pain: When to Go to ER
- Pain with fever, chills, shaking, or feeling seriously ill.13Angleton Emergency Room. Flank and Kidney Pain: When to Go to ER
- Blood in the urine, or urine that is red, brown, cloudy, or unusually foul-smelling.13Angleton Emergency Room. Flank and Kidney Pain: When to Go to ER
- Repeated vomiting or being unable to keep fluids down.13Angleton Emergency Room. Flank and Kidney Pain: When to Go to ER
- Being unable to urinate, passing only a little, or painful urination with worsening side pain.13Angleton Emergency Room. Flank and Kidney Pain: When to Go to ER
- Pain after a fall, blow, or other injury to the side or lower ribs.13Angleton Emergency Room. Flank and Kidney Pain: When to Go to ER
- New side pain while pregnant or possibly pregnant.13Angleton Emergency Room. Flank and Kidney Pain: When to Go to ER
Rarely, side pain comes from a burst bulge in the body’s main artery, the aorta.14PubMed Central. An unusual presentation of ruptured abdominal aorta aneurysm It causes severe belly, side, low back, and groin pain, low blood pressure, and sometimes fainting.15Washington Vascular Specialists. Abdominal Aortic Aneurysm: Monitoring and Repair Options Between 78% and 94% of people die when this happens, so it needs emergency care at once.14PubMed Central. An unusual presentation of ruptured abdominal aorta aneurysm It mostly affects men over 65 who smoke or have smoked, and high blood pressure and family history raise the risk.
Mild pain with burning urination and no fever can usually go to urgent care or your doctor. Fever with side pain and vomiting needs the ER for possible IV treatment. Anything with fainting or severe sudden pain is an ambulance call.
Don’t drive yourself if you are in severe pain, feel faint, or are vomiting; ask someone to take you or call an ambulance. On the way, bring a list of your medicines and note when the pain began, as this helps the team work out the cause faster.
Side Pain During Pregnancy
In pregnant women with sudden side pain, about 1 in 5 had it on both sides.16PubMed. The association between maternal hydronephrosis and acute flank pain during pregnancy: a prospective pilot-study About 84% had a swollen, backed-up kidney on ultrasound.16PubMed. The association between maternal hydronephrosis and acute flank pain during pregnancy: a prospective pilot-study The cause is the growing womb pressing on the tubes that drain the kidneys.17PubMed. Evaluation of painful hydronephrosis in pregnancy: magnetic resonance urographic patterns in physiological dilatation versus calculous obstruction Still, in one group of pregnant women with painful kidney swelling, about 3 in 10 had a kidney stone instead.17PubMed. Evaluation of painful hydronephrosis in pregnancy: magnetic resonance urographic patterns in physiological dilatation versus calculous obstruction
The swelling is more common on the right side, but it can affect both, and it is why side pain in pregnancy is often not dangerous. Infection and stones are also possible, so pain shouldn’t be assumed to be harmless pressure without a check. Muscle and ligament strain from the growing womb and changed posture is another common cause of side and back aches.
Always report new side pain to your midwife or doctor. Fever or burning urination may mean a kidney infection, which needs prompt treatment in pregnancy. Lying on the opposite side can sometimes ease pressure pain.
How Doctors Find the Cause
A visit starts with questions: when the pain began, what triggers it, and how your urine and bowels have been. The doctor presses on your back and belly to see whether the pain is muscle or deeper. A urine sample checks for infection and blood, and blood tests check kidney function and signs of infection.
If a scan is needed, a bedside ultrasound in the ER finds a backed-up kidney in about 87 of 100 cases.18PubMed. Emergency ultrasound and urinalysis in the evaluation of flank pain Ultrasound can also rule out a burst aorta or internal bleeding.19PubMed Central. My patient has abdominal and flank pain: Identifying renal causes A CT scan without dye finds ureter stones 98–100% of the time and takes about 5 minutes.20PubMed. Modern approach of diagnosis and management of acute flank pain: review of all imaging modalities In about a third of people with sudden side pain, CT finds the cause outside the urinary system.20PubMed. Modern approach of diagnosis and management of acute flank pain: review of all imaging modalities
Ultrasound uses no radiation, so it is the first choice in pregnancy. It shows a swollen kidney well but can miss small stones, so a normal ultrasound doesn’t always mean there is no stone. CT uses radiation, so doctors weigh that against the need for a precise answer, and a quick no-dye scan is often chosen when a stone is suspected.
Easing Side Pain at Home
Home care suits muscle or gas pain with no warning signs. If a new warning sign appears, stop home treatment and get seen.
For muscle pain, apply heat for 15 to 20 minutes a few times a day. Keep moving gently rather than staying in bed, and avoid heavy lifting and twisting until it settles. See a doctor if it isn’t improving after a couple of weeks.
For gas, walking helps it move through the bowel. Cut back on fizzy drinks and gassy foods for a few days, and eat slowly and in smaller meals.
Mild dehydration can usually be managed by drinking more and replacing salts.21DripDrop. How to Rehydrate and Avoid Dehydration Cramps Forcing large amounts of water, though, will not treat a kidney infection or stone. Anti-inflammatory painkillers like ibuprofen can rarely cause an allergic kidney inflammation.22Europe PMC. [Drug-induced acute interstitial nephritis]. If you suspect a kidney problem, choose paracetamol and avoid long courses of ibuprofen. Follow the dose on the label, and avoid combining several products that contain the same drug.

