Preparing for a cardiac stress test is straightforward, but the details matter. Skipping a step, like having coffee that morning or wearing the wrong shoes, can mean your test gets canceled or rescheduled. Most preparation starts 24 hours before your appointment and centers on what you eat, drink, and take as medication.
Skip Caffeine for 24 Hours
This is the rule most likely to catch people off guard. You need to avoid all caffeine for a full 24 hours before your stress test. That includes the obvious sources like coffee, tea, energy drinks, and cola, but it also includes chocolate and, importantly, decaffeinated beverages. Decaf coffee, decaf tea, and caffeine-free sodas still contain trace amounts of caffeine that can alter your results. Johns Hopkins Medicine notes that failing to follow this rule can require your test to be canceled entirely.
Caffeine affects how your heart and blood vessels respond during the test, which is why the restriction is so strict. If you normally rely on caffeine to get through the day, plan for a rough 24 hours and consider tapering down a day or two ahead so you’re not dealing with a withdrawal headache on top of test-day nerves.
Fasting Before the Test
You’ll be asked not to eat in the hours leading up to your test. For a standard exercise stress test, this typically means skipping the meal before your appointment. For a nuclear stress test, which involves an injected tracer to create images of blood flow to your heart, you may need to fast longer and might not be able to eat until after the entire test is finished.
If you have diabetes, this creates a balancing act. You shouldn’t skip meals entirely if you’re taking diabetes medications, since fasting can cause dangerous drops in blood sugar. Call your doctor’s office ahead of time to ask exactly how to time your meals and adjust your medication around the fasting window.
Medications to Ask About
Several types of heart medications can interfere with stress test results, and your doctor may ask you to temporarily stop taking them. The most common ones to hold are beta-blockers, calcium channel blockers, and nitrate products. These drugs slow your heart rate or relax your blood vessels, which is exactly what the test is trying to measure, so they can mask the results the cardiologist needs to see. You may be asked to stop beta-blockers 24 hours before the test.
Don’t make this decision on your own. Your cardiology team will tell you which medications to hold and which to keep taking. Bring all of your medications with you to the appointment, including inhalers. The staff may have you take certain ones during or after the test, particularly rescue inhalers if you have asthma or COPD.
Avoid Nicotine Before the Test
If you smoke or use nicotine products, plan to stop at least several hours before your appointment. Nicotine has a half-life of one to two hours, meaning it takes roughly 5 to 10 hours for it to clear your system enough to avoid interfering with imaging results. There’s no universally agreed-upon cutoff, but abstaining from the evening before your test is a reasonable approach. This applies to cigarettes, vaping, nicotine patches, and nicotine gum alike.
What to Wear
Wear comfortable, loose-fitting clothes you can exercise in. Running shoes or sturdy athletic shoes are ideal since you’ll be walking and then jogging on a treadmill. Skip sandals, slip-ons, or dress shoes.
You’ll be asked to remove all clothing from the waist up so electrodes can be placed on your chest, so wear a separate top and bottom rather than a one-piece outfit. A button-up shirt or a simple t-shirt works well. Leave jewelry at home, especially necklaces or chains that could interfere with electrode placement.
Exercise vs. Pharmacological Stress Tests
If you can walk on a treadmill, you’ll likely have an exercise stress test. The preparation steps above all apply. But if you have mobility issues, joint problems, or other conditions that prevent you from exercising, your doctor will use a pharmacological stress test instead. In this version, a medication is injected through an IV to simulate the effect of exercise on your heart.
Preparation is largely the same: no caffeine for 24 hours, fasting, and holding certain medications. One additional consideration is that some medications you take daily, particularly theophylline (used for breathing problems), can interfere with the stress-inducing drug. Let the cardiology staff know about everything you’re taking so they can determine whether anything needs to be paused.
What the Test Feels Like
Knowing what to expect can help you feel less anxious. During an exercise stress test, you’ll start walking slowly on a treadmill while the speed and incline gradually increase. The goal is to push your heart rate up, so by the end you’ll be breathing hard. Common sensations include fatigue, shortness of breath, and muscle cramps in your legs or feet. All of this is expected and monitored closely.
During a pharmacological stress test, the injected medication can cause a brief sting followed by a feeling of warmth spreading through your body. Many people experience a headache, nausea, or a sensation that their heart is pounding or racing. These effects are temporary and fade quickly once the medication stops. Rarely, people experience chest discomfort, dizziness, or palpitations. Medical staff are right there monitoring you throughout and can stop the test at any point.
If you’re having a nuclear stress test, a tracer is injected through an IV at two different points: once at rest and once when your heart rate peaks. The tracer itself doesn’t cause noticeable side effects. You’ll then lie still under a special camera that takes images of blood flow through your heart. The full appointment can take several hours because of the imaging, so plan accordingly.
Quick Preparation Checklist
- 24 hours before: Cut out all caffeine, including decaf beverages and chocolate
- Evening before: Stop smoking or using nicotine products
- Morning of: Don’t eat before the test (adjust if you have diabetes and take medication)
- Medications: Hold only the ones your doctor specifically tells you to stop, and bring all medications with you
- Clothing: Wear athletic shoes, a comfortable top you can easily remove, and exercise-friendly pants
- Time: Block out one to two hours for a standard test, up to four hours for a nuclear stress test

