
Caffeine and alcohol can make anxiety or panic symptoms worse for some people, while shakiness after eating may have a different explanation, including low blood glucose. No ordinary food reliably causes panic attacks in everyone. The more useful question is what happened, when it happened, and which other symptoms appeared.
A racing heart after a large coffee, shaking several hours after a meal, or flushing and hives minutes after eating point to different possibilities. Each has a different next step. Use the pattern table below to decide what is worth checking first, then look at the specific foods and drinks that most often show up in real reports.
The short answer: follow the pattern, not a forbidden-food list
A racing heart after a large coffee, shakiness several hours after a meal, and flushing with hives minutes after eating do not point to the same problem. Each has a different next step, and a panic sensation alone cannot tell you whether the cause is psychological, dietary, allergic, or medical. Use the table to decide which detail is worth checking first.
| Pattern | What may be happening | Useful next step |
|---|---|---|
| Restlessness, fast heartbeat, or poor sleep after coffee or an energy drink | Caffeine sensitivity or a large cumulative dose | Record the product, serving, time, and all other caffeine that day; consider reducing gradually. |
| Shaking, sweating, hunger, or confusion one to four hours after eating | Possible low blood glucose, among other causes | If you have diabetes, follow your glucose-check and treatment plan; otherwise seek assessment if it recurs. |
| Flushing, hives, swelling, wheeze, or repeated stomach symptoms soon after a food | Possible allergic or other food-related reaction | Seek appropriate medical evaluation; breathing trouble, throat swelling, or faintness requires emergency care. |
| Anxiety the next morning after drinking | Alcohol-related sleep disruption or rebound symptoms | Review amount and timing; get medical advice before stopping abruptly if you may be alcohol dependent. |
The FDA notes that caffeine sensitivity varies widely, and a daily amount tolerated by one adult may feel excessive to another. That is why a beverage and timing history provides more value than a universal list of “anxiety foods.”
Caffeine and Anxiety Symptoms
Caffeine is one of the most consistent dietary factors linked to increased anxiety symptoms and, in higher doses, panic-like reactions—especially in people who already have panic disorder or are sensitive to stimulants. The FDA notes that sensitivity varies widely. A dose tolerated by one person can produce restlessness, rapid heartbeat, or poor sleep in another.
Common sources include coffee, energy drinks, strong tea, some sodas, pre-workout supplements, and chocolate. Tracking total daily caffeine is more useful than focusing on a single cup. If you notice restlessness, a racing heart, or poor sleep after caffeine, record the product, serving size, time, and all other caffeine consumed that day. Gradual reduction is usually better than stopping suddenly.
Shakiness or Anxiety After Eating
Some people feel shaky, sweaty, hungry, or anxious one to four hours after a meal. This timing can occur with reactive hypoglycemia (a drop in blood glucose), although other conditions can look similar.
High-sugar or refined-carbohydrate meals are more likely to produce large swings. If you have diabetes, follow your usual glucose-check and treatment plan. If the pattern keeps happening without a known explanation, ask a clinician to evaluate it. Keeping a simple record of what you ate, when symptoms began, and how you felt can help identify whether blood-sugar changes are involved.
High-Histamine Foods and Anxiety-Like Symptoms
Some people notice restlessness, a racing heart, flushing, or a sudden sense of unease after eating aged, fermented, or leftover foods. These reactions are sometimes linked to histamine, a compound that builds up as foods age or ferment.
Common high-histamine foods include:
- Aged cheeses (cheddar, Parmesan, blue cheese, brie)
- Cured and processed meats (salami, pepperoni, bacon, ham)
- Fermented foods (sauerkraut, kimchi, kombucha, soy sauce)
- Leftover cooked proteins (especially after more than a day)
- Certain fish (canned, smoked, or not very fresh)
- Spinach, tomatoes, eggplant, and avocado in some sensitive people
- Red wine and beer
Histamine can stimulate the nervous system and produce symptoms that overlap with anxiety or panic for susceptible individuals. This is not the same as a classic allergy. If symptoms repeatedly follow high-histamine meals and ease when those foods are reduced, record the pattern and discuss it with a health professional.
Nightshade Vegetables
Nightshades include tomatoes, white potatoes, eggplant, peppers (bell, chili, paprika, cayenne), and goji berries. Some people report feeling more restless or anxious after eating them regularly.
Current evidence does not show that nightshades as a group cause anxiety or panic attacks in the general population. However, a small number of people appear sensitive to compounds in these plants. If you notice a consistent pattern—symptoms after meals that contain several nightshades and improvement when they are removed for 1–2 weeks—it is reasonable to test the connection carefully while tracking symptoms.
Do not eliminate an entire food group long-term without guidance, especially if it removes important nutrients. Seek prompt medical help if any reaction includes hives, swelling, or breathing difficulty.
MSG, Artificial Sweeteners, and Reported Reactions
MSG
Some sensitive individuals report short-lived symptoms such as flushing, headache, or a rapid heartbeat after foods high in added MSG or concentrated free glutamate (sometimes listed as “natural flavors,” yeast extract, or hydrolyzed protein). The FDA notes that these reactions can occur under certain conditions, usually with higher doses. MSG is not established as a routine cause of panic attacks. Track the specific product, amount, and timing if you suspect a connection.
Aspartame and other artificial sweeteners
Evidence linking aspartame (or most other artificial sweeteners) to anxiety or panic attacks in humans remains limited and mixed. Some people report symptoms after diet sodas or sugar-free products, but many of these products also contain caffeine. Check the full ingredient list and note dose and timing before assigning the cause to the sweetener alone.
Which foods and drinks deserve a closer look?
Coffee, energy drinks, strong tea, and other caffeine sources
Caffeine is the clearest everyday place to start, especially when jitteriness, palpitations, and disrupted sleep follow a drink. Count the whole day: coffee, tea, cola, energy drinks, pre-workout products, and some medicines can overlap. The FDA cites 400 mg per day as an amount not generally associated with negative effects for most adults, but it is not a personal target or a guarantee against anxiety symptoms.
If the pattern fits, test a smaller serving or an earlier time rather than stopping a heavy daily habit abruptly and confusing withdrawal headaches with the original problem. Compare otherwise similar days and keep meals and sleep as consistent as you reasonably can. Seek clinical advice for persistent palpitations, especially if they occur without caffeine.
Caffeine is one of the most consistent dietary factors linked to increased anxiety symptoms and, in higher doses, panic-like reactions—especially in people who already have panic disorder or are sensitive to stimulants. The FDA notes that sensitivity varies widely. A dose tolerated by one person can produce restlessness, rapid heartbeat, or poor sleep in another. Energy drinks and large coffees are the most common triggers reported. Tracking total daily caffeine (coffee + tea + soda + chocolate + pre-workout) is more useful than focusing on a single cup.
Alcohol, especially when symptoms appear later
Alcohol can feel calming while it is being consumed, but anxiety, disturbed sleep, and a racing heart can appear as its effects wear off. This is particularly important when a person treats the next day’s unease with another drink and the cycle repeats. NIAAA describes anxiety and sleep symptoms in alcohol withdrawal, which can be medically dangerous for someone who drinks heavily or regularly.
A nonalcoholic drink may help separate alcohol exposure from the social setting, but it does not diagnose the cause of symptoms. If you may be physically dependent, ask a clinician about a safe reduction plan rather than stopping suddenly. A food article should never imply that a simple swap treats withdrawal.
Sugary drinks and refined carbohydrate meals
A sweet drink or pastry does not automatically create a “blood sugar crash,” and anxiety after a meal is not proof of hypoglycemia. Still, reactive hypoglycemia can produce shaking, sweating, hunger, palpitations, and anxiety one to four hours after eating in some people. NHS clinical guidance describes that symptom window; a clinician can determine whether the symptoms coincide with genuinely low glucose.
Notice whether the episode follows a meal, a long gap without food, or an unusual amount of exercise, and whether it repeats. If you use insulin or medicines that can lower glucose, follow your personal diabetes action plan immediately when low glucose is suspected. Do not replace prescribed treatment with advice to eat “less sugar” or avoid whole food groups.
Large or rich meals when the main symptom is discomfort
A large meal can bring on fullness, reflux, nausea, or a noticeable heartbeat; those sensations can be frightening, especially if you have experienced panic before. That connection does not establish that fried food itself causes a panic disorder. The size of the meal, alcohol or caffeine alongside it, and a known reflux problem may be more informative than the cooking oil.
Try recording the portion, timing, posture after eating, and whether discomfort occurs with different meals. Ongoing chest pain or new breathing symptoms need medical evaluation rather than a self-directed diet experiment. Replacing an entire diet with bland “safe” foods without a clear reason can add distress and nutritional gaps.
What about histamine, MSG, aspartame, and nightshades
MSG
Some people report short-lived symptoms such as flushing, headache, or a racing heart after foods high in added MSG or concentrated free glutamate (sometimes listed as “natural flavors,” yeast extract, or hydrolyzed protein). The FDA notes that these reactions can occur in sensitive individuals under certain conditions, usually with higher doses on an empty stomach. MSG is not established as a routine cause of panic attacks, but a repeatable personal reaction is still worth tracking.
Aspartame and other artificial sweeteners
Research on aspartame and anxiety is limited and mixed. Some animal studies and individual reports raise questions, but there is not enough evidence to conclude that aspartame reliably triggers panic attacks in humans. If you notice symptoms after diet sodas or sugar-free products, check the full ingredient list—many also contain caffeine—and note the timing and dose.
In both cases, the practical approach is the same: record the specific product, amount, timing, and other symptoms rather than assuming a single ingredient is the sole cause.
These are reasonable questions when you notice a repeatable reaction, but the evidence does not support calling each a common cause of panic attacks. A symptom diary can clarify the question you bring to a qualified clinician; it cannot establish a food intolerance on its own. Separate physical reactions from a diagnosis of panic disorder.
| Suspected trigger | What is established | What not to assume |
|---|---|---|
| Fermented or aged foods and histamine | Some people report flushing, headache, digestive symptoms, or palpitations after certain foods; assessment can be difficult. | Feeling anxious after cheese or tomatoes does not confirm histamine intolerance. |
| Monosodium glutamate (MSG) | The FDA reports that some studies have described temporary, generally mild symptoms under specific conditions. | Ordinary MSG exposure has not been shown to reliably cause panic attacks. |
| Aspartame or diet soda | Individual experiences deserve attention; human evidence about anxiety remains limited and mixed. | Do not attribute a response to the sweetener before checking the drink’s caffeine content. |
| Tomatoes, peppers, potatoes, and other nightshades | A personal reaction to a particular food is possible. | There is no good basis for labeling the whole plant family an anxiety trigger. |
The American Academy of Allergy, Asthma & Immunology cautions that a presumed histamine intolerance is often not confirmed. The FDA’s MSG review distinguishes reported transient symptoms from broad claims of harm, while its aspartame guidance describes permitted uses and intake limits rather than a diagnosis of anxiety. Avoid broad elimination diets based only on a search result.
High-Histamine Foods and Anxiety-Like Symptoms
Some people notice restlessness, a racing heart, flushing, or a sudden sense of unease after eating aged, fermented, or leftover foods. These reactions are sometimes linked to histamine, a compound that builds up in certain foods as they age or ferment.
Common high-histamine foods include:
- Aged cheeses (cheddar, Parmesan, blue cheese, brie)
- Cured and processed meats (salami, pepperoni, bacon, ham)
- Fermented foods (sauerkraut, kimchi, kombucha, soy sauce)
- Leftover cooked proteins (especially if stored more than a day)
- Certain fish (canned, smoked, or not very fresh)
- Spinach, tomatoes, eggplant, and avocado in some sensitive people
- Red wine and beer
Histamine can stimulate the nervous system and produce symptoms that overlap with anxiety or panic for susceptible individuals. This is not the same as a classic allergy. If symptoms repeatedly follow high-histamine meals and improve when those foods are reduced, it is worth noting the pattern and discussing it with a clinician.
Nightshade Vegetables and Anxiety
Nightshades include tomatoes, white potatoes, eggplant, peppers (bell, chili, paprika, cayenne), and goji berries. Some people report feeling more restless or anxious after eating them regularly.
Current evidence does not show that nightshades as a group cause anxiety or panic attacks in the general population. However, a small number of people appear sensitive to compounds in these plants (glycoalkaloids). If you notice a consistent pattern—symptoms after meals that contain several nightshades and improvement when they are removed for 1–2 weeks—it is reasonable to test the connection carefully and record the results.
Do not eliminate an entire food group long-term without guidance, especially if it removes important nutrients.
How to investigate anxiety after eating without missing a medical cause
For a week or two, keep a brief log of the food and drink, serving, meal time, symptom start time, symptoms, medicines, sleep, and circumstances. Record what you actually consumed; “a coffee” can mean very different caffeine amounts, and a diet soda may contain both caffeine and a sweetener. Look for the same pattern on more than one occasion before making a narrow change.
- Identify the timing. During or immediately after a meal, one to four hours later, and the next morning suggest different questions.
- Write down the physical signs. Hunger and sweating, hives and swelling, or reflux and chest discomfort need different responses.
- Change one ordinary variable at a time. For example, test a smaller caffeine serving while keeping the rest of your routine reasonably stable.
- Escalate when warranted. Recurrent or severe episodes deserve medical assessment; repeated panic attacks can also respond to evidence-based mental health treatment.
The optional Food & Anxiety Pattern Check below can organize these observations for a consultation. It does not identify a diagnosis, estimate a probability, or recommend eliminating a food category. If you have diabetes or a suspected allergy, use your existing care plan instead of waiting for an online result.
Food & Anxiety Pattern Check
Compare timing and symptoms, then take a useful record to a clinician if needed.
Private in your browser · No diagnosis
Your observation
Useful next step
This worksheet cannot diagnose panic, hypoglycemia, or a food allergy. New severe chest pain, fainting, trouble breathing, or throat swelling needs urgent medical attention.
When to get help urgently
After eating, swelling of the tongue or throat, trouble breathing, wheezing, faintness, or rapidly worsening symptoms could signal a severe allergic reaction: seek emergency care immediately and use prescribed epinephrine if you have it. NHS anaphylaxis guidance lists these signs. New or severe chest pain, fainting, or symptoms unlike your usual episodes also deserve urgent medical assessment.
If episodes repeatedly bring intense fear, a racing heart, and avoidance of future situations, speak with a health professional even if food appears involved. NIMH explains the symptoms and treatment of panic disorder; a clinician can also check other physical explanations. You do not need to decide alone whether a sensation is “just anxiety.”
Frequently asked questions
Can food cause a panic attack?
A food or drink can produce physical sensations—such as a racing heart, shakiness, flushing, or restlessness—that overlap with panic symptoms. Caffeine and alcohol are the exposures most consistently linked to this effect in sensitive people. However, a single meal-to-episode link does not prove that the food caused a panic attack. Recurrent or severe episodes should be assessed by a clinician rather than attributed to one ingredient.
Why do I feel shaky and anxious after eating?
Timing and accompanying symptoms matter. Shaking, sweating, hunger, or a fast heartbeat that appears one to four hours after a meal can occur with reactive hypoglycemia (a drop in blood glucose), but other conditions can look similar. If you have diabetes, follow your usual glucose-check and treatment plan. If the pattern keeps happening without a clear explanation, ask a clinician to evaluate it.
Do high-histamine foods trigger anxiety or panic-like symptoms?
Some people notice restlessness, a racing heart, flushing, or a sudden sense of unease after aged cheeses, cured meats, fermented foods, leftover proteins, or certain fish and vegetables. These reactions are sometimes linked to histamine load. This is not the same as a classic food allergy. If symptoms repeatedly follow high-histamine meals and ease when those foods are reduced, record the pattern and discuss it with a health professional.
Do tomatoes or other nightshades cause anxiety?
There is no strong evidence that ordinary nightshade vegetables (tomatoes, potatoes, eggplant, peppers, etc.) as a group cause anxiety or panic attacks. A small number of people report personal sensitivity. If you notice a consistent pattern after meals containing several nightshades, a short, careful trial of reduction while tracking symptoms can help clarify whether they play a role for you. Seek prompt medical help if the reaction includes hives, swelling, or breathing difficulty.
Does MSG trigger panic symptoms?
Some sensitive individuals report short-lived symptoms such as flushing, headache, or a rapid heartbeat after foods high in added MSG or concentrated free glutamate. The FDA notes these reactions can occur under certain conditions, usually with higher doses. MSG is not established as a routine cause of panic attacks. Track the specific product, amount, and timing if you suspect a connection.
Does aspartame or other artificial sweeteners cause anxiety?
Evidence linking aspartame (or most other artificial sweeteners) to anxiety or panic attacks in humans remains limited and mixed. Some people report symptoms after diet drinks or sugar-free products, but many of these products also contain caffeine. Check the full ingredient list and note dose and timing before assigning the cause to the sweetener alone.
Should I permanently avoid all the foods mentioned in this article?
No. Permanent, broad restriction is rarely necessary and can create its own problems. The more useful approach is to identify repeatable personal patterns with a short food-and-symptom record, then make targeted, temporary changes while working with a clinician if symptoms are frequent or severe.
When should I seek medical help?
Seek emergency care immediately for swelling of the tongue or throat, trouble breathing, wheezing, faintness, or rapidly worsening symptoms after eating. For recurring episodes of intense fear, racing heart, or significant avoidance—even if food seems involved—speak with a health professional. You do not need to decide alone whether the sensation is “just anxiety” or something else.
A practical next step
Start with a simple record for 7–14 days:
- What you ate or drank
- Approximate time
- Physical symptoms and when they began
- How repeatable the pattern is
Bring that record to a clinician if episodes keep happening, involve breathing difficulty, swelling, faintness, or severe fear, or lead you to restrict eating. The goal is to match the pattern to the right explanation and the right kind of help—not to create a long permanent avoidance list.


