->''"Just this once, we work together! Mortal enemies working together for the common good!"''
-->-- '''Dib''' on teaming up with Zim, ''WesternAnimation/InvaderZim'', "Bolognius Maximus"
%% One quote is sufficient. Please place additional entries on the quotes tab.
A shorter form of the Arab proverb "The enemy of my enemy is my friend." Another phrase used to describe this is "War makes for strange bedfellows." This results in a scenario where foes must work together to achieve a common goal.
This type of team-up usually starts with the villain coming to the hero's aid, usually saying that a certain threat is a danger to them both, or [[TheOnlyOneAllowedToDefeatYou "No one kills you but me!"]] when they save the hero from certain doom. May arise from a MexicanStandoff. After the team-up, the villain will usually let the hero live for now because they were so useful, so everything can return to status quo.
Frequently, if it is a goodie-baddie partnership, the baddie will look for opportunities to pull something that gets them a profit (or, in the case of ''really'' bad baddies, allows them to stab the goodie in the back). If the villain doesn't betray the hero right away, but there is still animosity between them while they are working together, then you have TeethClenchedTeamwork. If the Status Quo is not maintained there could be a creep towards FriendlyEnemy status. Can become a HeelFaceRevolvingDoor if it happens more than once.
Sometimes the baddie is more the hero's WorthyOpponent than a villain and the external threat will be truly evil. In this case the hero will recognize that the third part is [[EvilerThanThou the bigger/more dangerous threat]] and WorthyOpponent will be offended that the third party intruded on a 'private game'. Afterwards it's a pity to see them go back to their old rivalry because together, since they're an unstoppable fighting force. (If they ''don't'', they've become FireForgedFriends.)
A good source of FoeYay, whether due to the fact that the villain secretly does harbor feelings for the protagonist (a direct example) or simply realizes how boring and/or aimless his life would be without the protagonist. Compare EmbarrassingRescue, GondorCallsForAid. See also EnemyCivilWar. Anti villains are more prone to this trope than most, and less likely to backstab the goodies afterwards.
See also AnOfferYouCantRefuse, GenghisGambit, and CollidingCriminalConspiracies. When there's no common enemy ''per se'', it's GoKartingWithBowser. If the villain saves the day without the hero's help, then BadGuysDoTheDirtyWork. If the villain in question is [[DemonicPossession possessing the hero]], but there's a greater threat the two must conquer together, this can result in a SymbioticPossession. More short term deals fall under CooperationGambit. Contrast with WeAreStrugglingTogether, where you have putative allies who end up backstabbing and/or infighting with each other. When this trope is averted completely, one has a MexicanStandoff.
[[CaptainObvious As might be gathered by this point]], this article [[IThoughtItMeant is unrelated]] to [[SeaMine passive defensive weapons]] planted by one's foes. Also not related to mines of the underground type; for that, see UndergroundLevel or MinecartMadness. Wholly unrelated to QuoteMine, which refers to the propaganda tactic of being very particular in quoting someone the propagandist disagrees with to convey an inaccurate conception of his/her actual opinion and/or why s/he said that.
Finally, this is an opportunity to show the villains as being more competent than they typically are. While they're defeated by the heroes week after week, the bad guys can actually contribute to the defeat of whatever threat they're teaming up with the heroes against.
'''Obviously, beware spoilers.'''
Not to be confused with the Dennis Quaid movie/Barry Longyear story ''Film/EnemyMine''. We also sincerely hope that you did not have a slip of the finger and ended up here instead of at EnemyMime. For an enemy that ''is'' a mine, see ActionBomb, and for a different kind of mine which is filled with enemies, see DugTooDeep.
Compare NominalHero, a character who fights for good even though their intentions are not heroic at all.