We've Got Hollywood Covered

‘How I Met Your Mother’ Deleted Scene Solves the Pineapple Mystery (Video)

You can stop scratching your heads now, ”HIMYM“ fans

Sometimes a pineapple is just a pineapple, but not in this case.

One of the most puzzling mysteries of “How I Met Your Mother” has been solved, thanks to a deleted scene from the beloved CBS sitcom, which wound up its nine-season run in March.

See video: ‘How I Met Your Mother’ Fans Rejoice as Alternate Ending Lands Online

For years, fans have pondered the origin of the pineapple that greeted Ted Mosby (Josh Radnor) at his bedside as he groggily awoke one morning.

As it turns out, the origin of the pineapple sits with The Captain (Kyle MacLachlan), who explained to Ted that, per an old sea captain’s tradition, he keeps a pineapple on his porch as a symbol of hospitality.

Also read: CBS Scraps ‘How I Met Your Mother’ Spinoff (Updated)

“I keep one here and one outside my townhouse in the city,” MacLachlan reveals.

Cut to: the city, where a besotted Ted stumbles upon said pineapple and rudely makes off with it.

Also read: ‘How I Met Your Mother’ Co-Creator Defends Controversial Finale

Bad form, Ted. But at least now the world knows.

Now if only they’d unravel the mystery of why the show decided to bum fans out with that finale.

Watch the mystery unravel below.