In the long-running CBS sitcom How I Met Your Mother, Barney Stinson marries Robin Scherbatsky. Their wedding serves as the central focal point for the entire ninth and final season. However, while the ceremony is a major series milestone, the finale reveals that the couple divorces after three years of marriage.
The Evolution of Barney Stinson: From Womanizer to Husband
To understand who Barney Stinson marries, one must first look at the massive character arc that led the legendary womanizer to the altar. For the first several seasons of How I Met Your Mother, Barney, played by Neil Patrick Harris, was defined by his refusal to commit. His "Playbook" and "Bro Code" were designed to facilitate one-night stands, making the prospect of marriage seem nearly impossible for his character.
The shift began in Season 4 when Barney realized he had developed genuine feelings for Robin Scherbatsky. Unlike his previous flings, Robin shared Barney's cynicism regarding traditional romance, his love for scotch, and his penchant for cigars. This commonality created a unique bond that eventually outweighed Barney's fear of commitment. Their first attempt at a relationship in Season 5 ended in a messy breakup, but the seeds were sown for a more permanent union later in the series.
By 2026, television critics often point to Barney’s growth as one of the most complex examples of character development in sitcom history. He didn't just decide to get married; he underwent years of self-reflection, including a significant relationship with Nora and an engagement to Quinn Garvey, before realizing that Robin was the only person he could truly "suit up" with for the rest of his life.
The Strategic Engagement: "The Robin"
The path to Barney's marriage was not a straightforward one. It culminated in one of the most elaborate and controversial "plays" Barney ever executed: "The Robin." This multi-step plan was designed to win Robin back by making her realize her feelings for him through a series of psychological manipulations.
Barney spent weeks pretending to date Robin’s arch-nemesis, Patrice, creating a fake "Relationship Brand" and even staging a fake proposal. The final step of the play took place on the roof of the World Wide News building, where Robin found a page from the Playbook titled "The Robin." It detailed every step Barney had taken to bring her to that moment. Despite the manipulative nature of the plan, Robin said "yes," leading to the wedding that would occupy the show's final season.
This engagement served as a bridge between Barney’s old life as a deceiver and his new life as a committed partner. He used his "talents" for trickery to achieve a sincere goal: marriage. While fans in 2026 still debate the ethics of "The Robin," it remains the definitive moment that locked in the identity of Barney's future spouse.
The Wedding at Farhampton: Season 9’s Central Conflict
While many sitcoms feature a wedding as a single-episode event, How I Met Your Mother dedicated almost the entirety of Season 9 to the wedding weekend of Barney and Robin. The setting was the Farhampton Inn, a fictional coastal hotel where the gang gathered for the ceremony.
The season-long format allowed the writers to explore the anxieties and doubts both characters felt leading up to the "I do's." Barney struggled with his vows, his relationship with his father (Jerry), and the realization that his life as a "Barnacle" was ending. Robin, meanwhile, faced cold feet, specifically wondering if she should have been with Ted Mosby instead.
The wedding finally occurred in the episode "The End of the Aisle" (Season 9, Episode 22). It was a sincere, emotional ceremony where Barney vowed to always be honest with Robin—a significant promise given his history. In the context of the show’s timeline, the wedding took place in May 2013, though it aired in 2014. For viewers watching in 2026, the Farhampton episodes represent the peak of the show's experimental storytelling, focusing on the minute-by-minute emotional shifts of the wedding party.
Comparing Barney’s Major Relationships
Barney Stinson had hundreds of "conquests," but only three women truly challenged his bachelor lifestyle. Understanding why he chose Robin requires looking at why his other serious relationships failed.
| Partner | Relationship Type | Key Conflict | Outcome |
|---|---|---|---|
| Nora | Serious Dating | Barney's inability to be honest and his lingering feelings for Robin. | Barney cheated on her with Robin and confessed. |
| Quinn Garvey | Engagement | Lack of trust; Quinn was a stripper and Barney couldn't handle the jealousy. | They broke up after realizing they needed pre-nuptial agreements to trust each other. |
| Robin Scherbatsky | Marriage | Shared lifestyle goals but eventually clashed over Robin's career travel. | Married in S9; divorced three years later in the finale. |
Nora represented the "good woman" who could have changed Barney, but he wasn't ready to change for her. Quinn was essentially the female version of Barney, but their relationship was built on a foundation of mutual suspicion. Robin was the middle ground—someone who understood his dark side but also wanted a future with him.
The Finale Reveal: Why the Marriage Ended
The most divisive aspect of Barney’s marriage to Robin is its ultimate conclusion. In the series finale, "Last Forever," it is revealed that while the wedding was the culmination of the show’s narrative arc, the marriage itself did not last.
The couple stayed married for three years. During this time, Robin’s career as a world-traveling news anchor became a point of contention. Barney found himself living in hotels and feeling like a "spare tire" to her career. In a scene set in 2016 (within the show's internal timeline), they informed the group that they had decided to divorce.
The divorce returned Barney to his womanizing ways for a brief period, as he attempted to reclaim his youth through a "Perfect Month" (sleeping with 31 women in 31 days). However, this regression was temporary. The true end to Barney's romantic journey wasn't his marriage to Robin, but the birth of his daughter, Ellie.
Barney’s True "Love of His Life": Ellie Stinson
While Robin Scherbatsky is the answer to "who does Barney marry," she is not the person who ultimately changes him forever. That distinction belongs to his daughter, Ellie. In the series finale, the 31st woman Barney slept with during his "Perfect Month" became pregnant.
When Barney first held his newborn daughter in the hospital, he delivered a speech that mirrored his wedding vows but with far more sincerity: "You are the love of my life. Everything I have and everything I am is yours. Forever."
This moment provided the final resolution to Barney's character. While his marriage to Robin failed because two "alpha" personalities couldn't find a balance, his relationship with his daughter allowed him to finally retire the Playbook for good. By 2026, audiences generally view this as the "true" ending for Barney, even if the marriage to Robin remains the most famous part of his story.
FAQ: Common Questions About Barney Stinson's Marriage
Does Barney marry Quinn Garvey?
No, Barney and Quinn were engaged during Season 7 and 8. They broke up because they could not trust each other, as evidenced by their increasingly ridiculous demands in their pre-nuptial agreements. Quinn eventually returned briefly in Season 9 but only as a guest at the wedding.
Why did Barney and Robin get divorced?
They divorced primarily because of Robin’s hectic travel schedule as a famous journalist. Barney felt he was losing his identity while traveling the world with her, and the constant movement made it impossible for them to maintain a stable household. They ended the marriage amicably, though it led to Robin drifting away from the core friend group for several years.
What episode does Barney get married?
Barney and Robin officially marry in Season 9, Episode 22, titled "The End of the Aisle." The episode focuses on the minutes leading up to the ceremony, including both characters having final moments of panic before successfully exchanging vows.
Who is the mother of Barney’s child?
The mother is referred to only as "Number 31." She was the final woman in Barney's "Perfect Month" challenge. She is never shown on screen, and her name is never revealed, keeping the focus entirely on Barney’s transition into fatherhood.
Did Barney ever marry Nora?
No, Barney never married Nora. Although he was very close to her and she was the first woman he ever felt genuine romantic love for after his initial heartbreak as a young man, he ultimately sabotaged the relationship because he was still in love with Robin.
Final Summary of Barney's Marital Journey
For those following the narrative of How I Met Your Mother, the question of who Barney marries is central to the show's themes of growth and the unpredictability of life. Barney Stinson marries Robin Scherbatsky, a union that was built on years of friendship, shared trauma, and a mutual rejection of traditional social norms.
While the marriage ended in divorce, it served as the necessary bridge for Barney to move from a life of superficiality to a life of meaning. Whether you view the marriage as a success because of the wedding or a failure because of the divorce, it remains the most significant relationship in Barney's life until the birth of his daughter. For viewers today, the story of Barney and Robin stands as a reminder that some marriages are chapters in a larger journey of self-discovery, rather than a final destination.