What causes chest pain, and what are the possible treatments? Chest pain can result from a heart problem, lung disease, digestive disorder, muscle strain, anxiety, or another condition. Because some causes can become life-threatening within minutes, you need to recognize emergency warning signs and seek medical assessment before trying to treat unexplained chest pain at home.
When Chest Pain Is an Emergency
Chest pain describes discomfort anywhere between your neck and upper abdomen. You may feel it as pressure, tightness, squeezing, heaviness, burning, aching, or a sharp sensation. The discomfort may remain in your chest or spread to your arm, shoulder, back, neck, jaw, or upper abdomen.
You should treat new chest pain as potentially serious until a healthcare professional evaluates you. The intensity of pain does not reliably show how dangerous the cause is. A mild sensation may occur during a heart attack, while severe pain may result from a less dangerous muscle injury.
Call your local emergency number or go to the nearest emergency department immediately if you experience:
- Crushing, squeezing, tight, or heavy chest pressure.
- Pain that spreads to your arm, shoulder, back, neck, jaw, or upper abdomen.
- Chest discomfort with shortness of breath, sweating, nausea, vomiting, dizziness, fainting, or a racing or irregular heartbeat.
- Sudden sharp chest pain with difficulty breathing.
- Chest pain after prolonged travel, bed rest, surgery, or another period of limited movement, particularly if one leg is swollen.
- Sudden, severe chest or upper-back pain that feels tearing or ripping.
- Chest pain that begins during exertion and does not improve promptly with rest.
- Chest pain that occurs at rest or becomes more frequent, intense, or prolonged if you already have angina.
- Chest pain after severe vomiting, especially if you develop difficulty breathing or severe weakness.
The American Heart Association and American College of Cardiology recommend immediate medical care for acute chest pain or equivalent symptoms because clinicians must first identify or exclude life-threatening conditions. These conditions include acute coronary syndrome, pulmonary embolism, aortic dissection, collapsed lung, and esophageal rupture.
Do not drive yourself if you have severe or unexplained chest pain. Emergency medical teams can begin assessment and treatment during transport, monitor your heart rhythm, and respond if your condition suddenly worsens.
While waiting for help, stop exercising and sit in a comfortable position. Loosen tight clothing and keep your phone nearby. Do not delay emergency care to test whether an antacid, painkiller, massage, or home remedy works.
Why you should not self-diagnose
Several conditions produce similar symptoms. Acid reflux can feel like pressure behind your breastbone, while a heart attack can feel like indigestion or mild burning. Muscle tenderness can occur with a heart attack as well as a chest-wall injury. For this reason, you cannot safely rule out a dangerous cause based only on how the pain feels or whether you can reproduce it by touching your chest.
Women, older adults, and people with diabetes may experience additional symptoms such as shortness of breath, nausea, fatigue, light-headedness, palpitations, or upper-abdominal discomfort. Chest pain remains a common symptom of heart-related emergencies in women, but accompanying symptoms may make the condition easier to overlook.
Your risk of a heart-related cause also increases if you smoke, have diabetes, high blood pressure, high cholesterol, obesity, kidney disease, known heart disease, or a close family history of premature heart disease. Cocaine and stimulant use can also increase the risk of serious cardiovascular complications. These factors do not prove that your pain comes from the heart, but they make prompt assessment more important.
Common Causes of Chest Pain
Your heart, lungs, esophagus, ribs, muscles, nerves, or nearby organs can cause pain that you feel in your chest. Pain can also travel from your neck, back, upper abdomen, or shoulder into the chest.
Heart-related causes
Heart attack
A heart attack, also called myocardial infarction, occurs when blood flow through a coronary artery becomes severely restricted or blocked. Without enough oxygen, part of the heart muscle begins to suffer injury.
You may feel a heart attack as pressure, squeezing, fullness, heaviness, burning, or aching in the center or left side of your chest. The discomfort may last several minutes, improve briefly, return, or gradually worsen. It may spread to your arm, shoulder, back, neck, jaw, or upper abdomen.
You may also develop:
- Shortness of breath.
- Cold sweating.
- Nausea or vomiting.
- Dizziness or fainting.
- Palpitations.
- Unusual weakness or fatigue.
- A feeling of impending danger.
You should not wait for severe pain before seeking help. A heart attack can cause permanent heart damage, dangerous heart rhythms, heart failure, or death if treatment is delayed.
Angina
Angina pectoris occurs when the heart muscle does not receive enough oxygen-rich blood. Stable angina commonly appears when you walk quickly, climb stairs, exercise, or experience emotional stress. It usually improves after you rest or follow the treatment plan prescribed by your clinician.
Unstable angina requires emergency assessment. It may occur with less activity than usual, last longer, become more intense, or happen while you rest. It can signal an impending heart attack.
Do not assume that recurring chest pain is “just your usual angina” if its pattern changes. A change in duration, severity, frequency, or trigger requires urgent medical attention.
Pericarditis
Pericarditis involves inflammation of the sac surrounding your heart. It often causes sharp or stabbing pain that becomes worse when you breathe deeply, cough, swallow, or lie down. You may feel some relief when you sit up and lean forward.
Pericarditis can follow a viral infection, but other causes include autoimmune disease, kidney failure, certain medicines, and heart injury. Healthcare professionals may use an ECG, blood tests, echocardiogram, or other imaging to identify the cause and assess complications.
Myocarditis
Myocarditis is inflammation of the heart muscle. It may follow an infection or result from an immune reaction, medication, toxin, or another medical condition. Chest pain, shortness of breath, fatigue, palpitations, and fainting can occur.
Because myocarditis can resemble a heart attack or cause abnormal heart rhythms, you need medical evaluation rather than home treatment.
Aortic dissection
An aortic dissection occurs when a tear develops in the inner layer of the aorta, the large artery that carries blood from your heart. Blood then tracks between layers of the artery wall.
This emergency often causes sudden, severe, tearing or ripping pain in the chest or upper back. You may also experience fainting, weakness, difficulty speaking, shortness of breath, or a difference in pulse or blood pressure between your limbs. High blood pressure and certain inherited connective-tissue disorders increase risk.
Treatment may require emergency blood-pressure control and surgery or another specialist procedure.
Lung-related causes
Pulmonary embolism
A pulmonary embolism occurs when a blood clot travels to an artery in your lungs. The clot often begins in a deep vein in the leg or pelvis.
You may develop sudden sharp chest pain that worsens when you breathe deeply. Other symptoms include shortness of breath, rapid breathing, a fast heartbeat, coughing, coughing up blood, dizziness, or fainting.
Risk factors include recent surgery, prolonged bed rest, long-distance travel, pregnancy or the postpartum period, cancer, previous blood clots, smoking, obesity, and some hormone medicines. A pulmonary embolism requires urgent diagnosis and treatment.
Pneumothorax
A pneumothorax, or collapsed lung, occurs when air enters the space between the lung and chest wall. It can happen after an injury, medical procedure, or lung disease, although it may also occur without an obvious trigger.
You may experience sudden, one-sided sharp chest pain and shortness of breath. A large or tension pneumothorax can reduce blood flow and become rapidly life-threatening.
Clinicians may treat it by removing trapped air with a needle or inserting a chest tube. A small pneumothorax may sometimes require monitoring, depending on its size and your symptoms.
Pneumonia and pleurisy
Pneumonia can cause fever, chills, cough, phlegm, shortness of breath, and sharp pain that worsens when you breathe or cough. Pleurisy occurs when the tissue layers around the lungs become inflamed, producing pain with breathing.
Treatment depends on the cause. Bacterial pneumonia may require antibiotics, while viral infections usually receive supportive treatment unless a specific antiviral medicine is appropriate. Severe pneumonia may require oxygen, intravenous treatment, or hospital care.
Asthma and other airway conditions
Asthma can cause chest tightness, wheezing, coughing, and breathlessness. Bronchitis and other airway infections may also produce chest discomfort from airway inflammation or repeated coughing.
You should seek urgent care if you struggle to speak in full sentences, develop bluish lips, become confused, or do not improve after using your prescribed reliever medicine.
Digestive causes
Gastroesophageal reflux disease
Gastroesophageal reflux disease, commonly called GERD, occurs when stomach contents move back into the esophagus. The resulting irritation can cause burning behind the breastbone, sour fluid in the mouth, belching, cough, or a sensation that food is rising into your throat.
GERD-related discomfort often becomes worse after a large meal, when you bend over, or when you lie down. However, these patterns cannot reliably exclude heart disease, particularly if you have risk factors or new symptoms.
A clinician may recommend smaller meals, avoiding personal triggers, not lying down immediately after eating, weight management when appropriate, and acid-reducing medicine. Persistent symptoms, difficulty swallowing, vomiting blood, black stools, or unintentional weight loss require medical evaluation.
Esophageal spasm
An esophageal spasm involves abnormal contractions of the esophagus. It can cause sudden squeezing chest pain that resembles angina and may occur with difficulty swallowing.
Because esophageal spasm and heart-related chest pain can feel similar, you should not assume that swallowing-related pain is harmless until a healthcare professional has assessed you.
Hiatal hernia
A hiatal hernia occurs when part of your stomach moves through the opening in your diaphragm. It may contribute to reflux, chest burning, regurgitation, or upper-abdominal discomfort.
Treatment may include lifestyle measures and acid-reducing medicines. Severe cases or complications may require surgical repair.
Gallbladder, stomach, and pancreatic conditions
Gallstones may produce pain in the upper abdomen or lower chest, particularly after a fatty meal. The discomfort may radiate to your right shoulder. Gastritis and peptic ulcers can cause burning or aching in the upper abdomen or lower chest.
Pancreatitis usually causes severe, persistent upper-abdominal pain that may extend into the back or chest. Vomiting and tenderness may accompany it. You need urgent medical care for suspected pancreatitis, gastrointestinal bleeding, severe abdominal pain, or persistent vomiting.
Musculoskeletal causes
Muscle strain
You can strain the muscles between your ribs or across your chest after lifting, exercising, coughing, or performing repetitive work. The pain may worsen when you move your upper body, take a deep breath, or press on the affected area.
Although pain that you can reproduce by pressing the chest often points toward a musculoskeletal cause, it does not guarantee that your heart is healthy. If you have risk factors or additional symptoms, seek medical assessment.
Costochondritis
Costochondritis involves inflammation where the ribs connect to the breastbone. It commonly causes localized pain near the front of the chest. Movement, deep breathing, coughing, or pressure over the affected area can make it worse.
Treatment may include rest, heat or cold applications, and an appropriate pain reliever if your clinician confirms the diagnosis and considers your medical history. Some anti-inflammatory medicines can worsen ulcers, kidney disease, high blood pressure, or heart failure, so you should not use them routinely without checking that they are safe for you.
Rib injury
A bruised or fractured rib can cause pain when you breathe, cough, twist, or press on the injury. You may develop an injury after a fall, collision, sports activity, or forceful coughing.
Treatment generally focuses on pain control, breathing comfortably, and managing the underlying injury. Avoid tightly binding your chest unless a healthcare professional specifically instructs you, because restricting breathing can increase complications.
Anxiety, panic, and stress
A panic attack can cause chest tightness, rapid heartbeat, shortness of breath, trembling, sweating, dizziness, tingling, and an intense fear of dying. Stress can also cause muscle tension and altered breathing that produce chest discomfort.
You should not label your symptoms as anxiety without considering physical causes, especially if the episode is new, severe, occurs during exertion, or includes fainting or significant breathlessness. Once a clinician rules out dangerous conditions, treatment may include breathing techniques, cognitive behavioral therapy, stress management, and medication when appropriate.
Shingles and nerve pain
Shingles occurs when the chickenpox virus becomes active again in a nerve. It can begin with burning, tingling, or severe pain on one side of your chest or back, followed by a stripe-like blistering rash.
Early antiviral treatment may reduce complications, so contact a clinician promptly if you develop one-sided chest pain followed by a rash. Pain may persist after the rash heals and may require specific nerve-pain treatment.
How Clinicians Diagnose Chest Pain
Your clinician will first assess whether you are stable and whether your symptoms suggest a heart, lung, vascular, digestive, or musculoskeletal emergency. You should describe the pain as precisely as possible.
Tell the healthcare team:
- When the pain began.
- Whether it started suddenly or gradually.
- Whether it is constant or comes and goes.
- Where you feel it and whether it travels elsewhere.
- Whether you describe it as pressure, burning, stabbing, tightness, squeezing, or tearing.
- What triggers or relieves it.
- Whether movement, breathing, eating, or lying down changes it.
- Whether you have shortness of breath, sweating, nausea, faintness, palpitations, fever, or cough.
- Whether you have heart or lung disease, diabetes, high blood pressure, or previous blood clots.
- Which medicines, supplements, and recreational drugs you use.
Initial tests
An electrocardiogram, or ECG, records your heart’s electrical activity. It can identify patterns associated with a heart attack, reduced blood flow, inflammation, or abnormal rhythms. Clinicians may repeat the ECG because the first tracing can be normal early in an illness.
Blood tests can measure cardiac troponin, a protein released when heart muscle becomes injured. High-sensitivity troponin tests help clinicians detect or exclude myocardial injury when interpreted alongside your symptoms, ECG, examination, and the timing of the test.
A chest X-ray can show pneumonia, a collapsed lung, changes in the heart’s size, or other chest conditions. Pulse oximetry measures your blood oxygen level with a sensor placed on your finger.
Depending on your symptoms, clinicians may perform an echocardiogram. This ultrasound examination shows how your heart muscle, valves, and surrounding structures work.
Additional testing
If your initial assessment does not reveal the cause, you may need further tests, such as:
- CT coronary angiography to examine the arteries supplying your heart.
- An exercise stress test to observe your heart during exertion.
- Stress echocardiography or nuclear imaging to evaluate blood flow and heart function.
- Coronary catheterization to identify and treat blockages.
- CT pulmonary angiography when clinicians suspect a pulmonary embolism.
- A D-dimer blood test when your risk of pulmonary embolism is low or intermediate.
- CT or MRI imaging of the aorta when clinicians suspect dissection.
- Endoscopy or esophageal testing for persistent swallowing or reflux symptoms.
- Ultrasound imaging for gallbladder disease.
- Blood tests and abdominal imaging for suspected pancreatitis.
The American Heart Association and American College of Cardiology recommend structured risk assessment rather than relying on a single symptom or test. People at low risk may not need urgent cardiac testing, while those at intermediate or high risk may benefit from cardiac imaging or stress testing.
Possible Treatments for Chest Pain
Treatment depends on the diagnosis, how severe the condition is, and your risk of complications. You should not use a treatment for one cause to manage pain from another cause.
Treatment for heart-related chest pain
If clinicians suspect a heart attack or acute coronary syndrome, they may monitor your heart, provide oxygen when clinically necessary, administer medicines, and rapidly restore blood flow. Treatment can include antiplatelet medicines, anticoagulants, nitrates, medicines that reduce the heart’s workload, and cholesterol-lowering therapy.
Some patients require emergency coronary angioplasty and stent placement. During this procedure, a clinician guides a thin tube into the blocked artery, expands a small balloon, and may place a mesh stent to keep the artery open.
Other patients may need clot-dissolving medicine when immediate angioplasty is unavailable or unsuitable. A coronary artery bypass operation may create a new route around severely narrowed or blocked arteries. Mayo Clinic identifies nitroglycerin, blood-pressure medicines, aspirin administered as part of professional care, clot-busting medicines, and blood thinners among treatments that may be used for selected heart-related causes. mayoclinic
Stable angina treatment may include:
- Prescribed nitroglycerin for episodes.
- Medicines that reduce heart rate or blood pressure.
- Cholesterol-lowering therapy.
- Antiplatelet treatment when indicated.
- Diabetes and blood-pressure management.
- Smoking cessation.
- A supervised exercise or cardiac rehabilitation programme.
- Coronary intervention when symptoms remain uncontrolled or blockages pose substantial risk.
Never borrow nitroglycerin or heart medicine from another person. Do not use prescription medicines without discussing interactions and contraindications with a healthcare professional.
Treatment for pulmonary embolism
Clinicians usually treat a pulmonary embolism with anticoagulants, which prevent an existing clot from growing and reduce the risk of new clots. They may use injectable or oral medicines depending on your condition.
A life-threatening pulmonary embolism may require clot-dissolving treatment, catheter-based clot removal, surgery, oxygen, blood-pressure support, or intensive monitoring. Treatment decisions depend on blood pressure, oxygen levels, clot burden, bleeding risk, pregnancy status, kidney function, and other factors.
Treatment for pneumothorax
A small pneumothorax may improve while clinicians monitor your symptoms and repeat imaging. A larger or symptomatic pneumothorax may require removal of air using a needle or chest tube.
A tension pneumothorax requires immediate decompression because pressure in the chest can interfere with breathing and circulation. This is an emergency procedure performed by trained medical professionals.
Treatment for pneumonia and pleurisy
Treatment for pneumonia depends on whether bacteria, viruses, fungi, or another cause is responsible. Your clinician may recommend antibiotics, antiviral treatment, fluids, rest, fever control, oxygen, or hospital care.
Pleurisy treatment targets its underlying cause. A viral infection may improve with supportive care, while bacterial infection, autoimmune disease, pulmonary embolism, or another condition requires specific treatment.
Treatment for GERD and esophageal conditions
If your clinician identifies GERD as the likely cause, you may receive advice to:
- Eat smaller meals.
- Avoid lying down for several hours after eating.
- Identify and reduce foods that trigger your symptoms.
- Limit alcohol if it worsens reflux.
- Stop smoking.
- Raise the head of your bed if nighttime symptoms occur.
- Lose weight if excess weight contributes to reflux.
- Use an antacid, H2 blocker, or proton pump inhibitor as directed.
Persistent or severe reflux may require testing for esophageal injury, a hiatal hernia, or another condition. Difficulty swallowing, painful swallowing, vomiting blood, black stools, anemia, or unexplained weight loss requires prompt evaluation.
Treatment for muscle and chest-wall pain
After a clinician rules out dangerous causes, treatment may include temporary activity modification, gentle movement, heat or ice, physiotherapy, and a suitable pain reliever.
You should ask a healthcare professional or pharmacist before taking nonsteroidal anti-inflammatory drugs such as ibuprofen or diclofenac if you have kidney disease, ulcers, heart disease, uncontrolled high blood pressure, are pregnant, or take blood thinners.
If coughing causes the pain, treating the cough and its underlying cause may help. Persistent localized pain, swelling, deformity, fever, or worsening breathlessness warrants reassessment.
Treatment for panic-related chest pain
Once physical emergencies have been excluded, you can work with a clinician or mental-health professional to address panic symptoms. Cognitive behavioral therapy can help you identify fear-driven thought patterns and reduce avoidance behaviours.
Your clinician may teach controlled breathing, grounding exercises, sleep improvement, and stress-management techniques. Medicines may help some people, but you should use them only under professional supervision because certain anti-anxiety medicines can cause dependence, drowsiness, or dangerous interactions.
Treatment for shingles
Antiviral medicines work best when started early after the rash appears. Your clinician may also recommend pain treatment or medicines specifically designed for nerve pain.
Avoid close contact between the rash and people who have not had chickenpox or vaccination, pregnant people, newborns, and people with weakened immune systems until the lesions have crusted. A clinician can advise you about infection precautions.
Preventing Recurring Chest Pain
You cannot prevent every cause of chest pain, but you can reduce your risk of several serious conditions.
Control your blood pressure, cholesterol, and blood glucose. Take prescribed medicines consistently and attend follow-up appointments. If you smoke, seek structured support to quit. Avoid cocaine and other stimulants because they can trigger severe heart and blood-vessel problems.
Build physical activity gradually according to your clinician’s advice. If you have known heart disease, ask whether cardiac rehabilitation or a supervised exercise plan is appropriate. Eat a balanced diet that emphasizes vegetables, fruits, whole grains, legumes, and appropriate sources of protein.
Maintain a healthy weight when possible, limit alcohol, sleep adequately, and manage stress. These measures support cardiovascular health but cannot replace emergency care when you develop new chest pain.
Keep a record of recurring symptoms. Note the time, duration, location, trigger, associated symptoms, and what relieved the discomfort. This information can help your clinician identify patterns such as exertional angina, reflux after meals, or pain related to movement.
Frequently Asked Questions
Can gas cause chest pain?
Gas, bloating, reflux, and esophageal irritation can create pressure or burning in the chest. However, you should not assume that chest pressure comes from gas when the symptom is new, severe, persistent, occurs with exertion, or accompanies sweating, nausea, breathlessness, dizziness, or pain spreading to your arm, back, neck, or jaw.
How can you tell whether chest pain is muscular?
Muscular or chest-wall pain often worsens when you move, twist, cough, breathe deeply, or press on a specific area. Even so, these features do not completely exclude a heart problem. If you have cardiovascular risk factors or additional symptoms, seek medical evaluation.
Can chest pain go away on its own?
Some causes, including mild muscle strain, reflux, or brief anxiety symptoms, may improve without urgent treatment. A dangerous condition can also improve temporarily and then return. Do not use temporary relief as proof that you are safe.
Should you take aspirin for chest pain?
Aspirin may form part of professional treatment for suspected heart-related chest pain, but it is not suitable for everyone. Allergies, active bleeding, stomach ulcers, anticoagulant use, pregnancy, and other conditions can change the risk. Follow the instructions of emergency medical services or a qualified healthcare professional rather than self-medicating.
When should you see a doctor for recurring chest pain?
Arrange medical assessment for recurring, unexplained, or gradually worsening chest pain, even if each episode disappears. Seek emergency care if the pain becomes more intense, lasts longer, occurs at rest, follows exertion, or appears with shortness of breath, fainting, sweating, nausea, or pain that spreads to another part of your body.
Chest pain has many possible causes, and no single symptom can safely identify the cause at home. If you have sudden, severe, new, or unexplained chest pain, seek emergency help first; after clinicians rule out life-threatening conditions, they can provide treatment directed at the specific problem.