
Segel had initially wanted to focus on his film career, leaving the fate of a ninth season uncertain. By 2012, Deadline Hollywood reported that CBS, 20th Century Fox, and all regular cast members except Segel wanted to continue with a ninth season. The show gained a resurgence in ratings during season seven, and CBS began discussing the possibility of ordering a ninth season. How I Met Your Mother was initially scheduled to run for eight seasons after CBS ordered a seventh and eighth season in 2011. Cristin Milioti, who was revealed as The Mother in the Season 8 finale, has been promoted to series regular, a first for the series. Josh Radnor, Jason Segel, Cobie Smulders, Neil Patrick Harris, and Alyson Hannigan all reprise their roles in this season. The ninth season features a cast of six actors who receive star billing. Ethan Anderton from Screen Rant was concerned about how "24 episodes of television are going to be crafted from just three days of time", and Alan Sepinwall of HitFix was exasperated that after eight seasons, "They are really going to stretch Robin and Barney's wedding weekend out over the entire final season", though he expressed more optimism after the San Diego Comic-Con panel for the final season.

The initial reaction to the new storytelling structure of Season 9 was mixed.

In February 2013, Bays and Thomas teased that Season 9 is "going to be a new way to tell the story". Thomas said in an interview that Season 9 is like "the Wild West – anything can happen". The season also features frequent flashbacks and flashforwards in order to fully integrate The Mother's character with the rest of the cast. During the course of the weekend, "The Mother" (Milioti) is separately introduced to Robin, Barney, Lily ( Alyson Hannigan), and Marshall ( Jason Segel), before finally meeting Ted ( Josh Radnor). Taking place immediately after where the previous season left off, Season 9 covers the events of a single weekend that leads up to Barney ( Neil Patrick Harris) and Robin's ( Cobie Smulders) wedding. Season 9 consists of 24 episodes, each running approximately 22 minutes in length. Cristin Milioti, who was revealed as " The Mother" in the Season 8 finale, was promoted to a series regular, the only time How I Met Your Mother added a new regular cast member.

The show was renewed for the final season on December 21, 2012, after cast member Jason Segel changed his decision to leave the show after Season 8. The ninth and final season of How I Met Your Mother, an American sitcom created by Carter Bays and Craig Thomas, premiered on CBS on September 23, 2013, with two episodes, and concluded on March 31, 2014.
