The Gang


Episode Appearances
Ted Mosby, Marshall Eriksen, Lily Aldrin, Barney Stinson, Robin Scherbatsky

The Gang serves as main characters in How I Met Your Mother universe. They are included in all of Future Ted's stories and adventures before he met his wife, Tracy McConnell.

The Main Five

The Gang, also known as The Main Five, is a group of friends that consists of:

Additional Member Info and Trivia

The Gang at MacLaren's Bar in 2020 during Ted and Tracy's wedding.

  • The Gang is formed by Ted and Marshall in their university days.
  • Lily joins The Gang when she dates Marshall also in their university days.
  • In 2001, Barney joins The Gang after he decided to teach Ted how to live.
  • In 2005, after going out with Ted, Robin is included in The Gang after she meets the others in Purple Giraffe​​, as established in Last Forever - Part One. Partly due to reporting assignments and Ted's relationship with Tracy, Robin stopped hanging out with The Gang right after Marshall and Lily's 2016 Halloween party until sometime in 2020 when the Mother persuaded her to come to Ted and the Mother's wedding.
  • In Season 6, Zoey is temporarily a part of The Gang, but disappears after Ted ends their relationship.
  • Based on the events of Last Forever - Part One and Last Forever - Part Two, the Gang stopped hanging out after their 2016 Halloween party and only started hanging out again in 2018, albeit without Robin. Since that Halloween Party, the Gang promised to hang out when there were big moments. Barney set out a rule that if there is a big moment, the gang would hang out until at least 4 am. Although there were initially no big moments to hang out for in 2018, Marshall came in saying to the Gang he was offered a judgeship position, which to him was indeed a big moment. In 2020, the Gang hung out for the birth of Barney's daughter (except for Robin) and Ted and the Mother's wedding.  
  • Even in years when the Gang was no longer hanging out frequently, its individual members continued to see each other occasionally.
    • 2017, 2025, 2027, 2029, 2030 - Lily and Robin were reminiscing about the past over a bottle of wine. In each meeting, Robin also confessed to Lily details of an incident in 2013 where Robin was forced to watch Marvin after Lily left his pacifier on a bus (Bad Crazy). The 2017 meeting marked the first time that Robin encountered a member of the Gang since they stopped hanging out regularly in 2016.  
    • 2020 - Robin bumps into Ted and his daughter Penny as Ted was telling Penny about the GNB building he designed.  
    • 2020 - Lily, Marshall, and Ted attended their university alumni class reunion (How I Met Everyone Else​​​​​​).
  • It is unclear if the Mother was part of The Gang, however she was hanging out with them in 2016 when everyone visited Ted's suburban house and the Apartment for a Halloween Party, and once again in 2019 when they saw another Robots vs Wrestlers match.  
  • Technically speaking, each member of the main five members was engaged at least twice over the course of the series:

External Links


Ted Mosby vte
Friends & Family Tracy McConnellRobin ScherbatskyMarshall EriksenLily AldrinBarney StinsonAlfred MosbyVirginia MosbyHeather MosbyStacyTed's kids
Places MacLaren's PubThe ApartmentWesleyan UniversityGazzola'sTed's houseGoliath National BankNew GNB HeadquartersColumbia UniversityTed's Architecture ClassTed's Second apartmentPuzzles
Phrases RidonkulousTed Mosby: Architect (phrase)Right? Right?
Others Yellow UmbrellaThe Threeway BeltBlue French HornTed's best friendSensory Deprivator 5000Naked Lady NoiseTuxedo NightTantrumTurTurkeyKeyIntervention bannerDoctor XRed Cowboy BootsThe SwordsFive WordsMock SalutesClassic ShmosbyThe Mosby BoysFun factsZitch dogCrossword
Future Ted Future Ted's euphemisms (Eating a Sandwich) • Future Ted's liesFuture Ted's uncertaintiesFuture Ted's exaggerations

Marshall Eriksen vte
Friends & Family Lily AldrinTed MosbyRobin ScherbatskyBarney StinsonMarvin Eriksen Sr.Judy EriksenMarvin Eriksen Jr.Marcus EriksenAshley EriksenMartin EriksenMarvin W. EriksenDaisy EriksenUnnamed Eriksen Child
Places MacLaren's PubThe ApartmentWesleyan UniversityGoliath National BankMarshall and Lily's apartmentMarshall and Lily's houseAltruCell CorporationGazzola'sHoneywell & CootesNicholson, Hewitt, and West
Phrases LawyeredI'll Allow It
Others Ducky Tie (object)The Eight SlapsTed's best friendYou Just Got SlappedMabelTantrumMarshall versus the MachinesBest Night EverMarshall MedleyIntervention bannerMarshgammonThe Fish ListThe SwordsLong term betsFive WordsBig FudgeI'm Gonna Be (500 Miles)Singing habitRevertigo

Lily Aldrin vte
Friends & Family Marshall EriksenTed MosbyRobin ScherbatskyBarney StinsonScooterMickey AldrinJanice AldrinRita AldrinMorris AldrinGrandma LoisMarvin W. EriksenDaisy EriksenUnnamed Eriksen Child
Places MacLaren's PubLily's KindergartenWesleyan UniversityMarshall and Lily's apartmentMarshall and Lily's houseThe ApartmentLily's first apartmentLily's second apartment
Phrases Where's the poop?You sonuvabitchThank you, Linus
Others You're dead to me lookMarshpillowLong term betsIntervention bannerLily's bisexualityAldrin Justice (punishment)Lily's frequent urinationThe Kennedy Package

Barney Stinson vte
Friends & Family Robin ScherbatskyTed MosbyMarshall EriksenLily AldrinLeslieLoretta StinsonJames StinsonEli StinsonSadie StinsonTomSam GibbsJerome WhittakerCheryl WhittakerJ.J. WhittakerCarly WhittakerEllie Stinson
Places MacLaren's PubBarney's apartmentGoliath National BankAltruCell CorporationLusty LeopardLaser TagStinson housePuzzlesTotal Rip Fitness
Phrases AwesomeSuit UpLegendaryHave you metTrue StoryWait for itChallenge AcceptedWhat UpPatent PendingThat's The DreamJust... O.K.?Stinson OutPleaseDaddy's home
Others Barney's Blog83Ted's best friendP.L.E.A.S.E.Barney's magicBarney's WeddingHigh FivesThe Bro CodeThe Playbook (book)The Threeway BeltDucky Tie (object)The Eight SlapsNothing Suits Me Like a SuitTuxedo NightBarney's Get Psyched MixParty School BingoPlatinum RuleLemon LawHot/Crazy ScaleThe Mermaid Theory (theory)Freeway TheoryThe Chain of Screaming (theory)The Ewok LineIntervention bannerThe International Date LineFive WordsFake History LessonBarney's guysDibsBackwards perspective

Robin Scherbatsky vte
Friends & Family Barney StinsonTed MosbyLily AldrinMarshall Eriksen • • Robin Scherbatsky Sr.Katie ScherbatskyGenevieve ScherbatskyAlan Thicke
Places MacLaren's PubThe ApartmentRobin's apartmentHoser HutMetro News 1Come On, Get Up New York!World Wide NewsCanadaThe Gun Range
Phrases But...ummNobody asked you Patrice
Others Blue French HornRobin SparklesLet's Go to the MallSandcastles in the Sand (song)Space TeensThe Beaver SongP.S. I Love You (song)Intervention bannerTruth VoiceSir ScratchewanMock SalutesThe Locket (object)
Community content is available under CC-BY-SA unless otherwise noted.