According to a press release, Lopez will play a self-help author, Anita Appleby, who writes about the ways "to train men into relationship machines through the power of denial." After she learns about Barney's treatment towards women from Robin (Cobie Smulders), Appleby wants to tame him.
"We couldn't be more excited about Jennifer Lopez joining us on 'How I Met Your Mother,' " executive producer and co-creator Carter Bays said of the latest celebrity cameo on his hit CBS comedy. "We're looking forward to a week of revealing outfits and sexy dance moves the likes of which this show hasn't seen since Regis Philbin guest-starred."
Lopez is also rumored to be making a guest appearance on "Glee." According to reports, the show's producers are trying to get her on the show to play a cafeteria worker. Coincidentally, Harris is also reportedly guest-starring on the Fox dramedy, according to Entertainment Weekly.
The actress and singer, who began her career on TV as a dancer on "In Living Color," has been ramping up her appearances lately, beginning with her (unintentionally hilarious) performance of "Louboutins" at the American Music Awards in November. Her new album, Love?, was originally scheduled to come out in January, but it's since been pushed back to April.
Carrie Underwood is also set to make a cameo on "How I Met Your Mother," where she will play pharmaceutical sales rep and love interest for Ted (Josh Radnor) in an episode airing in March. In the past, "The Hills" stars Heidi Montage and Spencer Pratt have guested on the show, as well as Britney Spears who played love-struck receptionist Abby in 2008.
Are you excited to see Jennifer Lopez on "How I Met Your Mother"? Do you think she should also sign up for "Glee?" Let us know in the comments below, or upload a video to Your.MTV.com!