With help from his four best friends, Ted tries to find the woman of his dreams in New York City.
While Marshall and Lily are ready to buy a new home, Ted attempts to move on with his life and find a new romantic partner after separating from Robin.
As Ted Mosby is getting ready for his new job as a professor of architecture, he is about to meet his future wife. Barney and Robin have to come to terms about their relationship.
When Ted is hired as the architect of a bank's new headquarters, he meets Zoey and they become close. Lily and Marshall are trying to have a baby. Marshall is devastated after some sad news.
Marshall lands his dream job, and Robin learns that she cannot have children and she decides she must break up with Kevin. Ted and Robin become estranged, and Barney dates a stripper named Quinn.
Hours before the wedding, Marshall and his son Marvin take the bus on the last leg of their journey to Farhampton, and he begins telling stories of his friends.