What is the medicine for chest pain when breathing? Before I give you the remedy, what causes that chest pain when you breathe? Chest pain when you breathe can make you feel scared, but it may not be serious. You may feel a sharp stab when you take a deep breath. You may feel pressure when you cough. The pain may be on one side, under your ribs, or in the middle of your chest.
The most important thing is this: do not guess. Chest pain can come from a pulled muscle, but it can also come from your heart, lungs, or a blood clot. New or severe chest pain needs urgent medical care from your doctor.
This piece will explain what may cause chest pain when breathing, which medicines doctors may use, what you can safely do at home after a doctor has checked you, and when to get emergency help.
First: When to Get Help Quickly
Call emergency services right away if you have chest pain with any of these signs:
- Pain that is new, strong, crushing, squeezing, or heavy.
- Pain that lasts more than a few minutes.
- Trouble breathing, even when resting.
- Pain that spreads to your arm, jaw, neck, back, or shoulder.
- Sweating, nausea, vomiting, or feeling very weak.
- Dizziness, fainting, or a fast heartbeat.
- Coughing up blood.
- Blue or gray lips, face, or fingertips.
- Fever with trouble breathing.
- Chest pain after a long trip, surgery, or a period of not moving much.
You should call emergency help for sudden, severe chest pain or any unexplained chest pain that lasts more than a few minutes. It also says to call right away if you have a lot of trouble breathing or think you are having a heart attack.
Do not drive yourself to the hospital if you feel faint, have severe pain, or cannot breathe well. Emergency workers can start care on the way.
Why Chest Pain Happens When You Breathe
Your chest holds many important parts. It has your heart, lungs, ribs, muscles, nerves, food pipe, and the lining around your lungs. Any of these can cause pain.
Pain that gets worse with a deep breath is often called pleuritic chest pain. It can come from the lining of the lungs, an infection, a blood clot, or a chest-wall problem.
Some causes are mild. Others are dangerous. That is why medicine depends on the cause. There is no single common “chest pain medicine” that is safe and correct for everyone, as causes differ.
Common Causes and Medicines
| Possible cause | How it may feel | Medicines a doctor may use |
|---|---|---|
| Chest-wall strain or costochondritis | Sharp pain when you press the chest, twist, cough, or breathe deeply | Paracetamol/acetaminophen, ibuprofen, topical anti-inflammatory gel |
| Pleurisy | Sharp pain on one side, worse with deep breaths | Paracetamol or ibuprofen; antibiotics if bacteria caused it |
| Pneumonia | Chest pain, cough, fever, shortness of breath | Antibiotics if bacterial; fever and pain medicine |
| Asthma or airway narrowing | Tight chest, wheeze, cough, short breath | Prescribed inhaler, such as a reliever inhaler |
| Acid reflux or heartburn | Burning behind the breastbone, worse after food or lying down | Antacids or acid-reducing medicine |
| Anxiety or panic | Fast heartbeat, tight chest, fear, fast breathing | Calming support; sometimes anti-anxiety medicine prescribed by a clinician |
| Heart-related chest pain | Pressure, squeezing, heaviness, pain with activity | Nitroglycerin, aspirin, blood-pressure medicines, clot-busting drugs in hospital |
| Blood clot in the lungs | Sudden shortness of breath and sharp pain with deep breathing | Blood thinners in hospital; sometimes clot-dissolving medicine |
Mayo Clinic lists nitroglycerin, blood-pressure medicines, aspirin, clot-busting drugs, blood thinners, acid-reducing medicines, and anti-anxiety medicines as treatments for different causes of chest pain.
Medicine for Muscle or Rib Pain
Sometimes the pain comes from the muscles or cartilage between your ribs. This is often called costochondritis. It can hurt more when you press on the chest, twist your body, cough, or take a deep breath.
Cleveland Clinic says rest and over-the-counter pain medicines such as NSAIDs or acetaminophen can help costochondritis. It also advises talking to a health professional before using pain medicine for more than 10 days in a row.
Paracetamol or Acetaminophen
Paracetamol is also called acetaminophen in some countries. It can lower pain and fever. Many people use it for mild chest-wall pain.
Follow the label. Do not take more than the package says. Be careful with cold and flu products, because many already contain paracetamol. Taking too much can harm your liver.
Ibuprofen and Other NSAIDs
NSAIDs are medicines that reduce pain, swelling, and fever. Ibuprofen and naproxen are common examples. They can help when the pain comes from inflammation in the chest wall or the lining around the lungs.
But NSAIDs are not right for everyone. Ask a pharmacist or doctor first if you:
- Have stomach ulcers or frequent heartburn.
- Have kidney disease.
- Take blood thinners.
- Have heart failure or high blood pressure.
- Are pregnant.
- Are older or dehydrated.
NSAIDs can irritate the stomach. Take them with food if your clinician or pharmacist says it is safe for you.
Heat, Rest, and Gentle Movement
Medicine is not the only help for muscle-related chest pain. You can also:
- Rest from heavy lifting and hard exercise for a short time.
- Use a warm pack on sore chest muscles.
- Avoid twisting movements that make the pain worse.
- Sit upright and take slow, calm breaths.
- Return to activity slowly once the pain improves.
For costochondritis, topical options such as heat, capsaicin, diclofenac gel, or lidocaine patches may also be used under medical advice.
Medicine for Pleurisy
Pleurisy means the thin layers around your lungs are irritated or inflamed. These layers normally slide smoothly when you breathe. When they are irritated, breathing can cause sharp, stabbing pain.
NHS says pleurisy pain can be eased with painkillers such as paracetamol or ibuprofen. It also says not smoking or vaping can help, because smoke can irritate the lungs and make pain worse.
If Infection Caused It
Pleurisy can follow a viral infection. In that case, it may improve on its own within a few days. NHS Inform says viral pleurisy often resolves without special treatment.
If bacteria caused the problem, such as pneumonia, you may need antibiotics. NHS says it is important to finish the full course, even if you start feeling better.
Do not take leftover antibiotics. Do not use someone else’s antibiotics. The wrong antibiotic may not treat the infection and can cause side effects.
If Fluid Builds Up
Sometimes fluid collects between the layers around the lungs. This can make breathing harder. NHS Inform says doctors may need to drain this fluid to prevent breathing problems.
That is a hospital procedure. Painkillers alone will not fix it.
Medicine for Pneumonia
Pneumonia is an infection in the lungs. It can cause chest pain when you breathe, especially if the lining around the lung is affected.
You may also have:
- A cough.
- Fever or chills.
- Fast breathing.
- Shortness of breath.
- Tiredness.
- Mucus when you cough.
Your doctor decides if you need antibiotics. Bacterial pneumonia needs antibiotics. Viral pneumonia may not. Your clinician will choose the right treatment based on your symptoms, examination, and sometimes tests.
While you recover, your doctor may advise:
- Paracetamol for fever and pain.
- Ibuprofen for pain and inflammation, if safe for you.
- Plenty of fluids, unless a clinician has told you to limit fluids.
- Rest.
- Stopping smoking or vaping.
Get urgent care if you cannot breathe well, become confused, have blue lips, faint, or your symptoms get worse.
Medicine for Asthma or Wheezing
Asthma can make your chest feel tight. You may cough, wheeze, or feel like you cannot get enough air. Chest tightness can hurt, especially during an asthma flare.
Cleveland Clinic says that if you have asthma, your inhaler may help with lung-related chest pain. It also says chest pain with coughing, wheezing, fever, or shortness of breath should prompt a call to a health professional.
Reliever Inhalers
Many people with asthma use a quick-relief inhaler. These often contain a medicine such as salbutamol or albuterol. They help open the airways quickly.
Use your inhaler exactly as your doctor taught you. If you do not improve after using your reliever inhaler, or if you need it more often than usual, seek medical help.
Preventer Inhalers
Some people use a daily preventer inhaler. It lowers swelling in the airways over time. It does not work as fast as a reliever inhaler.
Do not stop your preventer inhaler just because you feel better. Ask your doctor before changing asthma medicine.
Medicine for Heartburn or Reflux
Sometimes chest pain when breathing is not from the heart or lungs. It can come from stomach acid moving up into your food pipe. This is called acid reflux or heartburn.
You may feel:
- A burning feeling behind the breastbone.
- A sour taste in your mouth.
- Pain after eating.
- Pain when lying down or bending over.
- A tight feeling in the chest.
Cleveland Clinic says antacid medicine may help if chest pain is linked to food. Mayo Clinic lists acid-reducing medicines as a treatment option when heartburn is the cause.
Antacids
Antacids neutralize stomach acid. They may work quickly for mild heartburn. They are usually used for short-term relief.
Acid-Reducing Medicines
Some medicines lower the amount of acid your stomach makes. A pharmacist or doctor can help you choose one that fits your health needs.
If you have chest pain with sweating, shortness of breath, fainting, or pain spreading to your arm or jaw, do not assume it is heartburn. Get emergency help.
Medicine for Anxiety and Panic
Anxiety can cause real chest symptoms. During a panic attack, you may breathe fast, feel your heart race, feel dizzy, or feel tightness in your chest.
Mayo Clinic says anti-anxiety medicines may be recommended for panic attacks. It also notes that talk therapy, such as cognitive behavioral therapy, may be recommended.
But do not decide on your own that chest pain is anxiety. Anxiety can happen at the same time as a heart or lung problem. If the pain is new, severe, or comes with breathing trouble, get checked first.
Helpful steps during a panic episode, after serious causes have been ruled out, include:
- Sit down in a safe place.
- Slow your breathing.
- Breathe in gently through your nose.
- Breathe out slowly through your mouth.
- Focus on your feet touching the floor.
- Ask someone to stay with you if you feel faint.
Medicine for Heart-Related Chest Pain
Heart-related chest pain can feel like pressure, squeezing, fullness, or heaviness. It may happen during activity, stress, or cold weather. It may ease with rest.
This type of pain is called angina pectoris when it comes from reduced blood flow to the heart muscle. MedlinePlus says angina is chest discomfort caused by poor blood flow through the blood vessels of the heart muscle.
Nitroglycerin
Nitroglycerin is a medicine that relaxes and widens blood vessels. This can improve blood flow to the heart. Mayo Clinic says it is often taken as a tablet under the tongue.
MedlinePlus gives important instructions:
- Sit or lie down when you use nitroglycerin.
- Place the tablet under your tongue or between your cheek and gum.
- Let it dissolve. Do not swallow it.
- If using a spray, spray it onto or under your tongue.
- Do not inhale or swallow the spray.
- Wait five minutes after the first dose.
- Call emergency services if symptoms do not improve, get worse, or return.
Never use another person’s nitroglycerin. Mayo Clinic specifically warns not to take anyone else’s nitroglycerin.
Aspirin
Aspirin does not take away chest pain. But if a clinician thinks your chest pain is related to a heart problem, aspirin may be part of emergency treatment because it can reduce clotting. Mayo Clinic explains that aspirin is part of treatment for people who have or may have blocked heart arteries.
Do not start regular aspirin on your own for chest pain. It can cause bleeding and is not safe for everyone. Follow emergency advice or your clinician’s instructions.
Hospital Medicines
If you are having a heart attack, hospital staff may use:
- Aspirin.
- Blood thinners.
- Nitroglycerin.
- Medicines to control blood pressure and heart rhythm.
- Clot-busting drugs, also called thrombolytics, in some cases.
These medicines can be powerful. They must be given by trained medical staff after the right tests.
Medicine for a Blood Clot in the Lungs
A pulmonary embolism is a blood clot that blocks an artery in the lungs. It is a medical emergency.
The CDC says common signs of a pulmonary embolism include unexplained shortness of breath, pleuritic chest pain, cough or coughing up blood, and fainting. The CDC also says chest pain or discomfort often gets worse with a deep breath or cough.
MedlinePlus says the pain may be sharp or stabbing, often gets worse with deep breathing, and may feel like it is under the breastbone or on one side of the chest.
Blood Thinners
The main treatment is usually an anticoagulant, often called a blood thinner. These medicines do not truly make blood thin. They make it harder for blood to form new clots and help stop an existing clot from growing.
The CDC lists common injectable anticoagulants as heparin, low-molecular-weight heparin, and fondaparinux. It lists oral options including warfarin, dabigatran, rivaroxaban, apixaban, and edoxaban.
Cleveland Clinic says anticoagulants are the first-line treatment for pulmonary embolism. They help keep the clot from growing and lower the risk of new clots.
Blood thinners can cause bleeding. You must take them only when a clinician prescribes them and follow the plan closely. Tell your doctor if you notice unusual bruising, blood in urine or stool, nosebleeds, bleeding gums, or heavy bleeding from a small cut.
Clot-Busting Medicine
For a large or dangerous clot, hospital staff may use stronger medicines that break up the clot. These are called thrombolytics. Mayo Clinic lists them as treatment for heart attack, while blood thinners are used when there is a clot in an artery going to the heart or lungs.
These medicines can cause serious bleeding. They are not home medicines.
What You Can Do at Home—After a Doctor Checks You
If a health professional has ruled out a dangerous cause, you may be able to manage mild chest-wall pain at home. Cleveland Clinic says home treatment may include antacids for acid-related pain, an inhaler for asthma, or anti-inflammatory medicine for some muscle-related pain.
Simple Steps That May Help
- Rest. Stop the activity that started the pain.
- Sit upright. This can make breathing feel easier.
- Use a warm pack. Place it on sore chest muscles for short periods.
- Take slow breaths. Do not hold your breath for long periods.
- Avoid smoking and vaping. NHS says these can irritate the lungs and worsen pleurisy pain.
- Drink water. This helps general recovery, unless your clinician has told you to limit fluids.
- Track your symptoms. Write down when the pain starts, what makes it worse, and how long it lasts.
- Follow your prescription. Take medicine exactly as your clinician prescribed it.
Medicines to Be Careful With
Do not treat chest pain by trying many medicines at once. Some combinations can be unsafe.
Painkillers
Paracetamol and ibuprofen can help some causes of chest pain, but they do not treat a heart attack, a lung clot, or a serious infection. NHS recommends them for pleurisy pain, but only after the cause has been assessed.
Antibiotics
Antibiotics do not help viral infections. They can cause side effects and contribute to antibiotic resistance when used wrongly. Use them only when a clinician says you need them.
Aspirin
Aspirin can be helpful in some heart emergencies, but it is not safe for everyone. It can increase bleeding risk. Do not take it routinely for chest pain unless a clinician or emergency service tells you to.
Someone Else’s Medicine
Never use another person’s inhaler, nitroglycerin, blood thinner, antibiotic, or pain medicine. The dose may be wrong for you. The medicine may interact with your health conditions or other drugs.
Questions Your Doctor May Ask
Your clinician will try to find the cause. Be ready to answer:
- When did the pain start?
- Did it begin suddenly or slowly?
- Is it sharp, burning, pressing, or stabbing?
- Does it hurt more when you breathe in, cough, move, or press your chest?
- Do you have a fever, cough, wheeze, or mucus?
- Do you have shortness of breath?
- Does the pain spread anywhere?
- Have you had heart disease, blood clots, asthma, or reflux before?
- What medicines and supplements do you take?
- Have you traveled recently, had surgery, or been unable to move for a long time?
These details matter. A blood clot, heart problem, infection, and muscle strain can all cause chest pain, but they need very different treatment.
Tests You May Need
Depending on your symptoms, a clinician may order:
- ECG: Checks the electrical activity of your heart.
- Blood tests: Can look for heart strain, infection, or clot-related signs.
- Chest X-ray: Can show lung infection, fluid, or other chest problems.
- CT scan: Can look for a blood clot in the lungs or other lung problems.
- Oxygen check: Measures how much oxygen is in your blood.
- Breathing tests: Can check for asthma or other airway problems.
These tests help your clinician choose the safest medicine. Chest pain has many possible causes, and some are serious, which is why Mayo Clinic stresses professional assessment.
How to Prevent Some Causes
You cannot prevent every cause of chest pain. But you can lower the risk of some common problems.
- Do not smoke or vape.
- Manage asthma with your prescribed inhalers.
- Keep reflux under control with your clinician’s advice.
- Move your legs on long trips to lower clot risk.
- Follow your doctor’s plan after surgery or illness.
- Treat high blood pressure, diabetes, and high cholesterol as advised.
- Stay active in a way that is safe for you.
- Learn your heart warning signs if you have heart disease.
If you have had a blood clot before, follow your clinician’s prevention plan. Anticoagulants are commonly used to prevent and treat clots, but they need careful medical supervision because they can cause bleeding.
A Simple Safety Plan
If you get chest pain when breathing:
- Stop what you are doing. Sit down and rest.
- Check for danger signs. Trouble breathing, fainting, sweating, spreading pain, or coughing blood means call emergency services.
- Do not self-diagnose. Chest pain can be mild or life-threatening.
- Use only prescribed medicine. For example, use your own asthma inhaler or nitroglycerin only as directed.
- Get checked if pain is new or does not go away. Kaiser Permanente says chest pain that does not go away needs medical evaluation.
- Follow up. Even if the pain improves, ask a clinician why it happened and what to do next time.
Important Reminder
There is no safe universal medicine for chest pain when breathing. The right medicine depends on the cause.
- Muscle pain may improve with paracetamol, ibuprofen, rest, or heat.
- Pleurisy may improve with pain relief and antibiotics if bacteria caused it.
- Pneumonia may need antibiotics.
- Asthma may need an inhaler.
- Reflux may improve with antacids or acid-reducing medicine.
- Heart-related pain may need nitroglycerin, aspirin, or hospital treatment.
- A lung blood clot needs urgent blood-thinning treatment.
If your chest pain is new, severe, worsening, or comes with shortness of breath, treat it as an emergency until a medical professional tells you otherwise.