%% Image selected per Image Pickin' thread: http://tvtropes.org/pmwiki/posts.php?discussion=1362495197081601200
%% Please do not replace or remove without starting a new thread.
%%
[[quoteright:350:[[WesternAnimation/TheFairlyOddParents http://static.tvtropes.org/pmwiki/pub/images/Titlecard-Genie_Meanie_Minie_Mo_4295.jpg]]]]
[-[[caption-width-right:350:"[[RuleOfThree Three things I can't escape from]]: magic lamps--[[Series/IDreamOfJeannie the charms of Barbara Eden]]--[[AppliedPhlebotinum and smoof stuff!]]"]]-]

->''"'''[[LargeHam PHENOMENAL COSMIC POWER!!!!!!]]''' [-[[AndIMustScream Itty bitty living space.]]-]"''
-->-- '''The Genie''', Disney's ''Disney/{{Aladdin}}''

In Arabic tales, most popularized in the west in the book ''[[Literature/ArabianNights 1001 Tales of the Arabian Nights]]'', the ''djinn'' were a variety of spiritual species, somewhere in between Angels and mankind, capable of great acts, both good and evil. Some of the greatest magicians in Arabic lore were able to capture djinn to their service, and tied them to items such as lamps or rings. {{Djinn}} were not usually ''obligated'' to [[MakeAWish give wishes]] to whoever helped them; if they did, it would be out of gratitude. Some djinn got impatient and settled for just leaving if freed, while others [[IrrationalHatred took revenge on humanity by killing/tormenting whatever stupid human released them]].

If they were bound to their prison, djinn were slaves to their owners but did not have any [[RealityWarper reality warping]] powers per se. After all, the "wish" was more like a ''command'', and the djinn simply used their incredible powers to do their master's bidding. If their master wished for a castle, they built one (with varying levels of efficiency: a powerful djinni may do it in seconds whereas a weaker djinni may spend years on the task). If they wanted money, the genie pulled it [[BagOfHolding out of their own coffers]] (a human's mind being unable to comprehend how much they had). Nevertheless, a djinni was still allowed to refuse orders if his master asked for something beyond his abilities.

Much of this has been lost in the modern depiction of the Genie in the Bottle. In television, they are most often within brass oil lamps, of a type that is no longer used. Most Western ''viewers'' (but not the GenreBlind characters) upon seeing [[http://www.ci.yuma.az.us/Images/General/ss-6516556-genieLamp.jpg this kind of lamp]] would immediately associate it with a genie.

They are summoned from the lamp via rubbing and offer to grant wishes unto the person who freed them. These wishes can be anything (although some give [[FunctionalMagic rule-based limitations]]). A BenevolentGenie will attempt to fulfill the spirit of the Master's wish. A malevolent genie will be a LiteralGenie or worse, a JackassGenie, and will fulfill the worst possible [[ExactWords interpretation]]. Typically, genies who do their best to follow their master's true wish will tend to fall into the hands of villains who will exploit them {{egregious}}ly.

The [[MakeAWish wishes]] that Genies grant have become a kind of RealityWarp that requires a human master. A genie may have powers they can use themselves, but nowhere near what they can do if a human says "I wish..." first. This also seems to be a function of the lamp; as a freed genie will not be able to grant said wishes even if they want to.

Most modern depictions of Genies have a [[MagicAIsMagicA rule]] that they can ''only'' give their master ThreeWishes (and [[Disney/{{Aladdin}} ixnay on the wishing]] for [[StoryBreakerPower more wishes]]!). If this is the case, expect a none-too-bright master to [[WastefulWishing waste the first one or two]] on [[MundaneWish pointless fripperies]] before learning their lesson and using [[RuleOfThree the third]] to make some meaningful change to their lives.

This one is well enough known that Christina Aguilera's first song was called "Genie In A Bottle" and featured many (somewhat sexual) references to this trope. Do not confuse with FairyInABottle.

----
!!Examples:

[[foldercontrol]]

[[folder:Anime and Manga]]
* Shenlong, the Eternal Dragon from the ''{{Dragonball}}'' series, could be considered a variation on this. He "resides" in seven orange balls that must be collected before he can be summoned. Once he appears, he can grant his summoner(s) one wish, so long as it does not exceed his own power (a concept which seems to grow more flexible as the series progresses). He is somewhat cranky, often threatening to harm summoners who take a while to make their wish, but never follows through on these threats. If the person who created the dragonballs dies, then so does the dragon.
** In one inversion of the genie trope, during the later days of Dragonball, King Piccolo makes a wish and then kills Shenlong to thwart anyone trying to throw a wrench in his designs for world domination. Shenlong is later revived since his creator was not killed.
** In ''Dragonball Z'', we meet another such dragon, Porunga, on the planet Namek, where the creator of Earth's dragonballs (Kami) comes from. He is able to grant three wishes to whoever summons him.
*** Also in ''Dragonball Z'', Shenlong dies again when Kami re-merges with Piccolo Jr. He is revived again however, when Dende, another Namek, takes over the position of Guardian of the Earth. The 'Dende incarnation' of Shenlong looks the exact same, but can now grant two wishes instead of one.
** In ''Dragonball GT'', we see a version of the Jackass genie when the Evil Dragons appear from the dragonballs as a result of all the wishes made over the years plus the dragonballs being contaminated when a portal to Hell is opened.
** There is also [[RealityWarper Majin Buu]]. A magical creation who waged war on the gods, and was [[SealedEvilInACan trapped in smoke form and sealed in a ball]]. Babidi spends years trying to release him, in the hopes that Buu would use his immense strength and reality-warping powers to help him dominate the universe.
** Mr. Popo strongly resembles a genie, but doesn't live in a bottle or have any wish-granting powers. He does fly on a magic carpet sometimes, though.
* ''HakushonDaimao'': The Genie will grant wishes when someone sneezes. His clumsiness will often mess things up.
* ''Manga/MagiLabyrinthOfMagic'', of course, since it's based on ''Literature/{{Aladdin}}''. The genies really ''are'' [[OurGeniesAreDifferent different]], though. Uugo is a giant blue muscleman who lives in a "lamp" (actually more of a flute) and helps him out in the same manner that a hypnotized [[ComicBook/IncredibleHulk Hulk]] would.
* Makun from ''NagasareteAirantou''.
[[/folder]]

[[folder:Comicbooks]]
* The JusticeSocietyOfAmerica member Johnny Thunder, and later his LegacyCharacter successor, Jakeem Thunder, can summon and control a powerful genie named the Thunderbolt. [[spoiler: After his death, Johnny actually ''merges'' with the Thunderbolt, becoming part of the genie himself]].
* ComicBook/GoldDigger has a few genies, notably Madrid. The spoiled princess of the Djinn, Madrid's attempts to bypass the genie restriction on using magic for oneself led to the destruction of her kingdom. She became an EvilTwin of Gina, the super-genius explorer, when Gina was invited to examine the genies' power source. The mental and physical disguise turned out to be permanent. Over time [[BecomingTheMask her mind, overlaid with Gina's intelligence and moral compass,]] let her realize how she had always screwed herself over with her selfishness. Now human, she's kind of an alternate-universe Gina, exploring new worlds while the real Gina teaches at the university.
* In ''{{Fables}}'' the Djinn are a race of nigh-omnipotent super beings. They where forced into enchanted bottles due to their destructive natures. They are forced to grant three wishes to the wielder of their bottle, but with an added twist being that if the person doesn't use the third wish to put them back in the bottle the Djinn is free to do what ever it wants.
* The Gangreen Gang summons a genie and asks her to give them superpowers in ''ThePowerpuffGirls'' story "I Green Of Genie" (issue #63).
* ''ThePhantom'' (the third one) once encountered a Djinni that had been in service to king Solomon, who had been sealed in a wine bottle by a demon and thrown into the sea. Out of gratitude of being freed when The Phantom (inadvertently) opened the bottle, he offered The Phantom the typical three wishes, and even rescued The Phantom at the end of the story simply because The Phantom had (inadvertently) taken over his duty through an encounter with the demon.
* ''ComicBook/{{Iznogoud}}'': In a shoe, actually. And a pretty shoddy genie it is.
[[/folder]]

[[folder:Films -- Animated]]
* ''Disney/{{Aladdin}}'' from the DisneyAnimatedCanon is almost a TropeCodifier for the less-historical genies.
** In the 2011 stage musical, he actually sings a ShoutOut to the ChristinaAguilera song of this trope's name.
* ''WesternAnimation/DuckTalesTheMovieTreasureOfTheLostLamp'' played around with this trope; when the BigBad (who was also an EvilSorcerer) put his talisman on the lamp he got unlimited wishes. Remove the talisman, everything done with those wishes goes poof.
[[/folder]]

[[folder:Films -- Live-Action]]
* The movie ''BernardAndTheGenie'' (starring Creator/AlanCumming, with LennyHenry as the Genie) is about this trope. And very funny.
* ''Film/{{Wishmaster}}''. The genie is in a jewel, and while it is explained that genies must grant wishes, they are then allowed to take your soul, and upon granting three wishes for the person who called them, a genie is free and can take over the world.
* ''Film/TheThiefOfBagdad'', which borrows from the ''Literature/ArabianNights'' story "The Fisherman and the Genie".
* ''The Brass Bottle'' is a comedy about this with Burl Ives as the genie. Though she isn't a genie in it, Barbara Eden, later of ''Series/IDreamOfJeannie'' fame, is also in the cast.
* ''Film/TheOuting'' is a SlasherMovie with a genie from a lamp as its killer.
[[/folder]]

[[folder:Literature]]
* Interestingly, although this trope is strongly associated with the ''Literature/ArabianNights'', the ''Nights'' themselves don't play this trope straight. Genies are found trapped in bottles and such from time to time, such as in "The Fisherman and the Genie" (one of the first stories in the collection), but they aren't slaves to whoever frees them. In fact, they're often trouble to whoever frees them--in the aforementioned story the genie is bitter over being trapped for thousands of years, and decides he will kill the fisherman. When genies are bound to masters, they're associated with a magic ''ring'', not a bottle or lamp.
* The real TropeMaker is probably "Literature/{{Aladdin}}", which never appeared in any edition of the ''Arabian Nights'' until Antoine Galland's 18th century French translation. "Aladdin" features both a genie tied to a ring and a second and more powerful genie trapped inside a lamp, both of whom serve Aladdin.
* ''Literature/AmericanGods'' has a more traditional kind of djinn, an immortal man made of smokeless fire. He drives a cab for a living, and wears sunglasses so that people don't see the fire in his eyes. He ''does'' grant a wish, though, giving an unhappy passenger the chance to slide into his life. In return for some [[{{Fanservice}} gratuitous]] fiery sex.
* Literary example: ''Literature/CastleInTheAir'', sequel to ''Literature/HowlsMovingCastle'' (the book not the movie) has traditional-style djinns ''and'' a GenieInABottle. The genie is [[spoiler:Wizard Howl under a spell]], is very pissed off at being confined to the bottle, and takes malicious pleasure in granting each wish to the letter in a way that causes as much misery as possible.
* ''[[EnchantedForestChronicles Dealing with Dragons]]'' has a djinni stuck in a bottle as part of the dragon Kazul's hoard. What happens when it gets loose is far too neat to deserve being casually spoiled in a wiki bullet-point.
* This is what ''TheBartimaeusTrilogy'' is all about. It deals with the relationship between the magicians (masters) and the djinn (slaves). The djinn tend to be rather bitter and malicious, due to the fact they live in another dimension and are strictly bound as slaves whenever they are summoned to Earth. They are perfectly willing to kill someone trying to summon them if the magician messes it up.
** Only one group of the spirits in the trilogy are actually referred to as djinn; they are the middle-class of the spirits. The spirits in the trilogy seem to be a fusion of both demons and genies, having traits often attributed to both in myths and folktales.
*** Well, when one takes into account Hermetic tradition, Djinn and demons are rather similar, magicians capture and bind both to do their will (well, demons have to be summoned more than captured, but there you go).
** Bartimaeus also mentions how being confined to a bottle via the spell of indefinite confinement is a relatively common punishment for spirits who give their masters too much lip, and one he has extensive experience with. Of course it's not always a bottle;
---> "On one occasion I pushed my master too far during his breakfast and found myself imprisoned in a jar of raspberry jam."
* ''Literature/ChildrenOfTheLamp'' pretty much sums this up.
* In Creator/PoulAnderson's ''Literature/OperationChaos'', Stephen and Virginia are sent on a mission to deal with the GenieInABottle that the Arab forces fighting them in WorldWarII have. It does not, however, have to grant wishes; Virginia uses psychological tricks to persuade it it never wants to leave the bottle again.
* JackChalker 's ''Dancing Gods'' series featured the Lamp of Lakash, whose genie was the last person to make the mistake of making more than one wish. The wish would be granted, but the wisher would become an all-powerful genie bound to the Lamp, and the previous genie would revert to his original state. (Presumably the original genie was from the home dimension of the Djinn, to which the Lamp had a link.)
* Interestingly done in Robert Louis Stevenson's story ''The Bottle Imp''. The titular creature resides in a magic bottle and will grant wishes. Unfortunately, the caveat is that if you die without having sold the bottle for less than you paid for it, you [[FireAndBrimstoneHell burn in hell for all eternity]]. There's also the problem that if you are dissatisfied after selling the bottle, the [[JackassGenie imp]] will do something nasty to you to pressure you into buying it back. Differing from a traditional genie, the imp only appears once, when the owner wishes to see it, and never speaks, and is otherwise a shadow occasionally seen floating in the bottle. Basically, the story has a genie which is combined with elements of both DealWithTheDevil and ArtifactOfDoom.
* Skeeve of the ''MythAdventures'' series meets a genie (Djin) from the dimension of Djinger. Djins in this Verse are only three inches tall, they hire themselves out for Bottle Duty because their dimension is severely in debt, and their powers aren't anywhere near as great as the salesmen claim.
* A hoary old BarJoke involving [[http://www.askmehelpdesk.com/humor-comedy/1-million-ducks-133989.html a foot-tall piano player]] is predicated on a genie of a beer bottle [[spoiler:who happens to be hard of hearing]].
* One shows up in Discworld's ''Discworld/{{Sourcery}}''. It's not always present seeing as he has many lamps, including a summerlamp. It's also a yuppie.
* One of the BaileySchoolKids books involved the four friends opening a bottle and supposedly freeing a genie who granted them three wishes each.
* Jim Knee in ''Literature/SeptimusHeap'' was formerly a woman who opted to become a Jinnee.
* Titular story of ''Literature/TheLastWish'' was deconstructing the concept - Genie doesn't have to grant your wishes unless you [[spoiler: hold the seal to his bottle]]. And genies ''hate'' being ordered and try to murder potential master before he have a chance to speak. And once you manage to get a genie under your control, he will harass you until you'll use all wishes, so he can finally be free.
* ''OldKhottabych'' (or ''Starik Khottabych'') is a Russian book by Lazar Lagin about a Young Pioneer named Volka who finds an amphora at the bottom of a river. Volka opens the vessel, and an old genie named Hassan Abdul-rahman ibn Khattab, whom Volka just calls Khottabych, pops out. The genie is friendly and offers to serve his savior in any capacity. This was later adopted into a children's film. The novel also features a friend of Volka's who finds another ancient vessel and releases a second genie, who turns out to be Khottabych's older brother. Unlike the benevolent Khottabych, his brother has grown bitter after spending countless years in the vessel. At first, he was quite willing to grant his savior three wishes but, as years went on and nobody released him, he has grown resentful towards humans and has decided to kill his savior in a manner of the latter's choosing. The boy tries to outwit the genie and tells him he wants to die of old age. The LiteralGenie obliges and turns him into an old man. Khottabych manages to calm his brother down, though.
* "The Butterfly That Stamped" (from ''Literature/JustSoStories'') has a more traditional take on it. King Suleiman-bin-Daoud has a magic ring. ''"When he turned it once, Afrits and Djinns came out of the earth to do whatever he told them."'' He can use the ring whenever he likes, and the Afrits and Djinns seem to be eager to comply. (But Suleiman has learned not to use it to show off.)
* George Selden's ''The Genie of Sutton Place'' featured a genie trapped in a carpet who could be released by reading the spell woven around the edge. Since the carpet was unable to be removed from the museum it was in without big problems, he took the place of the teenage main character's aunt's chauffeur and eventually fell in love with her maid.
[[/folder]]

[[folder:Live-Action TV]]
* ''TheDukesOfHazzard'': "When You Wish Upon a Hogg," where (only in Hazzard County) Boss and Rosco find an antique oil lamp in their office and debate whether to rub it and see if it will produce a genie. Common sense is thrown out the window when they actually believe the lamp is real ... and they rub it! Sure enough, a cloud of smoke later, a stunningly beautiful young woman named Trixie appears, seducing Boss and Rosco and conniving them into believing she will help them frame the Duke boys once and for all. Of course, it's all part of nephew Hughie Hogg's latest scheme to swindle Boss and Rosco out of everything they own, and Hughie's insight into the personalities of Boss and Rosco makes his plan easy to pull off. And, Trixie is soooo beautiful -- and the unseen-in-this-episode Lulu is sooooo ug-lee! -- that Bo and Luke cannot convince Boss and Rosco that the lamp is a fake.
* ''TheXFiles:'' Mulder followed a case regarding a rather jaded Genie. He eventually freed her after a rash of LiteralGenie incidents to get the wishes to stop.
* ''IDreamOfJeannie'' was a series of yesteryear about an astronaut who found a female genie and was given unlimited wishes. She [[HappinessInSlavery didn't want to be freed]], due to the [[ReactionaryFantasy appeal to those resistant of the feminist movement]].
** Of course, Major Nelson rarely wanted Jeannie to ever use her powers. Mainly this was because she tended to [[StopHelpingMe complicate his everyday life]]. In the last season, they had them get married and the show completely became the ''Series/{{Bewitched}}'' ripoff it was created to be.
** In one episode of ''TheMonkees'', Davy rubs against a table lamp and a genie appears. He turns to the camera saying [[ShoutOut "What do you know? Wrong show!"]].
* Jenji from ''Series/PowerRangersMysticForce'' (and by extension, his ''Series/MahouSentaiMagiranger'' counterpart, Smoky). He's naughty, but not as malevolent as some, using loopholes to get out of granting wishes. The story of his imprisonment is told, unlike most: he went after a booby-trapped treasure, and being connected to the lamp by the SixthRanger is the only thing keeping him alive. If he's out too long, the curse will reactivate again, and he'll turn to dust.
* ''AreYouAfraidOfTheDark'': In the episode, "The Tale of the Time Trap", The protagonist receives a box from a store-keeper holding a female genie who grants him any wish, but not the ones he desires.
* On ''Series/{{Angel}}''
-->'''Sahjan:''' Thank you, mortal, for releasing from my cursed prison. In gratitude, I grant you three wishes.\\
'''Connor:''' Really?\\
'''Sahjan:''' Nah. I'm just messing with you.
* In an episode of ''FraggleRock'', Wembley frees an evil genie trapped in a bottle. The genie claims that he does not grant wishes, and proceeds to wreak havoc. They manage to trick the genie back in the bottle, but Wembley fells sorry for him and frees him again. Just when it looks like the genie is about to enslave the Fraggles, [[spoiler:Wembley discovers that the genie ''does'' grant wishes if asked, so he wishes that the genie understand the difference between right and wrong, and is thus reformed.]]
* In the ''Series/TwilightZone'' episode "I Dream of Genie," a George P. Hanley purchases a lamp with the intent of giving as a gift to a co-worker. Once he brings it home, however, he discovers that it contains a genie. Most of the episode is spent going over what George imagines would happen if he wished for various things (a beautiful wife, to be president, or to be rich). In the end, [[spoiler:George decides that none of these things would work out for him and wishes to become a genie himself.]] Probably the only case in history of someone ''intentionally'' wishing for this.
** Another ''Twilight Zone'' episode has a couple who own a pawn shop coming across a genie, who gives them four wishes. The first wish is to fix broken glass, the second is to have a million dollars, but it's all gone after giving it their friends and a visit from the tax collector. The man uses the third to be ruler of a powerful country and can't be elected out of office, wherein he becomes [[AdolfHitler Hitler]]. His final wish is to be returned to normal.
* There's one in the ''WizardsOfWaverlyPlace'' episode "Justin's Little Sister".
** They invented the macarena.
* There's one in The ''Series/LazyTown'' episode "The Lazy Genie". Robbie orders a genie who at first only gives him one wish but gives him 3 after Robbie gives him some cake. Robbie then wishes for No More Sports Equipment and vegetables. But he didn't specify a a time so they return 5 minutes later. Then he wishes Sportacus away but he's too fast for The Genie and Robbie is wished away instead. Genie gives Sportacus a free wish who then gives to Stingy who wishes Robbie back. Wow. Just Wow.
* A magic lamp shows up at the end of the FracturedFairyTale {{Panto}} ''Series/TheGoodies And The Beanstalk''. When rubbed, out comes a genie played by Creator/JohnCleese who says "[[Series/MontyPythonsFlyingCircus And now for something completely...]]". Tim tells him to push off, and he retorts "Kids' programme!"
* In an episode of ''TheWorstWitch'' Sybil and Clarice cast a spell to create a lamp that will grant wishes. There's no limit on wishing for unlimited wishes - but the lamp has to draw energy from other things in order to grant the extra wishes. According to Miss Bat, magic lamps quickly develop minds of their own which is why they get buried in desert caves. Luckily Clarice has a solution - [[spoiler: the object they turned into a lamp was a torch so they just remove the batteries]].
* Two in different ''Series/{{Charmed}}'' episodes. The first genie gains his freedom simply through granting three wishes though he can choose to re-enter his bottle if he wants to. The second appears four seasons later and she must be wished free. Sadly there's two catches - one the genie is actually a powerful demon who was [[SealedEvilInACan sealed in the bottle]]. Two, whoever wishes the genie free is forced to take her place.
* Averted for Series/TheGenieFromDownUnder where the titular genies are in an opal instead.
[[/folder]]

[[folder:Music]]
* The Christina Aguilera song of the same name kind of seems to invoke this trope. It's a metaphor ("You gotta rub (her) the right way").
[[/folder]]

[[folder:Newspaper Comics]]
* In ''ComicStrip/{{Dilbert}}'', Dogbert rubs a lamp to see if there's a genie inside. He persists, and a genie eventually pops out:
-->'''Dogbert''': Yes!!! Ha, ha!! Now you must grant me three wishes!\\
'''Genie''': Get real, four-eyes. We don't have a binding contract here. I ''like'' living in a lamp. You disturbed me. I'm going to turn you into a wiener and go home.
* In ''{{Garfield}}'', Garfield comes across a genie in a cookie jar when he was going to get a cookie. When the genie was going to give him three wishes, the titular fat cat just walks away, muttering "Where's a cookie when you need one?"
[[/folder]]

[[folder:Pinball]]
* In ''Pinball/TalesOfTheArabianNights'', the player's benevolent ''jinn'' lives in one of these. This is also the fate of the evil genie if you manage to defeat him in the WizardMode.
[[/folder]]

[[folder:Tabletop Games]]
* ''TabletopGame/DungeonsAndDragons'' has five main types of genies, each native to one of the different Elemental Planes (worlds made up entirely of a single classical element): the djinn from the Plane of Air, efreet for Fire, marid for Water, and dao for Earth; plus the jann, a weaker race of genies made up of all four elements that often serve the others. Djinn and efreet both have a limited ability to use the ''Wish'' spell for others and can be bound to certain magic items, namely the ''Ring of Djinni Calling'' and ''Efreet Bottle''.
** ''TabletopGame/{{Pathfinder}}'' has the same array of genies, except for the dao (whose name was copyrighted), which are replaced by the shaitan.
[[/folder]]

[[folder:Videogames]]
* TheSims (Livin' Large) has a lamp that can be bought. Every 24 hours it can be rubbed, and a wish can be made. However the genie inside isn't very good, and occasionally messes up, such as granting a wish for money, but instead filling the house with overdue bills.
** In The Sims 2: Free Time, the matchmaker NPC can bring a genie lamp to a household whose sims are accomplishing great things, and the genie will grant the household members three wishes chosen from a small list of options. Your sims can take their time making these wishes.
** Genies return in The Sims 3: Showtime. If you make friends with the genie you can [[FreeingTheGenie wish them free]], which makes them playable.
* The MMORPG ''RuneScape'' has a drastic variation of this. From time to time, a genie will randomly appear and speak to the player character. If the character does not reply, the genie - who is an in-game mechanic to discourage macroers - will teleport the character someplace far away. If the character speaks to the genie, the genie will give the character a lamp, then disappear. The character may then rub the lamp to receive experience points in a skill, after which the lamp disappears.
* In the video game ''VideoGame/FinalFantasyV'', there is a "magic lamp" item. Instead of a wish-granting genie, it releases one of the game's Summons (even ones that the characters have not obtained yet); however, every time it is used, the Summon provided is weaker. Taking the lamp back to the place it was found "recharges" it so that it starts with the most powerful Summon again.
** In ''VideoGame/FinalFantasyVIII'' the "magic lamp" summons the demonic-looking Guardian Force Diablos, who immediately attacks. If defeated, he becomes a party summon.
* [[SonicTheHedgehog Sonic and the Secret Rings]] mixes this trope with classical Djinn lore. The beings are alternately referred to a Spirits, Djinn, or Genies throughout the game. It's noted that they lay eggs (!), and most of them run wild causing havoc. The great deal of them don't look human except for the main villain and [[ExpositionFairy Shara]]. Erazor, who is supposed to be the Genie of the Lamp from Aladdin, also ignores the U.S. take on Genies, as it's explicitly said he was imprisoned there by Solomon for being evil, and at the end of the game he's not only stuffed back into the lamp, they toss it into a volcano for good measure. Also, one of the bosses is a water djinn ("Marid") comprised of jelly-fish like monsters combined into a giant pirate and the other is a fire djinn ("Ifrit") that's a giant flaming robot. Our Genies Are Different?
* There's also SonicRiders, which had the Babylon Rogues be descendants of genies. They don't go into much detail about it since they find out near the end, but it does say that they had a flying carpet that was really a prototype of a {{hoverboard}}.
* The ''VideoGame/KingsQuest'' series had three genies over its course.
** In ''VideoGame/KingsQuestIIRomancingTheThrone'', an unseen genie gives King Graham PlotCoupons every time he rubs the lamp but can only be used three times.
** In ''VideoGame/KingsQuestVAbsenceMakesTheHeartGoYonder'', Graham finds a genie who traps whomever releases him in his bottle; this is used to get rid of a witch (and the only way to find this out is to [[TrialAndErrorGameplay try it yourself and then restore]]).
** In ''VideoGame/KingsQuestVIHeirTodayGoneTomorrow'', the BigBad has his own personal genie Shamir Shamazel, who must obey whoever holds his lamp without any limit on the number of wishes. Throughout the game he is sent to kill Alexander, using various disguises to try and lure him to his death. In the [[GoldenEnding canonical best ending]], the ReverseMole swaps Shamazel's bottle with a fake and gives the real one to Alexander; he expresses happiness if you do this, saying he was JustFollowingOrders.
* Outright subverted in the description of one of the pieces of treasure in ''VideoGame/WarioLand Shake It'', with a magic lamp that... just lets out thick smoke when rubbed. The description even says so: ''This lamp issues a thick smoke when rubbed. That's all. What were you expecting?''.
** Played straight with the Genie as the final boss of ''VideoGame/WarioLand 1''.
* You can get genies out of magic lamps in NetHack if you rub them, though you're not guaranteed of getting a wish from them (in fact if you're unlucky, the genie might get mad for disturbing them and decide to attack you).
* ''VideoGame/DarkCloud'' has two of these. One was [[SealedEvilInACan sealed in an urn]] centuries ago, and does not at all grant wishes. Its master uses him to rain destruction on the earth. The other is a humanoid female freed when Toan [[spoiler:''breaks'' a lamp, and instead of granting wishes, she simply joins the party after he explains the situation at hand.]]
* ''VideoGame/PokemonBlackAndWhite'' has a trio of Legendary Genie Pokémon, incredibly fitting for a series that already lets you [[OlympusMons trap God]].
* An early SideQuest in ''BaldursGate 2'' involves freeing a djinni from his lamp. A fan-made GameMod adds a second one in an extension of the circus side quest. Certain spells and items can also [[SummonMagic summon djinn or efreet to fight for you]].
* QuestForGloryII: Trial By Fire features it as the SealedEvilInACan the djinni [[NamesToRunAwayFromReallyFast Iblis]] whom the game's BigBad Ad Avis (A [[EvilChancellor vizier]]. Who would've thunk it.) wants to unleash upon the world. It also features a djinni in a ring, just like in Aladdin.
* ''VideoGame/TheLegendOfZeldaLinksAwakening'' has this as the second dungeon boss. First you have to destroy the bottle before you can defeat the clownlike Djinni.
* In ''VideoGame/MegaManBattleNetwork 3: [[OneGameForThePriceOfTwo White]]'' has [=MistMan.EXE=] who's very obviously djinni based.
* In the VideoGame/MarioParty series, players can purchase a magic lamp. The Mushroom Genie will take you right to the star. The cheaper Lucky Lamp houses his female counterpart the Mushroom Jeanie who will just move the star to a different space on the board.
* The ''Cataclysm'' expansion of ''VideoGame/WorldOfWarcraft'' introduces the Djinni: air elementals that are currently aligned with Deathwing.
* Genies can be used as soldiers in several games in the HeroesOfMightAndMagic games, often aligned with the 'wizard' faction. Some games give them the ability to bestow a random 'buff' spell on another friendly stack of troops (or a curse on an enemy), and they often vanish inside a lamp as part of their death animation.
** Gavin Magnus, the immortal wizard king of Bracada, has his own personal genie servant named Solmyr, who swore an oath of lifelong servitude to Magnus when Magnus freed him from a millennium of imprisonment in a bottle.
* ''{{Shantae}}: Risky's Revenge'' [[DeconstructedTrope deconstructs this]]. [[spoiler:The lamp is treated as an ArtifactOfDoom, since it's used to enslave genies. Shantae, being half-genie, isn't enslaved, but has her magic power stripped, personified, and turned against her.]]
* In the ''Videogame/NeverwinterNights'' expansion pack ''Hordes of the Underdark'', it is possible to aquire a magic bottle which, when used, summons a genie who serves as a merchant and trades with you. If you ask him for a wish, he'll [[LampshadeHanging make a comment about]] [[NeverHeardThatOneBefore the number of mortals he's met who are under the misconception that just because he's a genie, he's obliged to grant them wishes.]]
* ''VideoGame/NeverwinterNights2: Storm of Zehir'' features a dungeon called Tempest's Fury where wizards had been experimenting with air elementals, including a djinn. It's possible to bind the djinn to a ring you find in the dungeon, whereupon you can summon him into battle once a day.
* Ninjini was one of the first VideoGame/{{Skylanders}}, who had been trapped in a bottle by a jealous sorceress. Rather than just wait for someone to free her, she trained her skills for a long (''long'') time until she could bust out on her own. She's kept the bottle and can retreat into it for special attacks. And did we mention she's [[NinjaPirateZombieRobot also a ninja?]]
* ''VideoGame/TorchlightII'' turns this on it's head. The player has to seek out a djinn's assistance to break a spell cast by another djinn. After bragging about how trivial it would be for someone of his magnificent power, the djinn insists you prove your worthiness of his time and effort by performing certain tasks -- three, to be exact. The third task is to destroy his rival djinn, which also breaks the spell you set out to get help breaking in the first place.
--> '''Fazeer Shah''': ''I have kept my end of the bargain!''
[[/folder]]

[[folder:Webcomics]]
* Adult webcomic ''ShipInABottle'' runs on this trope for wacky hijinks and sex. Notable differences include that the wish count is unlimited, just long as someone's hands are on the bottle, and Miss Ship wants to get it on with her new master.
* ''IDreamOfAJeanieBottle'' is about an ''I Dream of Jeannie fan'' who finds an empty genie bottle and [[LiteralGenie accidentally becomes the bottle's new genie himself]] via a poorly worded wish. "I would totally so do her" indeed.
* In ''SluggyFreelance'' there's actually a [[http://sluggy.com/comics/archives/daily/20031005 Djinn of the Chamber Pot]]. It's a pretty huge example of a JackassGenie, but only for the first wish; if someone manages to survive that one, it doesn't screw around as much with the second, and the third is withheld for tax purposes.
* Parodied in an ''WebComic/{{xkcd}}'' strip: One of the characters rubs a [[UnusualEuphemism lamp]], which then spurts an...odd liquid. The alt text says, "That wasn't one of my wishes." "Who said anything about ''your'' wishes?"
* Deconstructed and parodied in a ''Webcomic/CyanideAndHappiness'' strip when a character summons a genie and is informed that he's limited to three wishes. He uses the first wish for more genies.
[[/folder]]

[[folder:Web Originals]]
* In MinionsAtWork, one minion [[http://www.minionsatwork.com/2007/03/minions-52-immigrant-labor.html warns another]]:
-->''Let the genie out of the lamp, and we just have to let him join the union''
* This (NSFW) Oglaf comic ''[[http://www.oglaf.com/simon/ Simon the Wanderer]]''.
* Website/{{Akinator}} is a typical genie in a lamp, but he doesn't grant wishes; instead he forces people to play "twenty questions" games about real and fictional characters with him.
* [[SCPFoundation SCP]]-[[http://www.scp-wiki.net/scp-662 662]] (a.k.a. "Mr. Deeds") is a modern reworking of the classical djinni: A magical British valet who is bound to a silver bell. He's competent, polite, and faithfully serves whoever summons him, but has no powers other than teleportation and immortality.
[[/folder]]

[[folder:Western Animation]]
* ''WesternAnimation/AladdinTheSeries''. Genie was freed, but stuck around to help out with his weakened powers. The evil Jafar was also [[BecomingTheGenie turned into a genie]], and proved that his lamp was both a prison and a SoulJar, as he was killed when it was destroyed in the DirectToVideo sequel ''Disney/AladdinTheReturnOfJafar''. There was also a female genie named Eden, who lived in a bottle.
* ''WesternAnimation/DuckTales:'' Scrooge encountered two genies, in fact. One was the evil version in the cartoon series, whose lamp was buried and lost in the end; and a good variety in [[DucktalesTheMovieTreasureOfTheLostLamp The Movie]] who was freed.
* ''WesternAnimation/ChipNDaleRescueRangers'' had an episode with a Genie, too. He lured Monty into the lamp to be free, and the whole episode eventually got so messed up that a ResetButton wish was required to revert things to normal.
* ''TheFairlyOddParents'' had a few episodes with a genie character who could grant wishes without the rules the fairies had to follow. He comes in a ''lava lamp''.
** He also stated that the "only three wishes" thing was a lie; Genies naturally come with three wishes, but humans can wish for more.
** Oddly enough, he also [[OurGeniesAreDifferent wants to be a fairy.]] He claims it's so he can make children happy, but in reality it's because he just doesn't want to be stuck in a lamp.
* In the ''SuperFriends'' episode, "Rub Three Times for Disaster," the superheroes battle a villain in control of an evil genie. Eventually, Superman defeats him in an unusual way; he flies up to the genie and literally sucks the genie in smoke form into his own lungs just long enough to forcibly blow him back into his lamp.
* ''RockyAndBullwinkle'''s Fractured Fairy Tales parodied this one repeatedly.
* [[InvertedTrope Inverted]] with [[WesternAnimation/TheSmurfs Farmer Smurf's]] genie, Gourdy.
* BugsBunny in "A Lad In His Lamp." With Jim Backus as Smokey the genie.
** Bugs Bunny also ''pretended'' to be a genie in "Ali Baba Bunny" to help Daffy out of a jam. At the end of the short, a ''real'' genie was discovered…[[WhatAnIdiot and Daffy tried to physically force him back into the lamp]], paranoid that he was there to steal some treasure he'd gathered. The genie wasn't happy.
[[/folder]]

----