the series finale, "last forever", reveals that robin and barney divorced after three years because her hectic travel schedule prevents them from spending any time together. robin leaves the group upon realizing that she can't bear to be around barney, who has resumed his womanizing lifestyle, or ted, who is now happily involved with tracy mcconnell (cristin milioti). she and the gang drift apart over the ensuing years, but she is there for ted and tracy's wedding, where she makes her peace with barney, who has recently had a daughter and is pleased to see that fatherhood has made him a better man.