The Captain is on his way back to "How I Met Your Mother"!

According to Vulture, Kyle MacLachlan's character -- known for having his marriage torn apart by Ted (Josh Radnor) in Season 6 -- will guest star on an episode of "How I Met Your Mother," with the details of his appearance being kept mostly under wraps. The episode will air on February 18.

In other casting news...

David Cassidy is swinging by "CSI." The "Partridge Family" alum will appear as Mr. Coe, described as a "veteran poker player who is desperately trying to hold on to his fading youth." [TV Guide]

Ellie Kemper is reprising her role on "The Mindy Project." Kemper -- who appeared on a December episode of "The Mindy Project" -- is headed back to the freshman Fox comedy, according to series creator Mindy Kaling. "Kemper's back #TheMindyProject," Kaling tweeted. [Twitter]

Ellen Muth will appear on "Hannibal." The "Dead Like Me" alum will play Georgia, with the details her of her character being kept under wraps. Muth joins Caroline Dhavernas, Molly Shannon and more. [TVLine]

Gerald McRaney will recur on "Southland." McRaney will appear on five episodes of the TNT series as Detective Hicks, a retired police officer who trained Officer John Cooper (Michael Cudlitz). [EW]

Loading Slideshow...
  • "Coming Back"

  • "Coming Back"

  • "Coming Back"

  • "Coming Back"

  • "Coming Back"

  • "The Locket"

  • "The Locket"

    Pictured: Sherri Shepherd, Jason Segel

  • "The Locket"

  • "The Locket"

  • "The Locket"

  • "Coming Back"

  • "The Final Page, Part One And Two"

    Jason Segel, Seth Green, Alyson Hannigan

  • "The Final Page, Part One And Two"

    Jason Segel, Seth Green, Alyson Hannigan, Neil Patrick Harris

  • "The Final Page, Part One And Two"

    Jason Segel, Seth Green, Alyson Hannigan

  • "The Final Page, Part One And Two"

    Jason Segel, Seth Green, Alyson Hannigan

  • "The Final Page, Part One And Two"

    Jason Segel, Neil Patrick Harris, Alyson Hannigan

  • "The Final Page, Part One And Two"

    Jason Segel, Seth Green, Alyson Hannigan, Neil Patrick Harris

  • "The Final Page, Part One And Two"

    Jason Segel, Neil Patrick Harris, Alyson Hannigan, Josh Radnor

  • "The Final Page, Part One And Two"

    Jason Segel, Seth Green, Alyson Hannigan

  • "The Final Page, Part One And Two"

    Jason Segel, Seth Green, Alyson Hannigan

Related on HuffPost: