In the year 2030, a man named Ted Mosby gather his kids to tell them the story of how he met their mother. The time flashes back to 2005, where a 27-year-old architect Ted, impressed by the engagement of his friends Marshall Eriksen and Lily Aldrin after 9 years of dating, decides he wants to build his own family now. Despite protestations from his friend Barney Stinson, a perpetually single womanizer, Ted quickly has a crush on the woman he meets in a bar one night, a local TV reporter named Robin Scherbatsky but then starts dating with a wedding baker Victoria, as well as getting help from the dating system company Love Solutions.