A guide to cortisol and every way of testing it. Information, not medical advice. Read more

Understanding cortisol

Caffeine, alcohol, food and cortisol: what changes your levels and what it means for testing

Coffee, alcohol and meals all nudge cortisol up for a while, and some habits shift it for longer. Here is what the research shows, and what it means if you are about to have your cortisol tested.

Caffeine raises cortisol, but less in people who are used to it. After five days without caffeine, a dose of caffeine produced a robust rise in cortisol; after several days of taking 300 to 600 mg a day, the rise was smaller but did not disappear.1 Alcohol is linked with higher cortisol too, and months of heavy drinking show up in hair.23 A protein-rich meal raises cortisol for a while,4 and three weeks of strict dieting raised total cortisol output.5 Most of these are short-term effects, which matter most when you are having a blood or saliva test. A hair test, which averages months, is not changed by a short-lived rise in cortisol at the time the sample is cut.6

Caffeine: a real rise, partly blunted by habit

In a carefully controlled study, people went without caffeine for five days and were then given caffeine. Their cortisol rose robustly across the waking hours. After a period of taking 300 to 600 mg of caffeine a day, the same challenge still raised cortisol, but by less: regular use built up partial tolerance, not complete tolerance.1

In practice, if you drink coffee every day, each cup probably nudges your cortisol up less than it would for someone who rarely drinks it. Whether years of regular coffee drinking change long-term cortisol is a different question. It does not appear to have been studied with hair tests, so there is no good basis for claims either way. If coffee affects your sleep, cutting back later in the day may help indirectly, because a short night raises cortisol the following evening.7 See cortisol and sleep.

Alcohol: short-term rises and long-term patterns

In the Whitehall II study of 2,693 men and 977 women, men's salivary cortisol was 3 per cent higher for each extra unit of alcohol they drank a week. Women who drank heavily had a larger cortisol rise after waking (14.15 against 8.69 nmol/L).2

Hair shows what sustained heavy drinking does. People with alcohol dependence, sampled during withdrawal after a period of active drinking, had three to four times the hair cortisol of people with alcohol dependence who had stopped drinking, or of a control group. Those who had stopped did not differ from the controls,3 which suggests long-term cortisol can come back down after drinking stops. MedlinePlus also lists alcohol use disorder among the conditions linked with cortisol that is high some of the time.8

Food: protein-rich meals and crash diets

Eating itself moves cortisol. In a laboratory study, a protein-rich midday meal reliably raised salivary cortisol, while a low-protein meal did not.4 This is a normal response and nothing to worry about, but it means a meal shortly before a saliva sample could nudge the result.

Longer-term eating patterns matter too. In a study of 121 women, three weeks on 1,200 kcal a day increased total cortisol output.5 Strict calorie cutting seems to act as a stress in its own right; see cortisol and weight. There do not appear to be robust trials of diet with hair cortisol as the outcome, so claims that particular foods or "cortisol diets" lower long-term cortisol are not backed by good evidence.

Preparing for a blood or saliva test

Blood and saliva tests capture cortisol at the moment of the sample, so anything that moves it in the hours before can move the result. The most important rule is to follow the instructions for your test exactly. MedlinePlus advises following all the instructions your provider gives, resting beforehand because stress and exercise can raise cortisol, and telling your provider about all your medicines, including skin creams, without stopping any of them on your own.8

  • Saliva samples. Do not eat, drink, brush or floss your teeth for 30 minutes before collecting saliva.8 One NHS laboratory gives the same 30-minute rule for eating and tooth brushing, to avoid contaminating the sample with blood.9
  • Late-night saliva tests. These are used to look for Cushing's syndrome. Liquorice, chewing tobacco, smoking on the day of collection and stress just before collection can all raise the result, and steroid-containing lotions or gels can contaminate the collection device.10
  • Morning blood tests. Blood cortisol peaks at about 8.30 am,11 and NICE advises an 8 to 9 am sample when adrenal insufficiency is suspected.12 Having blood taken can itself raise cortisol, in about 30 to 47 per cent of people.13
  • Caffeine and alcohol. Given the research above, it makes sense to keep both out of the hours before a blood or saliva sample unless your instructions say otherwise.

For what each test involves, see the guides to the saliva cortisol test and the blood cortisol test.

Why food and drink do not affect a hair test

Hair works on a different timescale. It records cortisol as it grows, about 1 cm a month, so the 3 cm nearest the scalp reflect roughly the last three months.14 A short-lived rise in cortisol at the time the sample is cut, whether from coffee, a meal or a stressful morning, does not change the result, and hair cortisol does not vary with the time of day.6 There is nothing to avoid eating or drinking before you cut a hair sample.

What hair does reflect is your habits over months: sustained heavy drinking, for example, showed up as hair cortisol three to four times higher.3 Because hair is far more consistent from test to test, correlating at r = 0.84 from one month to the next against 0.38 to 0.61 from week to week for saliva,15 it is the most accurate way to measure long-term cortisol from a single sample. Hair has its own influences instead. In one large study, people who dyed their hair had 12.5 per cent lower hair cortisol, and use of systemic steroid medicines, such as tablets, was linked with higher values.16 See testing dyed or treated hair and hair vs saliva.

Do you need to change what you eat and drink?

For long-term cortisol, the clearest message is about alcohol: higher intake goes with higher cortisol, and heavy drinking with much higher long-term levels that appear to come down after stopping.23 Crash dieting can raise cortisol,5 so steady changes are the gentler route. For caffeine, the short-term rise is real but partly blunted in regular drinkers,1 and there is no long-term hair evidence either way. For the wider picture of what lowers cortisol, see how to lower cortisol.

Questions people ask

Does coffee raise cortisol?

Yes, for a while. Caffeine raised cortisol robustly in people who had gone without it for five days. After several days of taking 300 to 600 mg a day, the rise was smaller but did not disappear. Whether regular coffee drinking changes long-term cortisol does not appear to have been studied with hair tests.

Should I avoid coffee before a cortisol test?

Follow the instructions for your test. For a saliva sample, the usual rule is nothing to eat or drink, including coffee, for 30 minutes beforehand. Because caffeine raises cortisol, it is sensible to avoid it before a blood or saliva sample unless you are told otherwise. It makes no difference to a hair test.

Does alcohol raise cortisol?

It is linked with higher cortisol. In a large UK study, men's cortisol was 3 per cent higher for each extra weekly unit of alcohol. In people with alcohol dependence, hair cortisol after a period of heavy drinking was three to four times that of people who had stopped, and those who had stopped had levels similar to a control group.

Can I eat before a cortisol blood test?

Follow the instructions you are given, as they can differ between laboratories. Blood cortisol follows a strong daily rhythm, so the time of the test matters: a morning test is usually taken between 8 and 9 am. For a saliva sample, do not eat, drink or brush your teeth for 30 minutes beforehand.

Does liquorice affect cortisol tests?

It can raise a late-night saliva cortisol result, a test used to look for Cushing's syndrome. Smoking, chewing tobacco and stress just before collection can do the same. Avoid them on the day you collect a late-night saliva sample unless your doctor says otherwise.

Does what I eat or drink affect a hair cortisol test?

Not on the day. Hair reflects cortisol over roughly the last three months, and a short-lived rise at the time you cut the sample does not change the result. Long-term habits, such as months of heavy drinking, can show up in hair cortisol.

Sources

  1. Lovallo WR et al. (2005). Caffeine stimulation of cortisol secretion across the waking hours in relation to caffeine intake levels. Psychosom Med pubmed.ncbi.nlm.nih.gov
  2. Badrick E et al. (2008). The relationship between alcohol consumption and cortisol secretion in an aging cohort. J Clin Endocrinol Metab pubmed.ncbi.nlm.nih.gov
  3. Stalder T et al. (2010). Use of hair cortisol analysis to detect hypercortisolism during active drinking phases in alcohol-dependent individuals. Biol Psychol pubmed.ncbi.nlm.nih.gov
  4. Gibson EL et al. (1999). Increased salivary cortisol reliably induced by a protein-rich midday meal. Psychosom Med pubmed.ncbi.nlm.nih.gov
  5. Tomiyama AJ et al. (2010). Low calorie dieting increases cortisol. Psychosom Med pubmed.ncbi.nlm.nih.gov
  6. Grass J et al. (2015). Sweat-inducing physiological challenges do not result in acute changes in hair cortisol concentrations. Psychoneuroendocrinology pubmed.ncbi.nlm.nih.gov
  7. Leproult R et al. (1997). Sleep loss results in an elevation of cortisol levels the next evening. Sleep pubmed.ncbi.nlm.nih.gov
  8. MedlinePlus (2024). Cortisol test. US National Library of Medicine medlineplus.gov
  9. University Hospitals Birmingham NHS Foundation Trust (2026). Cortisol (saliva). Pathology tests database uhb.nhs.uk
  10. Nieman LK et al. (2008). The diagnosis of Cushing's syndrome: an Endocrine Society Clinical Practice Guideline. J Clin Endocrinol Metab pubmed.ncbi.nlm.nih.gov
  11. Debono M et al. (2009). Modified-release hydrocortisone to provide circadian cortisol profiles. J Clin Endocrinol Metab pubmed.ncbi.nlm.nih.gov
  12. National Institute for Health and Care Excellence (2024). Adrenal insufficiency: identification and management (NG243): recommendations. NICE nice.org.uk
  13. Weckesser LJ et al. (2014). Do venepuncture procedures induce cortisol responses? A review, study, and synthesis for stress research. Psychoneuroendocrinology pubmed.ncbi.nlm.nih.gov
  14. Adav SS & Ng KW (2025). The multifaceted role of hair as a biospecimen: recent advances in precision medicine and forensic science. Exp Mol Med pubmed.ncbi.nlm.nih.gov
  15. Short SJ et al. (2016). Correspondence between hair cortisol concentrations and 30-day integrated daily salivary and weekly urinary cortisol measures. Psychoneuroendocrinology pubmed.ncbi.nlm.nih.gov
  16. Abell JG et al. (2016). Assessing cortisol from hair samples in a large observational cohort: the Whitehall II study. Psychoneuroendocrinology pubmed.ncbi.nlm.nih.gov