It’s two in the morning, you’ve been staring at the ceiling for an hour and you have a meeting at nine. At the pharmacy they mentioned melatonin; your sister-in-law swears by tryptophan. Aren’t they the same thing? Not quite, and choosing well depends on what kind of poor sleep you have.

The short answer to “tryptophan or melatonin”: if you struggle to fall asleep or your body clock is out of sync (shift work, jet lag, getting back from holiday), melatonin has more evidence behind it. Tryptophan is the raw material the body uses to make serotonin and melatonin, and its evidence for sleep is weaker. They can be combined, but they don’t do the same thing.

What is the difference between tryptophan and melatonin?

Tryptophan is an essential amino acid: we can’t make it, so it has to come from our diet (dairy, eggs, pulses, fish, nuts). The body uses it to produce serotonin and, from serotonin, once it gets dark, the pineal gland produces melatonin.

Melatonin is the time signal. It doesn’t “knock you out” like a sleeping pill; it tells your body that it’s night-time and time to start getting ready for sleep. That is why screen light at midnight is such a nuisance: it slows that production down just when you need it.

Put simply: tryptophan is the flour and melatonin is the finished loaf. If you are short of flour, it makes sense to add some. If the problem is that the oven switches on late, adding more flour won’t fix much.

Illustration of tryptophan being converted into serotonin during the day and into melatonin at night
From plate to pillow: tryptophan is converted into serotonin and, once it gets dark, into melatonin.

What EFSA says about melatonin for sleep

In Europe, melatonin also has an authorised health claim following EFSA’s 2011 assessment: melatonin contributes to the reduction of time taken to fall asleep. The condition is taking 1 mg close to bedtime. Note that: 1 mg, not 5 or 10. A higher dose doesn’t mean better sleep, but it can mean more drowsiness the next morning.

And tryptophan for sleep? More modest evidence

Time to be honest. In 2022, Sutanto and his team published a systematic review of tryptophan supplements and sleep in Nutrition Reviews. They found 18 papers, but could only pool the data from 4 in the meta-analysis, so it doesn’t allow clear conclusions.

So tryptophan isn’t the star solution it is sometimes sold as. And it has no authorised health claim in the EU for sleep.

Melatonin for jet lag: the best-supported use

The other situation covered by an authorised claim is crossing time zones. The Cochrane review by Herxheimer and Petrie (2002) brought together 10 trials with melatonin taken at bedtime at the destination (between 10 pm and midnight), on flights crossing five or more time zones, at doses between 0.5 and 5 mg.

The key point is timing. Taken at the wrong time, in the morning for example, it can make you sleepy during the day and delay adjustment. Here too EFSA endorsed a claim: melatonin contributes to the alleviation of subjective feelings of jet lag. The beneficial effect is obtained with a minimum intake of 0.5 mg taken close to bedtime on the first day of travel and on the following few days after arrival at the destination.

Tryptophan or melatonin: which to choose for your situation

Your situation Most sensible option
You take a long time to fall asleep Melatonin (1 mg before bed)
A flight crossing several time zones Melatonin at bedtime at your destination
You fall asleep fine but wake up in the early hours No option has clear support; look at stress, alcohol and late dinners
A diet low in protein Food first: dairy, pulses, eggs
You find it hard to switch off because of nerves Neither is the answer; look at your routine and relaxation techniques

If the problem is that you get into bed with your mind racing, melatonin won’t switch those thoughts off: routine and schedules matter more. If you’re interested, we also have an article on magnesium and sleep and another on how to take ashwagandha.

Can you take tryptophan and melatonin together?

Yes, and it’s a common combination in sleep supplements. There is some logic to it: melatonin provides the “time to sleep” signal and tryptophan the building block for serotonin. What we don’t have are large trials of the combination versus each ingredient on its own, so don’t expect the effects to add up like a calculator.

We don’t offer our tryptophan and melatonin formula on the English-language site. If you are putting together an evening routine, you can look at our Magnesium Glycinate instead.

Precautions before taking them

  • Melatonin: it can cause drowsiness, so don’t drive straight after taking it. The Cochrane review reports cases suggesting caution in people with epilepsy and those taking warfarin (an anticoagulant).
  • Tryptophan: if you take antidepressants or other drugs that act on serotonin, speak to your doctor first.
  • Pregnancy, breastfeeding and under-18s: neither without medical advice.
  • If you’ve been sleeping badly for weeks: if it’s been more than a month, it’s worth seeing your doctor.

Frequently asked questions

What time should you take melatonin?

If you take it, shortly before bed: between 30 minutes and an hour beforehand. For jet lag, at bedtime at your destination. What you shouldn’t do is take it mid-afternoon or in the early hours if you wake up, because you may shift your body clock in the wrong direction and carry the drowsiness into the morning.

Is melatonin habit-forming?

No dependence like that seen with hypnotics has been described. Even so, there is no point taking it indefinitely without looking into why you sleep badly. Use it as an occasional tool or to reset your schedule, and see a doctor if you need it every night for months.

How much tryptophan is there in food?

It depends on the food, but a diet with enough protein (dairy, eggs, fish, pulses, nuts) already provides tryptophan every day. The supplementation studies used doses of a gram or more, which you won’t reach with a glass of milk before bed.

Before buying anything, try using light as a tool for a week: natural light in the morning, screens on night mode and a properly dark bedroom. It’s the cheapest way to support your own melatonin, and it’s the foundation for everything else.

This article is for general information only and does not replace advice from a healthcare professional. Food supplements should not be used as a substitute for a varied and balanced diet and a healthy lifestyle. If you are pregnant, breastfeeding, taking medication or have a medical condition, consult your doctor or pharmacist first.