What you need to avoid before an echocardiogram depends entirely on which type you’re having. A standard echocardiogram (the most common kind, where a probe is pressed against your chest) requires almost no preparation at all. You can eat, drink, and take your medications normally. But two other types, the transesophageal echo and the stress echo, come with specific restrictions that can affect your results or safety if you ignore them.
Standard Transthoracic Echo: Almost No Restrictions
If your doctor ordered a transthoracic echocardiogram, which is the basic ultrasound of your heart done through your chest wall, there’s very little you need to change about your day. You can eat and drink as usual beforehand. There’s no need to skip coffee, avoid food, or stop any medications unless your doctor specifically tells you otherwise. The test typically takes 30 to 60 minutes, and you’ll be lying on your side while a technician moves a small probe across your chest.
Don’t Eat or Drink Before a Transesophageal Echo
A transesophageal echocardiogram (TEE) is different. For this test, a thin tube with an ultrasound probe is guided down your throat to get images from behind the heart. Because of this, you must fast for at least 6 hours before the procedure. No food, no liquids. The one exception is that you can take your regular medications with a small sip of water.
Fasting matters here for two reasons. First, you’ll receive sedation, and having food in your stomach raises the risk of nausea or aspiration. Second, the probe passes through your esophagus, so an empty stomach makes the procedure safer and more comfortable. Your care team will give you a specific time to stop eating and drinking based on when your appointment is scheduled.
What to Avoid Before a Stress Echo
A stress echocardiogram combines heart imaging with physical exertion (usually a treadmill) or a medication that simulates exercise. This type has the longest list of things to avoid.
Caffeine
You’ll typically be told to avoid caffeine for at least 24 hours before a stress echo. This includes coffee, tea, energy drinks, chocolate, and decaf coffee (which still contains small amounts). Caffeine is a particular concern during pharmacological stress tests, where a drug is used to increase your heart rate instead of exercise. Research has shown that caffeine combined with these drugs can increase the risk of abnormal heart rhythms, and it can also interfere with the accuracy of the test results.
Smoking and Nicotine
Smoking before any echocardiogram can skew your results, but it’s especially problematic before a stress echo. Cigarettes raise your heart rate and blood pressure through several mechanisms, including constricting blood vessels and triggering adrenaline-like responses. In research settings, participants are asked to avoid smoking for at least 8 hours before echocardiographic measurements. Even a small heart rate increase of a few beats per minute, which studies have documented after a single cigarette, can make it harder to interpret your baseline readings accurately.
Food and Drink
Most facilities ask you to avoid eating for 2 to 4 hours before a stress echo. Exercising on a full stomach can cause nausea, and for the pharmacological version, food can interact with the sedation or medications used. Light hydration with water is generally fine, but check your specific instructions.
Certain Heart Medications
This is the restriction that causes the most confusion. If you’re taking beta-blockers or other medications that slow your heart rate, your doctor may ask you to skip them before the test. The reason is straightforward: the whole point of a stress echo is to see how your heart performs at a high heart rate. Beta-blockers can prevent you from reaching the target heart rate, which makes the test less useful. Fully clearing beta-blockers from your system can take several days, so your doctor will give you specific timing instructions. Never stop a heart medication on your own without being told to do so for the test.
What to Wear (and What Not to Wear)
For a standard echo, wear whatever is comfortable. You’ll need to undress from the waist up and change into a gown, so a two-piece outfit is easier than a dress.
For a stress echo on a treadmill, clothing matters more. Wear comfortable exercise shoes with good support, loose pants or athletic wear, and a button-up shirt that’s easy to remove quickly (imaging happens immediately after you stop exercising). Avoid underwire bras, as the metal can interfere with the electrodes placed on your chest. Sports bras are a better option.
Special Considerations for Diabetes
If you have diabetes and need to fast before a stress echo or TEE, you’ll likely need to adjust your insulin or oral diabetes medications. Most facilities will have a nurse call you ahead of time with specific instructions. As a general rule, check with the doctor who manages your diabetes before changing how you take your medication for the test. If your blood sugar needs attention, many facilities allow a small piece of toast and a cup of juice up to 2 hours before the procedure.
Alcohol Before an Echocardiogram
Alcohol, like caffeine and nicotine, can temporarily change your heart rate and blood pressure. For a standard echo, moderate alcohol consumption the night before is unlikely to be an issue, but drinking heavily could affect your baseline measurements. For a stress echo, avoid alcohol for at least 8 to 24 hours beforehand, following the same general window recommended for caffeine and smoking. If you’re having a TEE with sedation, alcohol should be avoided entirely in the hours before the procedure, as it interacts with sedative medications.
A Quick Reference by Echo Type
- Standard transthoracic echo: No fasting required. Eat, drink, and take medications normally. Wear a two-piece outfit for convenience.
- Transesophageal echo (TEE): No food or drink for at least 6 hours. Medications are okay with a sip of water. You’ll be sedated, so arrange a ride home.
- Stress echo (exercise): Avoid caffeine for 24 hours, food for 2 to 4 hours, and smoking for at least 8 hours. Wear exercise-appropriate clothing. Ask about stopping beta-blockers.
- Stress echo (pharmacological): Same caffeine, food, and smoking restrictions as exercise stress. Caffeine avoidance is especially important because it can interact with the drugs used to raise your heart rate.
If your instructions seem unclear or conflict with what you’ve read, call the facility where the test is scheduled. They deal with these questions daily and can tell you exactly what applies to your specific test.

