Why does my chest hurt when i swallow a pill

Esophagitis (uh-sof-uh-JIE-tis) is inflammation of the esophagus. The esophagus is the muscular tube that delivers food from your mouth to your stomach.

Esophagitis can cause painful, difficult swallowing and chest pain. Many different things can cause esophagitis. Some common causes include stomach acids backing up into the esophagus, infection, oral medicines and allergies.

Treatment for esophagitis depends on the underlying cause and how badly the tissue lining the esophagus is damaged. If left untreated, esophagitis can damage this lining and interfere with its function, which is to move food and liquid from your mouth to your stomach. Esophagitis also can lead to complications such as scarring or narrowing of the esophagus, unintended weight loss and dehydration.

Products & Services

  • Book: Mayo Clinic on Digestive Health

Symptoms

Common symptoms of esophagitis include:

  • Difficulty swallowing.
  • Painful swallowing.
  • Swallowed food becoming stuck in the esophagus, also known as food impaction.
  • Chest pain, particularly behind the breastbone, that occurs with eating.
  • Heartburn.
  • Acid regurgitation.

In infants and young children, particularly those too young to explain their discomfort or pain, symptoms of esophagitis may include:

  • Feeding difficulties, such as irritability, arching of the back and not wanting to eat.
  • Failure to thrive.
  • Chest or belly pain in older children.

When to see a doctor

Most symptoms of esophagitis can be caused by a few different conditions affecting the digestive system. See your health care provider if symptoms:

  • Last more than a few days.
  • Aren't relieved by nonprescription antacids.
  • Are bad enough to make eating difficult or if you are losing weight.
  • Are accompanied by flu symptoms, such as headache, fever and muscle aches.

Get emergency care if you:

  • Have pain in your chest that lasts more than a few minutes.
  • Suspect you have food stuck in your esophagus.
  • Have a history of heart disease and experience chest pain.
  • Have pain in your mouth or throat when you eat.
  • Have shortness of breath or chest pain that happens shortly after eating.
  • Vomit large amounts, often have forceful vomiting, have trouble breathing after vomiting or have vomit that is yellow or green, looks like coffee grounds, or contains blood.

Request an Appointment at Mayo Clinic

 

There is a problem with information submitted for this request. Review/update the information highlighted below and resubmit the form.

Get the latest health information from Mayo Clinic delivered to your inbox.

Subscribe for free and receive your in-depth guide to digestive health, plus the latest on health innovations and news. You can unsubscribe at any time.

Email address

ErrorEmail field is required

ErrorInclude a valid email address

Subscribe

Learn more about Mayo Clinic’s use of data.

To provide you with the most relevant and helpful information, and understand which information is beneficial, we may combine your email and website usage information with other information we have about you. If you are a Mayo Clinic patient, this could include protected health information. If we combine this information with your protected health information, we will treat all of that information as protected health information and will only use or disclose that information as set forth in our notice of privacy practices. You may opt-out of email communications at any time by clicking on the unsubscribe link in the e-mail.

Thank you for subscribing

Your in-depth digestive health guide will be in your inbox shortly. You will also receive emails from Mayo Clinic on the latest health news, research, and care.

If you don’t receive our email within 5 minutes, check your SPAM folder, then contact us at [email protected].

The esophagus is the muscular tube that carries food through the chest, from the mouth to the stomach. Normally you don't feel it except when you are swallowing. However, if the inside lining of your esophagus becomes inflamed, you may experience pain or problems with swallowing. This inflammation of the esophagus is called esophagitis. 


Why does my chest hurt when i swallow a pill

Esophagitis has several common causes:

  • Acid reflux — By far the most common cause of esophagitis is acid reflux (also called gastroesophageal reflux disease or GERD). It is a backflow of digestive acid from the stomach, resulting in a chemical burn of the esophagus.


Why does my chest hurt when i swallow a pill

  • Eating disorders — Similar to acid reflux, frequent vomiting can cause acid burn in the esophagus. Esophagitis sometimes is seen in people with eating disorders such as bulimia.
  • Medications ("Pill esophagitis") — Some common medications also can cause a chemical burn in the esophagus. Pills that are most likely to cause esophagitis include:
  • Chemotherapy and radiation therapy for cancer — Some of these treatments can injure the esophagus lining, resulting in esophagitis.
  • Infections — Infections in the esophagus also can cause esophagitis. They usually occur in people with a weak immune system. Esophagitis from infections is common in people who have HIV infection, use steroid medicines long-term, have had organ transplants, or have been treated with chemotherapy for cancer.

Only a few types of infection are common in the esophagus, such as:

Even in someone who already has a herpes infection in the mouth, it rarely spreads down to the esophagus if the immune system is normal.

    • yeast
    • herpes virus (HSV)
    • cytomegalovirus (CMV)

Eosinophilic esophagitis is a special subtype of this condition. The diagnosis is based on biopsy samples of the esophagus that show a predominance of eosinophils. Eosinophils are a type of white blood cells that the body may produce in response to inflammation or an allergic reaction.

The main symptoms of esophagitis are:

  • Pain in the chest (behind the breastbone) or throat. The pain can be burning, heavy or sharp. If acid reflux is the cause of esophagitis, the pain may be worse after meals or when you lie flat. Pain from esophagitis may be constant or may come and go.  
  • Swallowing problems including worsening of the chest pain when you swallow or a feeling of food sticking in your chest after you swallow  
  • Bleeding, seen as blood in vomit or as darkening of the stools 

Diagnosis

The diagnosis often is made based on your symptoms.  

The most accurate way to check for esophagitis is for a doctor to look directly at the inside of the esophagus with a video camera called an endoscope. The endoscope has a camera at the end of a flexible, plastic-coated cord. This tube is long enough to reach through the stomach to the first portion of the intestine (duodenum). The procedure is sometimes called esophagogastroduodenoscopy or EGD.  

Using the endoscope, the doctor can see evidence of injury from esophagitis. The doctor will look for areas where the lining of the esophagus has worn away (called erosions or ulcers), blisters or scarred areas. Some infections leave a deposit on the esophagus walls that can be sampled through the endoscope by using a remote-controlled brush. In some cases the doctor will biopsy the esophagus by snipping a small sample of the inside lining through the end of the endoscope. This tissue is examined under a microscope.

Why does my chest hurt when i swallow a pill

Since esophagitis is only one of the things that can cause symptoms of chest pain or swallowing problems, your doctor may order other tests to evaluate your heart, lungs or digestive tract. 

Expected Duration

How long symptoms last depends on how easily their cause can be eliminated. Bad cases of reflux or resistant viruses, for example, might require several tries before the right medicine or treatment is found. In most cases, symptoms begin to improve within a few days of starting the right treatment. But it can take weeks for symptoms to go away completely. Esophagitis from an infection may be harder to cure if the immune system is severely weakened. 

Prevention

The most common cause of esophagitis, acid reflux, sometimes can be prevented by some very simple measures: 

  • Avoid heavy meals, especially within several hours of bedtime  
  • Cut out cigarettes and alcohol  
  • Avoid large amounts of caffeine, chocolate, peppermint and high-fat foods.  
  • Control your weight.  

If you have heartburn despite these measures, your doctor may suggest you take a preventative acid-blocking medicine.  

All prescription and nonprescription pills should be taken while you are upright and should be swallowed with water. This is especially important for the medicines that frequently cause esophagitis. 

Treatment depends on the cause of esophagitis.

  • Acid reflux — Lifestyle changes help reduce reflux:
    • Lose weight if necessary
    • Eat smaller meals
    • Don't lie down right after eating
    • Discover and avoid foods that cause symptoms

Acid blocking medications, including H2-blockers and proton-pump inhibitors, are usually prescribed. For persistent esophagitis, your doctor may recommend surgery to tighten the lower esophageal sphincter.

  • Pill esophagitis — Drinking a full glass of water after taking a pill can help. Usually, if esophagitis has occurred, it is necessary for you to stop the medicine at least temporarily while you heal. Since acid can worsen esophagitis caused by medications, your doctor also may prescribe an acid-blocking medication to speed healing.
  • Infections — The choice of treatment depends upon the infectious agent causing the esophagitis. Some esophagus infections are difficult to treat with swallowed pills or liquids, so medicines may be given intravenously (into a vein).
  • Eosinophilic esophagitis — Because eosinophilic esophagitis can be triggered by acid reflux, treatment usually includes lifestyle changes and proton pump inhibitors. When food allergies can be identified, eliminating those foods may be sufficient. Specific treatment can also include topical corticosteroids with fluticasone sprayed in the mouth and swallowed or a slurry of oral budesonide.

While your esophagus is recovering, your doctor can ease your pain symptoms by prescribing pain relievers.

When To Call A Professional

If you are unable to eat or drink due to pain during swallowing, you should contact your doctor. Life-threatening dehydration can develop quickly if you cannot drink liquids. 

Occasionally an injured esophagus can develop a hole, causing sudden worsening of chest pain, shortness of breath or fever. Report these symptoms to your doctor immediately.   

If your symptoms do not clear up with initial treatment, consult your doctor. Occasionally, scarring in the esophagus will cause persistent swallowing difficulty that might require dilation therapy done through the endoscope. 

Prognosis

Almost all cases of esophagitis can be cured. Some causes, such as acid reflux, may require long-term treatment.

Additional Info

American College of Gastroenterology
https://www.acg.gi.org/

American Gastroenterological Association
https://www.gastro.org/

Learn more about Esophagitis

Treatment options

Care guides

Further information

Always consult your healthcare provider to ensure the information displayed on this page applies to your personal circumstances.

How do I stop my chest from hurting when I swallow?

Nonsteroidal anti-inflammatory medications (NSAIDs) can reduce swelling and inflammation in the mouth, throat, and food pipe, making it easier and less painful to swallow. Taking antacids. Over-the-counter (OTC) antacids are effective for reducing pain that results from acid reflux. Using throat sprays.

How long does pill induced esophagitis last?

Two hours later, they develop a rapidly increasing severity of chest pain. This pain may be continuous and is often exacerbated by swallowing. It lasts a few days and gets better gradually. In more severe cases, patients may not be able to eat for a period of time.

Is pill induced esophagitis serious?

Drug-induced esophagitis can be self-limiting esophagitis, but if persistent, then it can lead to complications such as severe ulceration, strictures, and rarely even perforation.

What to do when a pill is stuck in your chest?

If a pill does get stuck, never let it stay there to dissolve. Many medicine will irritate your throat. A glass of water should free even the stickiest capsule. Eating some food after swallowing a pill makes sure that it goes down.