02/01/2013 04:03 pm ET Updated Feb 01, 2013

Kyle MacLachlan Has Rejoined 'How I Met Your Mother' And More Casting News

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]

How I Met Your Mother