While the British Cheese Board study showed Stilton led to wacky dreams, it’s because aged blue cheeses contain trace amounts of ergot alkaloids, a compound related to LSD—but in such tiny amounts it can’t make you hallucinate. More likely, the strong flavor just triggers your brain’s sensory memory, making your dreams more colorful. It’s like the cheese version of listening to music before you sleep.
On the flip side, eating very low-fat cheese (like cottage cheese) before bed can actually improve sleep. Cottage cheese is rich in casein protein, which releases amino acids slowly through the night. Some athletes eat it to prevent muscle breakdown. So you can dream of winning a marathon instead of being chased by a dairy cow.