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) is a just a random word, which makes sense; [[ThePasswordIsAlwaysSwordfish why would you make the magic words to a secret chamber of riches something anyone could figure out?]]

For musical passwords, see SongsInTheKeyOfLock.

----
!Examples:

[[foldercontrol]]

[[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]]

[[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.
[[/folder]]

[[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/{{WALL-E}}'', when Auto prompts the captain for voice confirmation, he replies "Uhhh..." - which, of course, is accepted.
[[/folder]]

[[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.)
* ''{{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/TheBourneSeries The Bourne Ultimatum]]'' 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 ''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.

[[/folder]]

[[folder:Literature]]
* 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.
** The DisneyAnimatedCanon version of ''Disney/{{Aladdin}}'' (the adaptation of "[[Literature/{{Aladdin}} Aladdin and His Magic Lamp]]" from the ''Literature/ArabianNights'') featured this in the third movie, where this was the magic phrase used to part the ocean to get to the base of the 40 Thieves.
*** "Open Caraway!!"
* In ''The 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 ''EndersGame'' have voice-activated locks.
* ''Literature/HarryPotter'': Want to get into the Chamber of Secrets? Then you'd better know how to speak Parseltongue!
* 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]]

[[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.
* In one episode of ''Series/StargateAtlantis'' trhe door to a scientist's hidden lab is activated by tapping three light sconces, each of which emits a different tone.
* Occurrs in ''Series/{{Charmed}}'', like [[FantasyKitchenSink many other magical tropes]].
* 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 realise what's happening and get them out in time, [[CantYouReadTheSign silently pointing to the sign]] saying IN CASE OF EMERGENCY USE STAIRS.
[[/folder]]

[[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 BattleTech universe, the standard activation sequence for a 'Mech involves a voiceprint match ''followed by'' a code phrase.
[[/folder]]

[[folder:Video Games]]
* 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 ArTonelico, Lyner attempts this and several variations in the Musical Corridor, and the door opens... because someone was coming through in the other direction.
[[/folder]]

[[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 theives.
[[/folder]]

[[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 breaththrows 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. Later, when Popeye is beset with the thieves and can stands no more, he takes out his spinach can and says to it, "Open, says me!" and it magically opens.
[[/folder]]
----