->''"If I ever get out of here\\
Thought of giving it all away...\\
If I ever get out of here\\
If we ever get out of here."''
-->-- '''Music/{{Wings}}''', "Band on the Run"

Multiple (often two) characters, who usually share a large amount of animosity, get locked in a room (safe, elevator, etc.) and must spend the episode alone together. During which time they learn a new appreciation for each other.

If being locked in the room also puts the characters in danger, then they are LockedInAFreezer. If their mates locked them there intentionally, to get them to resolve an issue or light a spark between them, it's also TenMinutesInTheCloset. If they must work together to accomplish something (such as [[ClosedCircle escaping from the room]]), it's also EnemyMine. If they're LockedInARoom and have no idea how they got there, that's YouWakeUpInARoom, which is a type of OntologicalMystery. They're in trouble if one of them suffers from {{Claustrophobia}}. Sometimes takes the form of SubwaysSuck.

Usually a type of BottleEpisode, this trope is almost a requirement of any SitCom that's been on for more than a couple of years.

This is also an extremely common trope for playwrights, particularly for short two-hander plays. In addition to being an easy way to force conflict, it makes set design much simpler.

And before you ask, it has nothing to do with a character being locked in their bedroom as punishment.

Four walls are not a requirement - two characters locked out on a roof is essentially the same trope only without the claustrophobia. (In reality, most building codes state roof doors cannot [[NoOShaCompliance lock on the outside]], though, to prevent this from [[TropesAreTools happening]].)

See also ChainedHeat, RatsInABox, and RoomEscapeGame.


[[folder:Anime and Manga]]
* Happens to Shiro and Mozart in ''Manga/AfterschoolCharisma'', along with little Pandora. It's more to keep them safe than to make them get along, though, and they don't really learn a new respect for each other. Earlier, it ''looks'' like Napoleon and Ikkyu are going to do this to Shiro and Freud to help them reconcile... but they actually just throw them into the girls' locker room. [[{{Fanservice}} While the girls are changing]].
* Subverted in ''Anime/DennouCoil''. Yasako and Isako bond very slightly when they get locked in a room, and Isako later saves Yasako's little sister from a dangerous situation, but she ultimately remains as distant and antagonistic as before.
* In ''Manga/{{Hitohira}}'' Nono and Mirei wind up in the store room with each other, which gives them a chance to discuss their differences. The fact that Nono just lost her voice ([[spoiler:or fakes it]]) doesn't make things easier.
* An episode of ''Anime/MagicUsersClub'' has Sae and Ayanojyo locked in a closet, with Sae more and more unnerved as she realizes how long it might be before someone finds them. The audience thinks it's sexual tension between her and the attractive {{bishonen}}... and then, when she's finally freed, the true problem is discovered as she [[PottyEmergency races to the nearest bathroom]].
* In ''Anime/NeonGenesisEvangelion'',
** Shinji and Asuka are forced to spend an episode locked in a room so they can learn how to work in perfect sync with each other, in order to defeat an Angel which split into two parts that also move in perfect sync. (Admitedly, half this and half 'chained together')
** Misato and Kaji get stuck in an elevator, which increases the tension of their relationship.
** Downplayed with the infamous '[[LeaveTheCameraRunning elevator scene]]' between Rei & Asuka. It's only a few minutes, but it spends those minutes building up silent tension because Asuka has grown to hate Rei. When Rei [[RantInducingSlight decides to speak...]]
* Has happened twice in ''Manga/OnePiece'' so far.
** The first time is in the Alabasta arc. Captain Smoker is pursuing the Straw Hats, and due to [[IdiotHero Luffy]]'s [[GenreBlindness idiocy]], they fall through a trapdoor into an inescapable cage, courtesy of the saga's BigBad, Crocodile. He proceeds to spell out his EvilPlan, and Smoker learns that the Straw Hats are only there to help the country's princess foil the plan. Once they escape, and [[TheLancer Zoro]] saves Smoker from drowning, he lets them go, and leaves to inform his superiors of what he learned. He has a newfound respect for the Straw Hats by the saga's end, when they have saved the country.
** Occurrence number 2, post-TimeSkip. Vice-Admiral Smoker and his protégé, Captain Tashigi, are waiting for the Straw Hats in the New World. When the pirates take an unexpected detour, to an island that is supposed to be uninhabited, they follow them. They soon discover that the arc's BigBad, a MadScientist, is using it as a base. Long story short, they [[HeKnowsTooMuch learn too much]] and are imprisoned along with three members of the Straw Hat crew (including Robin, who was Crocodile's [[TheDragon Dragon]] and lampshades the situation's irony) and the Big Bad's subordinate who was revealed to be a WildCard, [[spoiler:Warlord of the Sea Trafalgar Law]]. They watch the Evil Plan play out in front of them, and are then exposed to it. When they escape, Smoker and Tashigi are forced into a full-blown EnemyMine, and are almost friendly with the Straw Hats when it's all over.
* Rito and Haruna find themselves in this situation, and in true ''Manga/ToLoveRu'' fashion, they're [[{{Fanservice}} naked]].
* In ''LightNovel/{{Toradora}}'', Ryuuji and Minori are locked in a warehouse together for a while.
* The ''Anime/MobileSuitGundamSEED'' episode "War for Two" sees Athrun and Cagalli (then-enemies on the verge of [[DatingCatwoman becoming love interests]]) stranded on an unnamed Pacific island, where they confront each other and themselves about things they have done and mistakes they have committed until then.
* One episode of ''Anime/CodeGeass'' sees Lelouch, Suzaku, Kallen, and Princess Euphemia stranded pairwise on an uninhabited island. Lelouch gets to spend time with his half-sister Euphemia, while the piloting rivals Suzaku and Kallen get to work out their differences.
* Chapter twelve of ''Manga/OmujoOmutsuJoshi'' has Morei call Shouta to a gym storage room to make a second attempt at confessing her love, the first having failed due to Shouta misinterpreting Morei's trying to appeal to what she incorrectly thought was his fetish as Morei confessing ''her'' fetish. They get locked in the storeroom and only escape when, in embarrassment after a PottyEmergency becomes PottyFailure, Morei punches Shouta through the door.

[[folder:Comic Books]]
* After one of the fallings out of Katchoo and Francine, the main characters of the comic ''ComicBook/StrangersInParadise'', their mutual friends David and Casey trick them into a sound booth at a small record studio, then handcuff them together, lock them in, drop the key down Casey's front, and watch from the two-way mirror until the two reconcile. Again.
* ''ComicStrip/KnightsOfTheDinnerTable'': Brian, Dave, and Bob once locked themselves in Brian's basement. This story gave some insight into Brian's previously nebulous back-story.

[[folder:Fan Fic]]
* An [[WhatCouldHaveBeen unused concept]] for a ''Fanfic/CalvinAndHobbesTheSeries'' episode had the five protagonists, the MTM, and Elliot all locked in a room together, all while a mysterious force is manipulating them.
* This a common FanFic cliche, one that writers typically use as a vehicle for their favorite ship. It's ''especially'' common when the ship in general springs from FoeYay.
* In ''[[http://archiveofourown.org/works/9501449/chapters/21497672 Lockdown]]'' a group of Gryffindors and Slytherins end up trapped in the Potions classroom due to a magic-seeking curse bomb having been set off in the entrance hall.
* In the ''WesternAnimation/MiraculousLadybug'' fanfic ''[[http://archiveofourown.org/works/12444282/chapters/28319676 Volpina, the Accidental Matchmaker]]'', Lila gets Akumatized into Volpina out of frustration at [[ObliviousToLove Adrien's inability to recognize Marinette's crush on him]], and, after a simpler attempt failed, locked them in the nearest locker room. [[ExactlyWhatItSaysOnTheTin The end result is in the title]].

* ''Film/TheBreakfastClub'' revolves around a bunch of students serving a Saturday detention, locked inside their school's library. They eventually end up as close friends.
* ''Franchise/{{Saw}}''
** ''Film/SawI'' is primarily set inside a bathroom, with two people chained to exposed pipes. Much tension ensues.
** ''Film/SawII'' has the victims locked in a house, expecting to work together.
** ''Film/SawIV'' has three of the victims in a room, not necessarily locked in, but if they open the door, two of them die. [[spoiler: Rigg blows the trap and causes two of them to die, but not one of them who was necessarily implied to be a victim.]]
** ''Film/SawV'' provides an interesting example as well: each of the four traps is seemingly designed so that one person has to die for the others to move on, [[spoiler:while all five could have survived to the end if they had worked together]]. Cryptic message "Five must become one" works on so many levels.
* [[InvokedTrope Invoked]] in the remake of ''Film/TheParentTrap'', when the camp counselors force Hallie and Annie to bunk together to work out their issues.
** This was actually taken from the original film, which also had the girls forced to room together.
* The four kids in ''Film/TheHole'' are [[LockedInARoom Locked In A Bunker]]. ''Literature/LordOfTheFlies'' shenanigans ensue.
* Referenced in one Creator/JohnWayne movie.
-->"Two men spend a long winter snowed-in in a shack. They either walk out good friends or..."
-->"One of them walks out alone."
* Lisa and Jackson from ''Film/RedEye'' are [[LockedInARoom Locked In a Plane]]. By the end of the flight? [[TryingToCatchMeFightingDirty They definitely don't kiss and make up]].
* Creator/RomanPolanski's ''Film/{{Carnage}}'' is about two sets of parents who meet in one set's apartment to discuss a fight their kids had. They are free to leave, one assumes, but BlackComedy ensues nonetheless. [[OscarBait All four actors have won or been nominated for Academy Awards]].
* ''Film/KissOfTheSpiderWoman'' (1985) revolves around this trope.
* So does [[Creator/LuisBunuel Luis Buñuel]]'s ''Film/TheExterminatingAngel''.
* Based on a play of the same name, ''Film/TheSunsetLimited'' is set entirely within a dingy apartment and only has two characters.

* ''Literature/SeptimusHeap'': Septimus and Simon in ''Darke'', when they are hiding from the '''Darke Domaine.'''
* Done intentionally in Creator/DavidEddings' ''Literature/TheBelgariad''. When Polgara finds that the bickering heirs of two rival countries are male and female, her solution to the feud is to lock the two together in a room, wait until the shouting stops, and then officiate the resulting wedding. Implausibly enough, this plan works perfectly.
** That sounds more like [[TenMinutesInTheCloset a different trope]].
* Done to a couple of minor characters in a few different Creator/DavidEddings series. Usually at Polgara (or her {{Expy}}'s) behest.
* In ''The Hunting of the Snark'', the Butcher and Beaver both happen to choose the same spot to hide from boojums. The Butcher ends up teaching the Beaver some mathematics and natural philosophy, and they soon become good buddies.
* The ''Literature/NancyDrew'' mystery novels were written (by uncredited authors under a house pseudonym) for children and teens, therefore [[ExecutiveMeddling the editors were]] [[MoralGuardians adamant]] that [[ContractualPurity teen sleuth]] Nancy Drew could not ever be [[BoundAndGagged tied up, chained, or shackled]], [[BondageIsBad since these bondage predicaments]] [[GettingCrapPastTheRadar could have sexual implications]]. But it was recognized that, for plot purposes, a story's villain might have a legitimate need to restrain Nancy's movements. The only acceptable way to do this was for the villain to lock Nancy in a room, leaving her completely unfettered within the room but unable to leave.
* ''Literature/{{Room}}'' by Emma Donoghue. The book is about a mother and her five-year-old child who are kept captive in a small room for years by a kidnapper. The child was born in the room and has never been outside in his life. Has since been made into an Oscar-winning movie.
* Happens to two main characters in Creator/JackieCollins' novel ''Chances''. Luckily, [[BrotherSisterIncest nothing happens]].

[[folder:Live Action TV]]
* ''Series/{{Smallville}}'' used this trope a lot.
** "Lockdown": [[spoiler:Lex and Lana]] are locked in an overheating panic room.
** "Mercy": [[spoiler:Lionel and Martha]] are locked in an elevator.
** "Nemesis": [[spoiler:Lex and Clark]] are trapped in bomb-infested tunnels.
** "Gemini": [[spoiler:Chloe and Jimmy]] are trapped in an elevator.
** "Descent": [[spoiler:Lois and Jimmy]] are locked in a freezer.
* The 60's TV series ''Series/ISpy'' raised this trope to an art form as main characters Kelly Robinson (Robert Culp) and Alexander Scott (Creator/BillCosby) were being locked in a room together in many an episode, giving them ample opportunity to flex their often hilariously witty repartee while attempting a frequently humorous escape.
* This trope occurs on nearly every single episode of ''Series/VicTORIous''.
* In one episode of ''Series/DrakeAndJosh'', Megan locks Drake and Josh in a tree house.
* ''Series/ICarly'': The trio in ''iSpace Out''.
** The same thing happens when they're held hostage in the second half of ''iPsycho''.
** Done intentionally in ''iSam's Mom''.
** Spencer is trapped in a box ForScience in ''iOMG''. The entire school population is locked into the school for an overnight project, which eventually leads to a RelationshipUpgrade between Sam and Freddie.
* The ''Series/{{NCIS}}'' third season episode "Boxed In" is about Tony and Ziva getting trapped in a shipping container and the rest of the team trying to find them.
** In the season 10 premier "Extreme Prejudice," Tony and Ziva are trapped in an elevator together and considering how much they bickered in the aforementioned season 3 episode, they seemed to have a bit more of a bonding experience this time around...
* Happens to Susan and Edie during the fifth season of ''Series/DesperateHousewives''. It turns into a TruthTellingSession... which ends with [[ItMakesSenseInContext Edie throwing old magazines at Susan]].
* One episode of the Creator/{{NBC}} drama ''Series/LasVegas'' is an episode titled [[ExactlyWhatItSaysOnTheTin "The Night The Lights Went Out In Vegas"]]. On a quiet night at the Montecito Hotel & Casino, the gaming area is almost empty save for a few people, since most of Vegas is at a highly-anticipated magic show elsewhere. Suddenly, the power to the entire city goes out, and at the casino, a gunshot rings out, followed by a scream. The Pit Boss, the Casino Host and the Manager are locked in the gaming area with a bunch of strangers and a dead body with a bullet wound, which means someone among them is the murderer. The casino's entire security team, running on a skeleton crew, is locked in the Surveillance Room, unable to resolve the situation, which escalates due to one person's {{Claustrophobia}}. Two characters with off-the-charts {{UST}} are trapped in an elevator with a short, silent man who won't stop smiling. Needless to say, the episode is the high point of an otherwise ordinary series, and since it has a stand-alone story it's perfectly enjoyable even if you haven't watched the rest of the show and don't know anything about it.
* ''Series/DueSouth'' has Fraser and Ray Vecchio locked in a meat freezer during the first season, then in a bank vault during the second season.
* In ''Series/GreysAnatomy'', George and Alex are trapped in an elevator and are forced to perform an emergency operation on a patient with a gunshot wound. Leads to the first prominent case of CharacterDevelopment in the show.
* The premise was repeatedly and relentlessly beaten to a pulp in the ''Series/ThatsMyBush'' episode: [[http://www.comedycentral.com/tv_shows/tmb/episode_107.jhtml "Trapped In A Small Environment"]].
* ''Series/BlakesSeven''
** The episode ''Sand'' has enemies Tarrant and Servalan stranded on a planet together, then stuck in a room that's buried in sand together. The end up consummating their FoeRomanceSubtext.
** ''Redemption'' has Avon and Jenna in a cell together. Technically, they're allies, but that doesn't mean they like each other!
* ''Series/BabylonFive'' examples:
** There's a nice subversion of this trope (as well as LockedInAFreezer) in an episode where G'Kar and Londo were trapped in an elevator and came out hating each other worse than ever. G'Kar was, in fact, deeply disappointed to be rescued, as he had hoped that they would both die, because that would mean he would get to see Londo's death without having to cause it himself (which would have triggered reprisals against the conquered Narn population).
** An episode by Creator/NeilGaiman had several people locked in different rooms with ghosts. Some were lost loves, some were friends they lost, at least one had a mortal foe giving snarky advice.
* A variation of this occurred in ''Series/KenanAndKel'', where people arriving in said room ended up getting locked in by the closing door.
* The penultimate episode of ''Series/ThePrisoner'' features the most byzantine of all the Village's plots to break the hero: "Let's lock you in a room for six days with TheDragon while he hypnotizes you and digs up your repressed memories like an evil Sigmund Freud."
* ''Series/ThePretender'' had an episode where Sydney and Miss Parker were trapped in the basement of an abandoned building. Sydney tells her about how the Centre, at one time, actually had good intentions and helped people.
* In the "Earthquake" episode of ''Series/NightCourt'', Dan and Roz are trapped in an elevator with two sumo wrestlers.
* ''Franchise/StarTrek'' examples:
** Numerous episodes of ''Series/StarTrekTheOriginalSeries'' involved the characters being locked in prison and trying to escape. One notable example was "The Menagerie".
** Done with multiple groups in the ''Series/StarTrekTheNextGeneration'' episode "Disaster", some more annoyed at their company than others.
** In the ''Series/StarTrekDeepSpaceNine'' episodes "Starship Down", where Bashir and Dax are trapped in a malfunctioning turbolift together and resolved the issue of Bashir's unrequited crush on Dax by agreeing to remain JustFriends.
** In the ''Series/StarTrekDeepSpaceNine'' episode "The Dogs of War", Bashir and the new Dax end up having their FirstKiss in an elevator on their way to Ops, much to Worf's disgust.
*** In the episode "The Forsaken", Bashir gets stuck in a malfunctioning section of the station with a posse of annoying diplomats with no respect for him and the whole group come out friends, and Odo and Lwaxana Troi are trapped in a turbolift together.
*** The episode "Life Support" sees Jake [[InvokedTrope arranging]] to get locked in a cell with Nog in order to make up with him after an argument.
* ''Series/StarTrekVoyager''.
** When Paris and Neelix [[LoveTriangle start playing tug of war with Kes]], it's only a matter of time before the pair of them crash land on a planet and have to overcome the odds to help a cute widdle alien baby to be born.
** In "Resolutions", Janeway and Chakotay get a disease that forces Voyager to maroon them on their own planet until a cure is found. The episode was designed to explore their {{UST}} in an environment where neither had to worry about their command responsibilities. Averted in the Season 7 episode "Natural Law", Chakotay is stranded on a planet with Seven of Nine. Given this trope, the actors wanted to follow up on the C/7 attraction shown in a recent episode. [[StatusQuoIsGod They were refused by the Powers That Be]] so their RelationshipUpgrade in the final episode [[StrangledByTheRedString appears to come out of nowhere]].
* On 'Series/StarTrekEnterprise'' Dr. Phlox is in decon with T'pol who is going through [[MateorDie Ponn Farr]].
* The main thrust of the ''Series/{{House}}'' episode "One Day, One Room" was a patient refusing to speak to anybody other than House (he explicitly describes himself as "trapped in the room with her"), and the two of them forcing each other to confront their demons (being victims of [[spoiler:rape and paternal abuse, respectively]]).
** "Lockdown" has several pairs of characters trapped together; Wilson and Thirteen, Taub and Foreman, Chase and Cameron, and House and a dying patient.
* ''Series/{{Eastenders}}'' has done about fifteen of these.
* ''Series/OneFootInTheGrave'' has episodes with the main character alone in his house, or in the dark with a power cut and there is one episode where he and his wife are stuck in a traffic jam.
** There was actually one episode which was just Victor and Margaret in their bedroom late at night trying to fall asleep. Technically, the door wasn't locked, but the episode was essentially just thirty minutes of the two of them arguing. At the end [[spoiler: they get absolutely nowhere]].
* In ''Series/BurnNotice'', Michael gets stuck in a hostage situation with Agent Bly, who up to this point had been a major pain in Michael's ass, and vice versa. They have to work together to get out of the situation (with Bly shot, no less) and end up with a mutual respect.
* ''Series/Studio60OnTheSunsetStrip'' had one of these, only different: Jordan and Danny were trapped on the roof of a building. They [[LampshadeHanging lampshade]] it as something out of the plot of a sitcom, but it still follows the traditional form.
* A tenth season episode of ''Series/MurphyBrown'', "From the Terrace," has many characters trapped on the terrace of their new space.
* Daphne and Niles in ''Series/{{Frasier}}'' spend an episode trapped on their roof, where they were supposed to be having a romantic date.
* In the ''Series/DawsonsCreek'' episode ''The Tao of Dawson'', Joey gets locked in a storage closet with the hated Drue Valentine, and ends up softening towards him... only for it to turn out that he could have called for help whenever he wanted.
* ''Series/BuffyTheVampireSlayer'' had the deliberate version of this - when Buffy fell out with Cordelia, the rest of the Scoobies conspired to lock the two in a limousine on the way to the Homecoming Queen dance with a note telling them to sort it out. Doubly subverted, because not only did they spend the entire journey arguing over who should have which corsage (very snidely), the journey then ended in the middle of nowhere, at which point bad guys appeared and started hunting them down like animals. Which actually ''did'' cause them to bond a little, in between running from gunmen and fighting demons.
** Played straight in "What's My Line". Xander and Cordelia are trapped in Buffy's basement with TheWormThatWalks lurking upstairs. They start arguing about whether or not to break out, degrading into VolleyingInsults which due to BelligerentSexualTension ends in a BigDamnKiss. They then break apart, stare at each other in horror, and mutually agree to break out immediately.
** And averted in the spinoff series ''Series/{{Angel}}''. Angel is furious with Cordelia because she rejected Angel's love only to sleep with his son. Later they're both on guard duty, in the same room for four hours.
-->'''Cordy:''' So, all this time alone together. Could be good for us. Maybe we should talk.
-->'''Angel:''' Maybe we shouldn't.
-->'''Cordy:''' Valid point.
* ''Series/FamilyTies'' had an episode where Mallory and Skippy were locked in a basement together.
* ''Series/StargateSG1'' example from "Zero Hour," courtesy of the unique command style of General O'Neill. To force a pair of alien delegates to behave like adults and come to an agreement, he puts them in 'time out' together in a small room. With a fruit basket. In all fairness, it did work.
** In a nod to this, Sheppard suggests something similar with the leaders of two soon-to-be warring villagers, but Weir turns him down. Given later events, everyone would have been saved some trouble had she ok'd it.
* ''Series/TheWestWing'' episode "[[LiteraryAllusionTitle No Exit]]", which trapped four pairs of people in a White House lockdown, giving them time to argue and come to terms with each other. Ish.
* Done in a hilariously bad scene of the hilariously bad ''Series/{{Birds of Prey}}'' live action series wherein Huntress and her wannabe boyfriend get locked into a sauna together. Naturally to avoid overheating they both have to strip down to their skivvies.
* ''Series/AllInTheFamily'' - In "Two's a Crowd", Archie and Mike get locked in the storeroom of Archie's bar. (This, after Archie had locked himself in the basement of his house a few seasons earlier; you'd think he would have learned...)
** The first-season episode "The Elevator Story" had Archie get stuck in a stalled elevator with, among other people, a supercilious black businessman and a Puerto Rican man whose wife is [[BornInAnElevator going into labor]].
* ''Series/TheBobNewhartShow'' - Bob and Emily spend the 1976 Bicentennial locked in their apartment building's storage room.
* Played straight with a twist on ''Series/GimmeABreak''. Nell is trapped in a basement after an earthquake with a Hispanic woman who only understands Spanish. To top it off, she's also deaf.
* In the third and final chapter of the 1996 ''Series/OnlyFoolsAndHorses'' Christmas trilogy, "Time On Our Hands", Del Boy deliberately stops an elevator in order to force Rodney to open up to him about his wife Cassandra's miscarriage. As a nod to the frequency of the trope, Del then repairs the lift, revealing that it was never broken in the first place.
* ''Series/{{Friends}}'' has done this at least three times, the first time early in the first season with Ross, Susan and Phoebe locked in a janitor's closet during Carol's labour. The second was when everyone else were trapped together in Monica's bedroom by Ross and Rachel breaking up outside. The third was later, with Ross and Joey locked out on the roof after trying to watch a meteor shower.
** During a citywide blackout, Chandler was locked in an ATM vestibule with supermodel Jill Goodacre.
--> "[[InnerMonologue Is it a vestibule?]] Maybe it's an atrium. Oh, yeah, THAT is the part to focus on, you idiot!''
* [[DoubleSubversion Doubly Subverted]] in ''Series/MyNameIsEarl''. The heads of two rival prison gangs were locked in a solitary cell together by a savvy warden. Once they got out, the fighting was worse than ever, but Earl later discovers that[[spoiler: not only did the two leaders secretly make up, they became StarCrossedLovers]].
* Happened with nearly every main character in ''Series/TheFortyFourHundred'' episode "No Exit". They had to work together to survive and escape a building that was trying to kill them (long story). In the end [[spoiler: it was revealed to be Marco's assistant PJ who was causing it, having taken promicin. Shawn died but recovered, having sorted out at least a few issues with Isabelle and Kyle. Meghan also died, got better, and got more UST with Tom. Maia and Diana had mother-daughter bonding time. Tom got a better understanding of Jordan, although they still seemed to hate each other.]]
* Masterfully subverted in the episode "Dawg Days" from ''Series/TheShield''. After an escalating feud between two gang members threatens to spiral out of control, a group of police officers lock them together in a storage container overnight, they jokingly assume that the normal course of events will occur and the two will settle their differences. However, when they return the next morning one of the gang members walks out and proclaims of his 'container-mate' "he ain't coming".
* ''Hancock'' (i.e. ''Series/HancocksHalfHour'', after it was shortened to 25 minutes) episode "The Lift", with nine people in a lift designed for eight (though at the end the lift breaks down ''again'' with only two people in it).
* An early ''{{Series/Mash}}'' episode has Trapper getting locked in a supply hut with Margaret Houlihan, resulting in a certain amount of FoeYay.
** They did several of these, most famously "Comrades In Arms" in which Hawkeye and Margaret are trapped behind enemy lines and take shelter in an abandoned hut. Debate rages as to whether or not They Did It.
* On ''Series/KateAndAllie'', when the two title characters were having a fight, the kids handcuffed them together in the kitchen, through a counter - and then left.
* In ''Series/{{Moonlighting}}'', David Addison and Maddie Hayes get stuck in an elevator, and finally have to deal with Maddie's pregnancy and her avoidance of David going on for months prior to this.
* ''Series/TheGoodies'' managed to trap themselves in their apartment...by being encased in a block of concrete.
* In the re-imagined ''Series/{{Battlestar Galactica|2003}}'' episode "No Exit", [[spoiler:Ellen Tigh,]] a Sharon, and a Cavil are in one room together for the whole episode, with the point being Cavil getting his existential issues off his chest. [[spoiler:It doesn't work]]
* In the ''Series/{{Eureka}}'' episode "If You Build It...", Larry and Fargo get locked in the trunk of a car together.
* In ''Series/TheFreshPrinceOfBelAir'' Will gets stuck in the basement with his girlfriend. They really start [[http://www.youtube.com/watch?v=nE72U19W574 getting on each others nerves.]]
* An interesting version appears in ''Series/{{Heroes}}'', when Peter gets himself stuck inside Sylar's head while the latter is in a telepathy-induced coma. Naturally, they start seething at each other, complete with Sylar getting punched in the teeth. They end up having to draw an truce at the end of the episode, which allows them both to escape and wake up from their comas.
* In the ''Series/{{Castle}}'' episode "Setup" Beckett and Castle are locked up while they are tested for radiation poisoning and again in the same episode when they are locked in a freezer to freeze to death.
** And then again in the episode "Cuffed" where Castle and Beckett wake up in a locked room, handcuffed together on a bed with [[YouWakeUpInARoom no memories of how they got there]]. Tensions mount when [[spoiler: a hungry tiger breaks into the room.]]
* In ''Series/PeepShow'', Mark and Jeremy spend the best part of an episode locked in a stairwell.
* Happens more than once on ''Series/DiagnosisMurder'' . One episode sees Steve and Jack locked in a room where Jack proceeds to have a panic attack due to his severe {{Claustrophobia}}. Another episode sees Steve and Jesse trapped in a room in the hospital after [[spoiler: the hospital is blown up by a bomber]] and the door is blocked. The latter lead to the pair discussing what careers they would have chosen had they not became a policeman and a doctor. Jesse mentions that he wanted to own a BBQ restaurant, which he and Steve then do in the following episode and continue to do for the next 3 seasons.
* On ''Series/{{Benson}}'', this seemingly happened at least once per season.
* In the ''Series/HowIMetYourMother'' episode "Mom and Dad", Barney notices his divorced parents Jerome and Loretta are AmicableExes, and gets them trapped in an elevator as part of a ZanyScheme to get them back together. They realise what Barney is trying to do, and Barney's half-brother James (who wants his own dad to be reunited with Loretta) eventually rescues them.
* Happens twice in ''Series/RedDwarf''. First with VitriolicBestBuds Lister and Rimmer were stuck in Starbug that crashed onto an ice planet in Marooned, then with the whole cast (Lister, Kryten, Kochanski, and The Cat) in the air ducts of Starbug in Duct Soup.
* ''Series/{{Supernatural}}'' has a variation in season 3. Dean traps a demon in a devil's trap in a basement, but she triggers a storm that blocks the door out. Because he lost his exorcism handbook and can't remember the incantation, they are trapped together until Sam comes to the rescue.
* ''Series/FallingSkies'' has another "trapped beneath rubble" version with Tom and Dingaan trapped in the rubble beneath an alien ship after a battle. They manage to climb up into the crashed ship. Then they accidentally trip the self-destruct sequence...
* Chuck and Sarah get locked in a trunk together in the ''Series/{{Chuck}}'' episode "Chuck Versus the Imported Hard Salami". Note that this is while they're on the outs with each other, after Chuck has wanted to renounce their cover and date other women...
* In one episode of ''Series/WelcomeFreshmen'', Alex, Kevin, and Mr. Lippman are all to act in the school play, only Grant is upset that Alex will be kissing Kevin in the play, while Kevin was hoping a girl he wants to kiss would be cast instead of Alex, so before the play starts, Kevin locks Alex in the closet right before Grant decides to lock Kevin in there, and then Mr. Lippman gets locked in.
* In one episode of ''Series/SesameStreet'', Gordon, David, Buffy, and Luis all get locked on the roof after the building inspector noticed the door was left unlocked (unaware that somebody was on the roof), right when it starts to rain.
* In the ''Series/FraggleRock'' episode "Marooned", Red and Boober get trapped in a cave-in.
* Played straight in ''Series/BreakingBad''[='s=] episode 4 Days Out, White and Jesse elect to go out to the middle of nowhere to cook for four straight days. Little did they suspect that the battery on their car would run out, trapping the boys out in the wilderness. What's worse, the backup generator they brought would be ruined by Jesse, leaving them without water in the middle of the hot New Mexico desert. After all attempts fail to get back, White and Jesse are forced to come to terms with each other, through delirious dehydration, and work together. When all hope seems lost, the boys collectively figure out how to create a battery and jump the RV, making it back home.
* ''Series/PersonOfInterest''. An EnforcedTrope in "Aletheia". John Reese and Detective Fusco get thrown into the clink by the local sheriff after having a punch-up, with Fusco complaining that the sheriff doesn't respect his NYPD badge. But after giving Reese the GetAHoldOfYourselfMan speech he didn't want to listen to before, Fusco just tells the sheriff to let them out.
** In "Til Death" the [[VictimOfTheWeek Victims Of The Week]] are a married couple who both hired a hitman to kill the other. Reese and Finch end up kidnapping them and locking them up in a safe house to resolve their issues.
* ''Series/DeathInParadise'': In "The Complex Murder", Dwayne and JP get locked inside a shipping container that is being used as a lock-up. We then discover that Dwayne - who has been riding JP all episode because of his fear of drowning - suffers from {{Claustrophobia}}.

* Paul Nicholas' "Heaven On The 7th Floor" is a song about himself and a woman being stuck in an elevator together and falling in love with each other. But since he doesn't mind what happens, he tells people not to rescue him.

* An episode of ''Radio/AdventuresInOdyssey'' had Whit trapped in an elevator with a loud-mouthed radio personality...and a bomb. In the end the bomb turned out to be fake and it was all a mean-spirited practical joke.
* Lampshaded in the ''What Does the K Stand For?'' episode "Riot". After describing his AmazinglyEmbarrassingParents, Stephen says:
-->'''Stephen''': So, as you can imagine, the worst thing that could have happened to me back then would be to be stuck in a room with those two for days on end in some kind of strange siege situation, right? And we wouldn't do the "holed up together in a room" kind of hell episode of a sitcom, would we? You'd better believe it.

* ''Theatre/NoExit'' has three people, each with their own issues, trapped together in a room in hell. But not only can't they help each other, but they were specially chosen to keep each other company for eternity, tormenting each other's weaknesses with their own character defects.
* The 1972 play ''6 Rms Riv Vu'' has a man and woman, strangers to each other and both married, responding to a newspaper ad for an apartment to rent, and developing a romance after getting locked inside together when they show up to look at it.
* In ''Theatre/{{Wicked}}'', Elphaba and Glinda unwillingly become roommates at school. They can't stand each other at first, but later become friends.
* In ''Theatre/SweetCharity'', almost immediately after Oscar and Charity meet, they get trapped together in an elevator between floors.
* ''Theatre/{{Curtains}}'': Since Jessica Crenshaw was murdered during the ShowWithinAShow 's bow, Lt. Cioffi believes she was murdered by a member of the production and sequesters the theater until he can solve the case. The good thing is it gives everyone the chance to fix the show and work through their personal problems.

[[folder:Video Games]]
* In the first level of ''VideoGame/SecondSight'', John Vattic has the opportunity to lock two security guards in the isolation cell he just escaped from; very quickly, the two of them discover that neither of them owns a working radio, and help will not be arriving for hours. Since the windows of the cell are large and shatterproof, the [[VideogameCrueltyPotential player has the luxury of watching the two guards slaughter each other]]. [[PassThePopcorn Bring some popcorn.]]
* VisualNovel/{{Clannad}}'s storage room curse does exactly this. Perform the necessary ritual, think of somebody you want to be locked up with, and later that day you'll be locked up in a room with that person. You could end up being locked with Kyou, Nagisa, Tomoyo, Akio, or Sunohara. The anime adapts Kyou's version. The weirdest part is that it's part of a route that does not involve any of them.
* Joker's relationship with EDI in ''VideoGame/MassEffect2'' runs much more smoothly after the two are forced to run the ship by themselves after the Collector attack.
* The core aspect of ''VisualNovel/NineHoursNinePersonsNineDoors'' is this. You go through a door, and try to get the required key and escape. The entire premise is you and the other people being trapped as well. Oh, and you can get LockedInAFreezer too if you follow a certain path.
* ''[[VisualNovel/FateStayNight Fate/hollow ataraxia]]'' features a scene that meets all the criteria, but instead of a room it's in a magical chest with Rin and Shirou trapped inside. This chest has properties including making outgoing cell phone calls get received in the future and having a TimeDilation effect.
* In Homare's epilogue in ''VisualNovel/ClassTripCrush'', he and the protagonist end up accidentally locked into the library overnight. After considering their options, they decide to make the best of it and sneak out when the library opens in the morning.

[[folder:Web Original]]
* In the ''WebVideo/KateModern'' episode "Trait Positive", Charlie and Gavin get locked in the G&T IT office together over the course of a weekend, spanning seven episodes. Over that time, they bond. In the later episode "False Alarm", it is revealed that they also slept together that weekend.
* In the ''WebVideo/SuperMarioLogan'' episode, "The Elevator!", Bowser Junior and his friends, Joseph and Cody, get stuck in an elevator on their way to a meet and greet hosted by [[ShowWithinAShow Doofy the Dragon]].

[[folder:Western Animation]]
* Used as the FramingDevice in the ''WesternAnimation/{{Rugrats}}'' Passover special: Tommy, Chuckie, and Angelica (and eventually the rest of their families) get locked in the attic with Grandpa Boris, and Boris passes the time by telling the story of Passover, WholePlotReference style.
-->"Don't close the--"
-->"[[RunningGag Door...]]"
** Averted in "Driving Miss Angelica". Angelica and Chuckie get shut in the hallway closest, and Drew can't hear them as Angelica tries to open the door. She begins to panic as Chuckie calmly goes over and opens the door himself, and then informs her that she had been turning the doorknob in the wrong direction.
* The same happened to most of the cast on ''WesternAnimation/{{Sealab 2021}}'', in the episode "Trapped In The Closet". One by one, over the course of the episode, they were locked into a storage closet by a malfunctioning hatch. In an ironic inversion of LockedInAFreezer, the ''outside'' of the closet turns out to be the dangerous area, with angry attack dogs running around.
** In "Cavemen" Quinn and Stormy end up trapped in a cave by a shark hungry for blood after eating rabbit carcasses. They're unable to call for help because Sealab is burning (yes, underwater) for some reason (it's implied Stormy had something to do with it). And they're running out of oxygen. [[spoiler: They don't make it and are reunited in heaven with the rest of the Sealab crew (and also free hookers).]]
* Thanks to Mike and Bryan being a little too aware of the {{Shipping}} that goes on in the fandom of ''WesternAnimation/AvatarTheLastAirbender'', the character Katara has found herself trapped inside a cave alone not once, but twice, with both the [[OfficialCouple main protagonist]] and [[ShipTease antagonist]] of the show.
* The second episode of ''WesternAnimation/ClerksTheAnimatedSeries'' revolved around this. The old friends locked in an industrial refrigerator together started to reminisce about their wacky adventures, turning the trope into the framework for a ClipShow...except, since this was the ''second episode'', there was only one episode to show clips from. This got even more surreal when the second episode was broadcast first, meaning viewers had never seen the clips it kept referencing.
* One memorable episode of ''WesternAnimation/{{Animaniacs}}'' had Dr. Scrathensniff stuck in an elevator with Wakko Warner..
* [[YouSuck Ron Stoppable]] and Mr. Barkin spent an episode of ''WesternAnimation/KimPossible'' locked inside a truck. They hardly got to know each other, because Barkin got goofier and crazier.
* ''WesternAnimation/{{Arthur}}'':
** While the titular character and his little sister, DW, are locking in a refrigerator of a restaurant, they learn to use their imagination as they listen to an old radio show on the ancient radio in the fridge.
** Another time Arthur and Francine were locked in the library overnight while they were mad at each other, and made up during the course of the story.
* ''WesternAnimation/TheSimpsons'':
** When Mr. Burns and Homer wound up getting snowed in a log cabin, they both end up getting paranoid about the other's intentions.
** Also invoked in another episode, where the characters lock Skinner and Krabappel in a room to get them to work out the teacher's strike. After banging on the door for several hours they finally agree to talk.
* Inverted in ''WesternAnimation/SpongebobSquarepants.'' Spongebob and Patrick get "trapped" in a cave, already really close (a little [[HeterosexualLifePartners too close]]). Eventually, they decide to eat each other out of hunger.
* The ''WesternAnimation/FamilyGuy'' 150th episode "Brian and Stewie" center on Brian and Stewie locked in a bank vault for a weekend.
* In ''WesternAnimation/AngelsFriends'', Raf and Sulfus get trapped in the Caves of Obscurity.
* In the ''WesternAnimation/MiraculousLadybug'' episode "Animan", Alya and Nino are [[MakesSenseInContext locked together in a cage at the zoo.]]

* One of the most common cliches of theater-style LiveActionRoleplaying. The game has only limited space to play in, so locking the characters in a room (duly equipped with a Conflict Ball) is often used to explain why no one just leaves.