According to Vulture, Holmes will make her 'HIMYM' debut in a Halloween episode in October. The character, who dressed as a pumpkin at a Halloween party in 2001, was introduced in the show's first season as a potential love interest for Ted.
'HIMYM' co-creator Craig Thomas called Holmes a "lovely" and "talented" actress. Holmes' last TV role was in Reelz Channel's 'The Kennedys' miniseries, and her last guest appearance on a scripted TV show was an episode of ABC's 'Eli Stone' in 2008.
Holmes joins a long line of famous faces to have portrayed one of Ted's love interests on 'HIMYM,' including Sarah Chalke, Rachel Bilson, Jennifer Morrison and Mandy Moore.
Tell us: Do you think Katie Holmes will make a good Slutty Pumpkin?
What other famous faces will be popping up on TV shows? Find out below!