[[caption-width-right:350:[[BlatantLies That thing must be impassable.]]]]

A door or area is secured by a lock that uses a sound to open the lock, including a spoken phrase.

The fact that it sounds an awful lot like [[OpenSaysMe "Open Says-A-Me"]] is a coincidence: the phrase is directly translated from Arabic "Iftaḥ yā Simsim", and the pun doesn't work. The use of "Sesame" ("Simsim" in Arabic) just happens to be a random word, which makes sense; [[ThePasswordIsAlwaysSwordfish why would you make the magic words to a secret chamber of riches something which anyone could figure out?]]

Of course, the story [[ItWasHisSled is too familiar these days]] for it to be used as a password in a serious sense, making the phrase something of a DeadHorseTrope, only PlayedForLaughs.

For musical passwords, see SongsInTheKeyOfLock.



[[folder:Anime and Manga]]
* The Anime/LupinIIIRedJacket episode "[[Recap/LupinIIIS2E19 A Safe Bet]]" has Lupin desperately trying to open a specially-made safe that contains the antidote to a poison he has been given. After trying every trick he knows, he gets so frustrated he wonders if opening it isn't something as stupid as yelling "Open Sesame!" It is.
* Featured in Manga/MagiLabyrinthOfMagic, which has most of its design roots in ArabianNights to begin with.

[[folder:Comic Books]]
* In ''ComicBook/TheSmurfs'' story "The Smurfs And The Book That Tells Everything", Brainy uses a spell given to him by the book that only allows it to be used when it hears ''only Brainy'' announcing his name.
* A ''ComicBook/CaptainAmerica'' story had a prison breakout story where the con attempt to escape using Cap's shield, but they can't open the main door because they are not aware that it only opens when you say "Captain America" to it. A sequel story was created when that feature's obvious security problem was explored when the cons were gathered in front of that door and accidentally opened it when someone said Cap's name.
* In one ''ComicBook/{{Cavewoman}}'' mini-series, the phrase needed to open a magical portal is "Oh my God! I don't want to die!". As the portal is guarded by flesh-eating yetis, this has resulted in a lot of intruders accidentally saying the activation phrase.

[[folder:Films -- Animated]]
* In ''Disney/AladdinAndTheKingOfThieves'', this is naturally the way to open up the entrance to the Forty Thieves' lair. The ocean parts and a stone road running out to a large offshore rock formation forms. And then a crack opens in the rock formation, leading to the lair.
* Used amusingly in ''WesternAnimation/WallE'', when Auto prompts the captain for voice confirmation, he replies "Uhhh..." - which, of course, is accepted.
* In ''Disney/TheRescuersDownUnder'', when Bernard, Bianca and Jake reach [=McLeach=]'s hideout where he's keeping Cody, Bernard and Bianca start digging under the door to get in while Jake sarcastically says "Have you tried 'Open Sesame'. At that moment, [=McLeach=] opened the door and the three rodents were raised into the air on it.
-->'''Jake''': [[ComicallyMissingThePoint Hey, it works!]]

[[folder:Films -- Live-Action]]
* A 1950s movie has the wives and daughters of the original Forty Thieves, seeking vengeance for their slaughtered families, living in a cave worked by this means... sort of.
-->Open Sesame! (door opens, woman enters with friend)
-->Close Sesame! (door closes, woman picks up a carrot, walks around a wall)
-->Good girl, Sesame. (gives the carrot to Sesame. Sesame is a trained mule.)
* ''Film/{{Sneakers}}'' has a voiceprint lock that requires a specific phrase; unlike in ''Shadowrun'', it ends up being possible to beat the lock with a tape recorder.
* ''Film/TheBourneUltimatum'' has [[TheDragon Noah Vosen]] keep all his incriminating documents in a safe with a voiceprint lock. [[IdiotBall Rather stupidly]], the phrase he uses is his own name [[spoiler:and he answers his phone in the exact same way]].
* At the end of ''Film/TheHotRock'', Dortmunder finally gets the sought-after diamond after a bank guard was given a hypnotic suggestion. He casually utters the key words "Afghanistan banana stand" to the guard - there's some tension as the guard doesn't ''act'' hypnotized, but he does follow instructions and hands over the diamond.
* In Film/TheLordOfTheRings, when the Fellowship tries to enter Moria through the enchanted gate.
* ''Curse of the Crystal Eye'' naturally uses the phrase to open the 40 Thieves' cave, along with the titular huge diamond.

* The name of this trope comes from the tales of "Literature/AliBabaAndTheFortyThieves", where the 40 Thieves hide their stolen loot in a cave. The entrance uses a rock that moves only when you say, "Open Sesame" (Ali Baba follows them there).
** OlderThanRadio: Though often included in editions of ''The Literature/ArabianNights'', the oldest known version of Ali Baba is an 18th-century French translation by Antoine Galland.
* In the ''Literature/EnchantedForestChronicles'', a gate in the Caves of Fire and Night is protected by a spell like this; originally the key was just "open sesame" but the dragons had to keep making it more complicated. The one we hear is a rhyming couplet followed by the word "alberolingarn".
* ''Literature/AtlasShrugged'' has Galt saying a phrase to get into the power house.
* In ''Literature/LordOfTheRings'', the door to the mines of Moria has one of these, with the inscription, "SpeakFriendAndEnter".
* Creator/RobertAHeinlein's ''Literature/StrangerInAStrangeLand''. Ben Caxton's apartment had a door lock that opens when a specific phrase is spoken.
* The Battle School lockers in ''Literature/EndersGame'' have voice-activated locks.
* ''Literature/HarryPotter'': Want to get into the Chamber of Secrets? Then you'd better know how to speak Parseltongue! [[spoiler:Apparently, just making the correct noises without knowing the language also works, as Ron did years later.]]
* In ''The Language of Power'', the fourth book in the ''[[Literature/TheSteerswoman Steerswoman]]'' series, the wizard Jannik has a voice-activated lock [[spoiler:on his computer]].

[[folder:Live-Action TV]]
* An episode of ''Series/MissionImpossible'' requires the mark the IMF is seeking to open the warhead room by saying the words, "January Suborbital Denomination."
* ''Series/DoctorWho'':
** In "The Invasion of Time", there was a hidden doorway that opened when a particular phrase was spoken. The phrase was "There's nothing more useless than a door with a voice lock."
** In "Battlefield", the door is keyed to the Doctor saying "Open up -- it's me."
** Played with in "The Doctor's Wife", where Amy and Rory are told that the key to a door is "crimson eleven delight petrichor", but saying it doesn't work: [[spoiler:the door has a telepathic interface, and the key is to ''think'' the meaning of each word in turn]].
* An episode of ''Series/{{Leverage}}'' has a safe with a voice activated lock. The thieves get in by being able to record every possible sound from the safe's owner by getting him to say the name of a very complicated French dish, then have him drop the F-bomb when he realizes it's raw shrimp.
* An episode of ''Series/TheMuppetShow'' has a sketch involving Fozzie Bear trying to get into Ali Baba's cave. "Open Sesame" is repeatedly invoked, and eventually results in a whole bunch of ''Series/SesameStreet'' characters emerging from the cave.
* Used in a skit in ''Series/SesameStreet'' itself too. Kermit in his TV news reporter outfit, is interviewing Ali Baba, who cannot remember the famous password; eventually, he leaves, and Kermit signs off to the camera, telling viewers to tune in next time when they "Open Sesame Street News"... Which accidentally opens the door. (Causing Kermit to be mugged by the Forty Thieves.)
%%* Occurrs in ''Series/{{Charmed}}'', like [[FantasyKitchenSink many other magical tropes]]. %% In which episode?
* In the opening episode of ''Series/{{UFO}}'', Alex Freeman activates the lift to SHADO's ElaborateUndergroundBase by doing a LargeHam recitation from ''Theatre/RomeoAndJuliet'' into a receiver disguised as a humidor case. Once his voiceprint is verified, [[ToTheBatpole the office starts sinking into the ground]].
* ''Series/BuffyTheVampireSlayer''. The lift to the Initiative's ElaborateUndergroundBase is activated by a similar method, which causes problems when demons steal the voices of everyone in Sunnydale. Two Initiative soldiers enter the lift and can't give voiceprint verification, causing the lift to fill with DeadlyGas. Fortunately the scientists down below realize what's happening and get them out in time, [[CantYouReadTheSign silently pointing to the sign]] saying IN CASE OF EMERGENCY USE STAIRS.
* ''Series/TheOuterLimits1995'', episode "The Haven": the ultra-secure, ultra-private apartments in the titular residential complex are so heavily automated that even the kitchen cabinets can't be opened or closed unless the resident tells them to. This backfires when the male lead can't even get into his own fridge when the system stops working.

[[folder:Tabletop Games]]
* In the ''TabletopGame/{{Shadowrun}}'' TabletopRPG, voiceprint locks are designed so simply tape recording and using the voice of an authorized person won't work.
* In the TabletopGame/BattleTech universe, the standard activation sequence for a 'Mech involves a voiceprint match ''followed by'' a code phrase.

[[folder:Video Games]]
* Kashuan Keep in ''VideoGame/FinalFantasyII'' can only be opened by either the voice of a member of the Kashuan royal family or the ringing of the Goddess's Bell.
* Sonic tries this phrase in [[VideoGame/SonicStorybookSeries Sonic and the Secret Rings]] to try and enter Erazor Djinn's FinalBoss room. Given he's in the Arabian Nights, it'd qualify as a GenreSavvy move, but it doesn't work as the door requires the seven [[MacGuffin World Rings]] to open.
* The PC adventure ''VideoGame/KingsQuestV'' has a treasury used by a band of thieves open with the very same phrase as the title of this trope, most likely as a shout out to ''Literature/ArabianNights'', given the series' tendency to reuse fairy tales in their plots.
** Used again in ''VideoGame/KingsQuestVI'' where Alex breaks into the EvilChancellor's secret room with [[spoiler:"Ali Zebu"]].
* "Opensesame" is the CheatCode in ''VideoGame/DeusEx'' to unlock any door you target.
* In VideoGame/ArTonelicoMelodyOfElemia, Lyner attempts this and several variations in the Musical Corridor, and the door opens... because someone was coming through in the other direction.
* Subverted in ''Videogames/TheStanleyParable'': at one point, you are presented with a door that has a voice receiver, and the Narrator tells you the password. However, due to Stanley being a HeroicMime (or the game not supporting voice input, whatever), ''the door cannot be opened''. The Narrator interprets your silence as mockery, and grows more agitated.
* In the Original Campaign of ''VideoGame/NeverwinterNights'', one of the side-quests involves holding a conversation with a child standing outside her house. She tells you that a secret passage opens behind a certain piece of furniture in her house when someone says "Hal-u-eth" (the name of a famous historical figure in the game). If you use the piece of furniture and you have this information, you get the chance to say "Halueth" and you get sent to the side-quest area.

[[folder:Web Original]]
* In ''Literature/{{Phaeton}}'' the door to the Dungeon of Flames is opened with "Open Sesame", no matter what language it is spoken in. The dungeon is also implied to be the former cave of the forty thieves.

[[folder:Western Animation]]
* The WesternAnimation/LooneyTunes short ''WesternAnimation/AliBabaBunny'' involves WesternAnimation/BugsBunny and WesternAnimation/DaffyDuck accidentally tunneling into the cave of a wealthy sultan. When the sultan's guard, Hassan sees this, he tries to invoke the phrase in order to open the cave and capture them, but finds that he's forgotten the proper word:
-->Uh...Open, sarsaparilla? Open, Saskatchewan? Open, septuagenarian? Open, saddle soap?
* Occurred in ''WesternAnimation/DenverTheLastDinosaur'' which also require a dance.
* In one episode of ''WesternAnimation/DextersLaboratory'', the titular laboratory only opens when you use the spoken password "Franchise/StarWars". Any other phrase, such as ''omelette du fromage'', won't work and will only increase the security around the lab [[spoiler:including the self-destruct]].
* Mr. Krabs used a voice-activated lock in one episode of ''WesternAnimation/SpongebobSquarepants'', "Jellyfish Hunter", on the enclosure with all the jellyfish he had Spongebob capture. However, while telling Spongebob about the lock he says "The door is voice-activated, and will only open if I say 'open'." You can guess what happens next.
** Averted in another episode where Spongebob and Patrick are trapped behind a door. Patrick takes a deep breath, throws out his arms, and says "[[SimpletonVoice Open Sesame! ... Well I'm out of ideas.]]"
* ''The Arabian Knights'' cartoon on ''WesternAnimation/TheBananaSplits'' Show. The entrance to the title characters' cave was covered by a rock that slid aside when one of them said "Open Sesame!"
* In ''WesternAnimation/PopeyeTheSailorMeetsAliBabasFortyThieves'', Popeye pursues the Forty Thieves when they kidnap Olive and Wimpy to their cave and has some difficulty remembering the magic word he overheard them use to open the door and just smashes through. Later, when Popeye is beset with the thieves and can stands no more, he takes out his spinach can and says to it, "Open, sez me!" and it magically opens.
* In the ''Franchise/ScoobyDoo'' episode "Go Away, Ghost Ship" a hidden warehouse is guarded by a (mechanical) talking skull that demands a password. Since this is an episode with ghost pirates, Velma tries "Yo ho ho and a bottle of rum," which doesn't work. Shaggy tries "Yum yum yum and a liverwurst a la mode" as a joke ''and it does.''
-->'''Shaggy:''' Wow, some password!
* In ''WesternAnimation/DannyPhantom'', the password Jack programmed into the Fenton Portal's security is 'Open Sesame'. The Guys In White are shocked that the password is something that simple.
* Throughout the second half of the short, "When You're Hot..." from the ''WesternAnimation/TinyToonAdventures'' episode, "[[Recap/TinyToonAdventuresS2E2GoingPlaces Going Places]]", Plucky unsuccessfully attempts to open a box that says, "OPEN IN CASE OF FIRE" to put out a fire at Acme Looniversity. When Buster tells him to get the box open, Plucky tells him, "I've tried everything except saying, 'Open Sesame!'". Turns out, saying "Open Sesame!" opens the box.
* In ''WesternAnimation/TheTransformers'', Dr. Arkeville's secret laboratory hidden within a cliff face only opens when he says this command. [[LampshadeHanging Lampshaded]] by Starscream.
--> '''Arkeville:''' I, Dr. Arkeville, genius of science, say... OPEN SESAME!"
--> '''Starscream:''' [[SarcasmMode How original]].