The 23-year-old singer-songwriter admits he decided to try the drug for the first time while on holiday in Ibiza, attending his producer Jack Gossling's wedding.
He told Rolling Stone magazine: ''If I was ever going to try it, it would've been there.
''I thought the text wasn't real, because I was like, 'Is everything just great today?'''
The 'Lego House' hitmaker, who went on to write the track 'I See Fire' for the film, also spoke about his upcoming album, 'x', and claims he wanted ''raw, honest songs from the heart.''
Meanwhile, Ed also recently revealed one track from his album 'Don't' is about an ex-lover and singer who cheated on him in a hotel with a friend while he was downstairs.
He said: ''It's 100 percent not about Taylor [Swift]. Taylor's one of these people that if you p*ss her off and she writes a song about you, it's not good news for you.
''I've never dated Taylor. I've dated a few singers, though.''
Ed revealed he has played the song for Taylor and claims she told him: ''Whatever happens, ever, between us as friends, I never want to p*ss you off that much.''
The season 7 premiere guests featured some cast members we haven't seen much of for a while.
This year's Rotterdam event was definitely one to remember.
As it's been 12 years since the last Bridget Jones movie, expectations aren't too high...
Bridget has always known how to get herself into a muddle - catastrophic muddles at...
After battling the dating scene and finally finding love with Mark Darcy, Bridget Jones is...
In July of 2015, Ed Sheeran played his biggest gigs to date, selling out Wembley...