Stories thrive on {{Conflict}}, and to have conflict, a story must have at least two combatants. Typically, although the moral distinctions between one combatant and the other can be as [[MoralityTropes clear and simple or murky and vague]] as one likes, we in the audience will be inclined to take sides and wish for one combatant (the hero) to prevail over the other (the villain). If the hero wins, we'll usually consider this a HappyEnding, and if the villain wins, we'll usually see this as a DownerEnding.

Conflict, however, does not always turn out to be a simple zero-sum game where someone has to lose in order for someone else to win. Sometimes, though a hero and villain's goals are seemingly irreconcilable, they can work out a compromise to their mutual benefit. Sometimes, heroes and villains can find a way to bypass each other on the way to achieving their goals. Sometimes rain falls on the just and the unjust alike, and both manage to bring in a good harvest. In short, some stories end in victory for the heroes and villains alike.

In many ways, this ending is likely to qualify as one of the happiest versions of the HappyEnding. Compare SweetAndSourGrapes, which may contribute to this ending for either or both combatants. It may also be especially common in stories where both sides are OnlyInItForTheMoney and there's more than one way to get paid. This might also be the result of CutLexLuthorACheck if it happens because the villain decides to cash in on his legitimate (or not-so-legitimate) talents.

Needless to say, this is an {{Ending Trope|s}}, so expect spoilers.

----
!!Examples:

[[foldercontrol]]

[[folder:Anime and Manga]]
* At the end of ''Anime/{{Macross 7}}'', the Protodevlin discover that [[spoiler:they can create [[LifeEnergy Spiritua]] by singing, rather than needing to steal from humans.]]
* In ''{{Naruto}}'', the very long-running villain Pain realizes that his and Naruto's goals are the same but winds up [[spoiler:preferring Naruto's approach over his own. He ultimately sides with Naruto and dies happy by sacrificing his own life to resurrect everyone he just killed]].
* Many villains in ''OnePiece'' end up being even more well-off than before they took on (and got clobbered by) the heroic Straw Hat Pirates. The most prominent case is Wapol, who was previously an oppressive king in a failing kingdom and, indirectly due to the Straw Hats' meddling, became a CEO for a toy company and now makes weapons-grade metal for the World Government's military (that only he can make). Both positions make more money than he ever made as king.
** [[spoiler:Er, subverted somewhat, as he goes on to rebuild his own Drum Kingdom after the two year TimeSkip with a much more evil motif. Yeah, seems Wapol didn't learn diddly squat during his exile.]]
* IrresponsibleCaptainTylor has this. Episode 23 features the conflict between Earth and the Raalgon coming to its climax... and then Tylor, the leader of Earth's forces, refuses to fire on the enemy, instead opting to pass through their lines peacefully. His unnatural luck, paired with his counterpart Dom's sense of honor (both of them repeatedly countered orders to fire from subordinates, believing in the other), caused the great conflict's final battle to end without bloodshed - a sympathetic retired admiral on Earth sent a message to both commanders congratulating them for both achieving victory (by going for peace).
* In ''Anime/GirlsUndPanzer'', the final confrontation between Miho and her sister Maho's schools ends this way. Miho, in winning the tournament, saves her school from being shut down, enabling her to return for her third year with all her friends, and validates her own style of tankery. In doing so, she also makes this also a victory for Maho, whose greatest desire and reason for serving AS Nishizumi heir is for Miho to be able to live and do tankery her own way, and be happy doing so.
* ''ShakuganNoShana'' ultimately ends this way. A god named Fu Xi was awakened by the prayers of his followers, the Crimson Denizens, and planned to create a new world for his subjects to live in, away from the conflict with the Flame Hazes. Under the impression that the amount of [[LifeEnergy Power of Existence]] that this plan would require would damage the Earth, the Flame Hazes fought back, and, in the end, sealed the god away. Cut to the present, and Fu Xi is released once again by Bal Masque, the antagonists of this series. This time, however, Fu Xi enters a contract with Yuji, and is renamed as 'The Snake of the Festival'. A second great war breaks out between the Flame Hazes and the Crimson Denizens, but Yuji and the god succeed in creating Xanadu, and were even able to do so without disrupting the fabric of reality around Earth. The conflict between the the two warring factions was now over, as the Crimson denizens relocate to Xanadu (alongside Shana and Yuji, to boot).
* ''Manga/CardcaptorSakura'' has this ending, as befitting a series with no real villains. The Clow Cards, antagonists of the first arc, end up with a new loving master who can sustain their power. Eriol, the antagonist of the second arc, only created conflict to help Sakura succeed, and took as much pleasure in her victories as she did. By the end of the series, with all the new relationships forged and old fences mended, everyone ends up better off than they did at the start.
[[/folder]]

[[folder:Comic Books]]
* In the ''ElfQuest Holiday Special'' episode there's a major grudge fight between Cutter and Rayek where they almost end up killing each other. The win-win part is that it lets Cutter burn out his (admittedly justified) aggression toward Rayek, allowing them to become allies, if not actual friends just yet.
[[/folder]]

[[folder:Folk & Fairy Tales]]
* In ''Literature/{{Bearskin}}'', a soldier successfully escapes the DealWithTheDevil he made out of desperation with a tidy profit, and gets a loving wife too. As for the devil, he proudly announces at the end that although he lost the soldier's soul, he gained the souls of his two new sisters-in-law in exchange: they had commited suicide out of envy when they saw what they had rejected.
* The tale of [[http://www.pitt.edu/~dash/type1675.html Peter Ox]] is an even better example: TheBadGuyWins, but an odd brand of HilarityEnsues and the farmer and his wife and their new step-son all end up living together HappilyEverAfter to the end of their days anyway. In this case, it's also win-win-win, as the titular Peter Ox is basically a bystander who just happens to reap great benefits when he gets caught up in the cover story the bad guy fed the farmer and his wife.
[[/folder]]

[[folder:{{Film}}]]
* Interestingly, ''WinWin'' only sort of has a Win Win Ending. Sure, Leo gets to stay in his own house, Kyle gets to stay in New Providence, and Cindy is out of the immediate picture -- but she gets $1500 a month for nothing while Mike has to take a second job and Kyle may have blown his chance at a wrestling scholarship.
* A version in ''ThorTheDarkWorld'': [[spoiler:Thor gets to do what he wants: travel the worlds righting wrongs, fighting evil, and being with Jane Foster, without worrying about being king of Asgard, which he doesn't ''want'' anymore. Meanwhile, Loki gets what ''he'' wants: the throne of Asgard -- which even Odin and Thor came to believe he was better suited temperamentally to occupy than Thor -- no one the wiser, his adopted mother's killer dead, and Thor out of the picture). Even better, everyone else thinks he died a hero's death.]]
* ''Film/TheLegoMovie'' ends with the villain being redeemed and the heroes fulfilling their goal. Even Emmett's romantic rival agrees to let him have the girl.
[[/folder]]

[[folder:Literature]]
* ''Literature/HowTheGrinchStoleChristmas'' ended with the Grinch being reintegrated into Whoville to everyone's benefit.
** Both the [[WesternAnimation/HowTheGrinchStoleChristmas animated]] and [[Film/HowTheGrinchStoleChristmas live action movie]] adaptations of this story heavily implied that his thieving in some ways opened the Whos' eyes to how overly materialistic they'd been about Christmas, such that the [[HeelFaceTurn moral reformation]] was a two-way street.
* In ''Literature/TreasureIsland'', the heroes did finally get their treasure. So did the villain Long John Silver, who [[KarmaHoudini escaped justice]] with several hundred pounds of it. In the words of protagonist Jim Hawkins, "I think we were all pleased to be so cheaply quit of him."
** Disney's ''Disney/TreasurePlanet'', being a straight InSpace adaption of ''Treasure Island'', has the same 'everybody goes home happy' ending, including Silver escaping with a bit of treasure and his freedom.
[[/folder]]

[[folder:Live Action Television]]
* In ''Series/StarTrekDeepSpaceNine'', Nog and sometimes Jake's recurring subplots about a ChainOfDeals usually end this way, with everyone getting what they want or ending up better off than at the episode's start. Most apparent in the episode "In the Cards", which ends with a montage of everyone in a better mood while the CaptainsLog voiceover remarks on the sense of renewed energy.
[[/folder]]

[[folder:Newspaper Comics]]
* In ''ComicStrip/{{Dilbert}}'', the much-despised PointyHairedBoss often comes into conflict with his workers over their efforts to do as little work as possible and still get paid -- but [[http://dilbert.com/strips/comic/1993-10-17/ not always]].
* [[http://john.seikdel.net/gocomics.php?date=811102&comic=blm This]] ''BloomCounty'' strip, which also [[TropesAreNotBad demonstrates an upside]] to BookBurning: as long as the burners are ''buying'' their kindling, the customers are satisfied, the stores that sold them their materials get paid, and the offending creator of the works destroyed gets another big fat royalty check.
[[/folder]]

[[folder:Video Games]]
* In the ''Firestorm'' extension for ''CommandAndConquer: Tiberian Sun'', both GDI and Nod are better off at the term of their EnemyMine situation.
* ''VideoGame/FinalFantasyXII'' ends this way. The heroes get their homeland's sovereignty back and the [[AntiVillain villains]] achieve their goal (which conquering the area was a necessary step in):[[spoiler:overthrowing Ivalice's JerkassGods]].
[[/folder]]

[[folder:Western Animation]]
* ''WesternAnimation/{{Animaniacs}}'': ''Film/WakkosWish'' ends with [[spoiler:everyone getting his and her wish]].
** [[spoiler:[[BrokenAesop Except]] [[ButtMonkey the Mime]], [[EveryoneHatesMimes of course.]]]]
* ''WesternAnimation/MyLittlePonyFriendshipIsMagic:'' In the two-part series opener, the heroines save Equestria from Nightmare Moonís attempted eternal night. In the process, Nightmare Moon is reverted to her pre-villain identity as Princess Luna. After [[DefeatMeansFriendship she asks forgiveness for her wrongdoing]], the episode ends with a celebration in honor of Princess Lunaís return. (And the entire reason Luna had turned to villainy in the first place was because she thought the ponies didnít love or respect her.)
[[/folder]]

[[folder: RealLife]]
* Almost the definition of commerce if it works as intended (note the qualifier). For instance, the Chinese had a great craving for jade and TheRomanEmpire had a great craving for silk, and after a ChainOfDeals through the Silk Road by relays of {{Intrepid Merchant}}s, each managed to get it. A little more complicated than a simple trade, as Romans didn't have jade but they did have gold, with which they could buy jade in central Asia.
[[/folder]]

----