Heart spasms happen when the muscle in the wall of a coronary artery suddenly tightens, temporarily narrowing or even closing off blood flow to part of the heart. The medical term is coronary artery spasm, and the chest pain it produces is called Prinzmetal angina or variant angina. It accounts for roughly 2 out of every 100 cases of angina, making it relatively rare, but it can strike people who are otherwise young and healthy with no traditional heart disease risk factors.
What Happens Inside the Artery
Your coronary arteries are lined with a layer of smooth muscle that normally contracts and relaxes gently to regulate blood flow. In a coronary artery spasm, that smooth muscle becomes hyperreactive. It clamps down far harder than it should, sometimes reducing the artery’s diameter by more than 90 percent. When blood flow drops that dramatically, the heart muscle downstream is starved of oxygen, producing the crushing or squeezing chest pain people describe.
Two things go wrong at the cellular level. First, the inner lining of the artery (the endothelium) stops working properly. It normally releases signals that keep the smooth muscle relaxed, and when that signaling breaks down, the muscle is more prone to tightening. Second, the muscle cells themselves become overly sensitive. They allow too much calcium to flow in, and calcium is the chemical signal that tells muscle fibers to contract. Magnesium deficiency can worsen this problem, because magnesium normally helps counterbalance calcium’s effects on muscle contraction.
Common Triggers
Most coronary spasms don’t come out of nowhere. They tend to follow a recognizable trigger:
- Tobacco use. Smoking is one of the strongest and most consistent triggers. Nicotine constricts blood vessels on its own, and the chemicals in cigarette smoke damage the artery lining over time, making spasms more likely.
- Stimulant drugs. Cocaine and amphetamines directly cause coronary arteries to constrict. Even a single use can provoke a severe spasm in someone with no prior heart problems.
- Extreme cold. Sudden exposure to cold temperatures triggers the body’s natural vasoconstriction response, and in a susceptible artery, that response can overshoot into a full spasm.
- Intense emotional stress. The surge of stress hormones during a panic, argument, or crisis can set off a spasm, particularly in arteries already prone to hyperreactivity.
Spasms also tend to happen at rest rather than during exercise, which is one of the things that distinguishes them from the more common type of angina caused by plaque buildup. Many people experience them between midnight and early morning.
Who Is at Risk
Prinzmetal angina doesn’t follow the typical profile of heart disease. It affects both men and women, and it tends to show up in younger people compared to classic angina. You don’t need high cholesterol or high blood pressure to develop it, though having those conditions doesn’t rule it out either. There’s also a notable demographic pattern: coronary artery spasm is diagnosed more frequently in Japanese populations than in white populations, suggesting a genetic component to the smooth muscle hyperreactivity that drives it.
Magnesium deficiency is one modifiable risk factor worth knowing about. Low magnesium levels have been found in some patients with recurrent spasms, and since magnesium plays a direct role in keeping smooth muscle relaxed, correcting a deficiency may reduce the frequency of episodes.
What a Spasm Feels Like
The hallmark symptom is a sudden, tight, squeezing chest pain. It can be intense enough to feel like a heart attack. The pain typically comes on at rest, lasts several minutes, and then eases. Some people also notice their heart racing or skipping beats during an episode, because the temporary loss of blood flow can disrupt the heart’s electrical rhythm.
A key clinical feature is that the pain usually responds quickly to nitroglycerin, a medication that relaxes blood vessel walls. If you’ve been given nitroglycerin and the pain improves within minutes, that pattern strongly suggests spasm rather than a blockage from plaque.
Heart Spasm vs. Esophageal Spasm
Chest pain from the esophagus (the tube connecting your throat to your stomach) can feel remarkably similar to a coronary spasm. Esophageal spasms produce intense squeezing chest pain that lasts minutes to hours and is frequently mistaken for heart pain. The overlap is close enough that you should never assume chest pain is coming from your esophagus without ruling out a cardiac cause first.
That said, there are some distinguishing clues. Esophageal spasms are often triggered by swallowing, particularly hot or cold liquids or red wine. They may come with difficulty swallowing, a sensation of something stuck in your throat, or food and liquid coming back up. Coronary artery spasms, by contrast, aren’t related to eating or swallowing and tend to occur in the early morning hours at rest. If squeezing chest pain hits and you’re not sure of the cause, treat it as a heart problem until proven otherwise.
How Spasms Are Diagnosed
Coronary artery spasms are tricky to catch because the artery looks completely normal between episodes. Standard heart tests like stress tests or resting angiograms often come back clean. This is why many people go through multiple evaluations before getting a diagnosis.
The definitive test is a provocation test performed during a cardiac catheterization. A doctor threads a thin catheter into the coronary arteries and injects a drug (usually acetylcholine) in gradually increasing doses. This drug is designed to provoke the artery into spasming under controlled conditions. If the artery narrows significantly, you experience your recognizable chest pain, and the heart monitor shows characteristic electrical changes, the test is considered positive. The spasm is then immediately reversed with nitroglycerin delivered through the same catheter.
Spasms can affect the larger, visible coronary arteries or the tiny microvessels deeper in the heart muscle. When the provocation test reproduces symptoms and electrical changes but the large arteries don’t visibly narrow, the diagnosis shifts to microvascular spasm, a condition that causes the same type of pain but originates in vessels too small to see on an angiogram.
Potential Complications
Most coronary spasms are brief and resolve on their own or with medication, but they’re not harmless. A prolonged or severe spasm can cut off blood flow long enough to damage heart muscle, effectively causing a heart attack even in someone with perfectly clean arteries. Spasms can also trigger dangerous heart rhythm disturbances, because oxygen-starved heart tissue becomes electrically unstable. In rare cases, these arrhythmias can be life-threatening.
People with frequent, untreated spasms face cumulative risk over time. Each episode puts stress on the heart, and repeated oxygen deprivation can gradually weaken the affected area. This is why getting a clear diagnosis matters: once identified, coronary artery spasm responds well to treatment, and most people see a significant reduction in episodes.
How Spasms Are Managed
The first-line approach involves calcium channel blockers, medications that work by reducing the amount of calcium entering smooth muscle cells. Since excess calcium is what drives the abnormal contraction, blocking it directly addresses the underlying problem. Most people take these daily as a preventive measure and keep fast-acting nitroglycerin on hand for breakthrough episodes.
Lifestyle changes play a real role too. Quitting smoking is the single most impactful thing you can do if tobacco is a trigger. Avoiding cocaine and amphetamines is non-negotiable. Managing stress, staying warm in cold weather, and correcting any magnesium deficiency can all reduce how often spasms occur. With consistent treatment, most people with Prinzmetal angina maintain a good quality of life and see their episodes become infrequent or stop altogether.