[[caption-width-right:342:[[Disney/{{Aladdin}} Phenomenal cosmic power]] optional.]]

->''"I beg you, my son," she said, "by the milk with which I suckled you, throw away the lamp and the ring! They can only cause us a great deal of terror, and I couldn't bear to look at that jinnee a second time. Moreover, it is unlawful to have relations with them."''
-->-- '''Literature/{{Aladdin}}'s mother''', ''Literature/ArabianNights''

In Middle Eastern folklore and Islam, genies (''jinn'', Arabic for "hidden") were created out of the Four Elements by {{God}} before he created the First Man out all the elements. They are (usually) invisible beings that are actually [[WhatMeasureIsANonHuman more like humans than we realize]] -- they're born, grow up, marry, have children and eventually die. They are said to be made of "smokeless fire", perhaps something along the lines of {{energy being}}s. They're also extremely long-lived and highly skilled in magic. However, they can be killed by rather mundane means, if the ''Literature/ArabianNights'' is any indication. (At least a couple of genies have been done in by a rock to the head.) They were sometimes trapped in a bottle. They might grant you a wish if you let them go. Or they might have been bound to something like a ring or a lamp and forced to obey the orders of anyone who summoned them. Genies are creatures of free will; they can be good or evil and may even be religious. Belief in genies is still common in the Middle East today.

In Islamic theology, God told the Djinn that they should bow to man's superiority, but their leader, Iblis, refused to do so; thus, a good chunk of them ended up imprisoned by Suleiman and other holy men in lamps and such and forced to grant wishes. Genies in Islam can also possess humans for a variety of reasons -- they might have a crush on the human, or they might just be a jerkwad. During exorcisms, the genie is given the option to convert to Islam, leave the body of the human or die. Iblis, by the way, never repented, and in fact swore that he would corrupt mankind... in other words, he's their version of {{Satan}} (and in fact is sometimes called Shayṭān or Shaitan).

In popular Western media, genies are immortal beings almost invariably [[GenieInABottle trapped inside a lamp or a bottle]], often [[SuperSmoke materializing through a puff of smoke]]. (Originally, at least part of those items only acted as a means to summon the genie and didn't actually contain it.) They must grant you three wishes, which they may or may not screw up horribly. (In the ''Arabian Nights'', this number ranged from one to infinity.)

Also, Genies are extremely likely to be an AmazingTechnicolorPopulation and to have FogFeet.

The correct Arabic grammar is "one ''djinni''", "two ''djinn''" (also spelled ''jinn(i)''). Don't expect the average viewer or writer to get this right. (More trivia: The English word "genie", used to translate "djinni", is completely unrelated but has a similar meaning. The Dutch word "genie", genius, is spelled the same, but has nothing to do with it and is pronounced completely differently.) If you were looking for the Roman concept of genii, see {{genius loci}}.

See also GenieInABottle, BenevolentGenie, LiteralGenie and JackassGenie.



[[folder:Anime & Manga]]
* In ''Franchise/DragonBall'', Majin Boo, or Majin Buu in the dub, or Djinn-Boo in the manga, is quite genie-like both in appearance, and in the fact that he first manifests as smoke after being unsealed. As noted earlier, he was called Djinn-Boo in the manga, as one could make a case for translating it either way. Though due to the "M" symbols on Boo himself, and other Boo-related things, "Majin" is generally preferred over Djinn.[[note]]Good luck finding a consensus on Boo vs Buu, though![[/note]]
%%To anyone thinking of changing some of the uses of Boo to Buu here: the Boo spelling is used in the manga, the official subtitles, and most foreign media when rendered using English lettering(Including in Japan!). The "Buu" spelling was entirely invented by Funimation, and while not technically wrong, it's a dub-ism, so by the same token that you wouldn't say Goku's power level was over 9000 that one time(It was actually over 8000), or that Vegeta was tough on Trunks because he wanted him to be a strong boy(Vegeta's just not a great dad), it's best to stick to "Boo", with an acknowledgement of the "Buu" spelling for those only aware of the show through the dub. There's nothing wrong with being a dub-only fan, but this is a Japaense show/manga, and Funimation have always played pretty fast and loose with their scripts, so be prepared to not always be the ultimate authority, similar to Doctor Who fans who've never watched the original 1963-1989 run.
* In ''Manga/MagiLabyrinthOfMagic'', djinn are more like OlympusMons, BondCreatures, and [[GuardianEntity Guardian Entities]].
** [[spoiler:And former humans who absorbed soul power after one of their former allies lost her mind (she watched her god get murdered by Solomon) and ritually sacrificed 99% of life on the face of the planet]].
* In ''Manga/OnePiece'', one of "Big Mom" Charlotte Linlin's sons, Daifuku, has a devil fruit power that doesn't turn him into a genie, or grant him a lamp, but instead makes Daifuku himself a lamp, able to summon a halberd-wielding genie from his own body by rubbing himself, to fight his enemies.
* Turbain use a genie as his guardian ghost in ''Manga/ShamanKing''.

[[folder:Card Games]]
* ''TabletopGame/MagicTheGathering'' features both djinn and efreet as creature types. They tend to be fairly powerful for their cost, but often have some drawback or ability reflecting their general fickleness, like dealing damage to their controller, making enemy creatures stronger or harder to block, or only attacking or blocking when they feel like it according to a coin flip. They're also two of the few creature types that have cards specifically intended to neutralize them -- [[http://gatherer.wizards.com/Pages/Card/Details.aspx?multiverseid=974 King Suleiman]] and his [[http://gatherer.wizards.com/Pages/Card/Details.aspx?multiverseid=3745 legacy]], respectively.

[[folder:Comic Books]]
* One of the main characters of G. Willow Wilson's Cairo is a three-piece suit-wearing genie inhabiting a water-pipe who grants wishes by manipulating probability.
* The Creator/DCComics character Johnny Thunder was a clueless young man who inherited a genie-like being called The Thunderbolt (who seemed to be a living bolt of lightning) that obeyed his commands- if he said the magic words "Cei-U" first (pronounced "say you!"- as you can imagine from that, [[HilarityEnsues hilarity often ensued]].) It was later revealed that there's a whole [[AnotherDimension dimension]] of creatures like The Thunderbolt. The Thunderbolt later passed to a young African-American boy named Jakeem, and merged with another "genie" to create a new being summoned by the mahic words "So Cul" (pronounced "so cool").
** Also the original GreenLantern was actually a man who find a GenieInABottle.
* ''ComicBook/{{Fables}}'' plays with the idea that a djinn's lamp is actually [[TailorMadePrison a very elaborate prison]] for [[OmnicidalManiac a very powerful, very destructive being of chaos.]] As such, it is very important that your third wish be [[SealedEvilInACan for the djinn to return to his imprisonment in the lamp.]]
* ''ComicBook/GoldDigger'' reveals genies to be basically a highly evolved version of artificial magitech lifeforms made as companion-pets who'd 'aid and protect' the children they were with as one of their functions. This directive leading to them, as they grew in stature and intelligence, developing further powers they could only unlock in the service of others- or, 'wishes.' Reflecting the two designs of the original companions, the genies have two physical variants, one with four arms, and the other with their eyes on their stomachs rather than their faces.
* The genie of one weird sci-fi tale was actually a super-advanced alien whose ship was freed from the ice it was imprisoned in by an Arctic explorer. When he mentioned the tale of the wish-granting genie the alien offered to use his vast psionic powers to grant his rescuer three wishes. He promptly screws up and after accidentally wishing himself with his third wish into being transformed into a copy of the alien inadvertently uses the powers he had to prevent himself from ever making the bargain in the first place (although the alien has to explain to him that he'd granted the fourth wish himself).

[[folder:Fan Works]]
* The ''WesternAnimation/InvaderZim'' fanfic ''Gaz Dreams of Genie'' has a genie named Azie whom Gaz gets ThreeWishes from after intentionally breaking her lamp to annoy Dib (which counts as opening it). Azie is noted as looking like the typical image of a genie, being a woman in a belly dancer outfit whose lower body tapers into a smoke tail, and has certain limits to her powers, such as no wishing for more wishes. [[spoiler: One key thing, however, is the curse that comes from breaking the lamp -- if Gaz doesn't make a single SelflessWish (which she doesn't), she's doomed to [[BecomingTheGenie switch lives with Azie]] and take her place in the restored lamp, complete with being aged up and stuck in the same outfit (according to Azie, it comes with the job).]]

[[folder:Films -- Animation]]
* Disney's ''Disney/{{Aladdin}}'' has the infamous blue Genie, who is a ''really'' [[BenevolentGenie nice jinni]], will only give three wishes to whoever finds his lamp, and doesn't go for the {{literal|Genie}} or {{jackass|Genie}} route even when he's saddled with an evil master. The wishes have three limitations: genies can't kill anyone, make people fall in love, or bring people BackFromTheDead. (Well, Genie elaborates that he ''can'' do the third one, it's just "not a pretty picture". He's probably [[RuleOfFunny just joking.]])
** Freed genies seem to be much less powerful than genies of the lamp, as Jafar ([[BecomingTheGenie now a genie himself]]) utterly trounces the newly-freed Genie in the sequel ''Disney/AladdinTheReturnOfJafar'' (and Genie himself describes his former "phenomenal cosmic powers" as "semi-phenomenal, nearly cosmic"). They also have subtle references to traditional beliefs about Genies. Genie is blue, which is a reference to the Marid, which were believed to be blue djinn who were mostly goodish. Jafar on the other hand is red, which is a reference to the Ifrits who were associated with the color red and were AlwaysChaoticEvil.

[[folder:Films -- Live-Action]]
* The Shaquille O'Neal movie, ''Film/{{Kazaam}}''. A genie's bottle falls into a stereo and produces a rapping genie. Also, the main character says that all genies are naturally slaves, and "djinn" -- or free spirits -- are nothing more than fairy tales. We find out that Kazaam became a genie as a ''punishment'' long ago when he was ''human''. Also, a genie can only create or manipulate ''objects,'' which is a lot of power but far less than the feats of reality-warping seen in some other genie stories, and not much use to someone whose true desire is something non-shiny. "Make or summon some''thing'' for the holder of the radio, [[RuleOfThree three times]]," is what a genie can do, period - and this means even a nice holder can't say "I wish you were free." ("I wish for more wishes" wouldn't work either, probably.)
* The djinn in the ''Film/{{Wishmaster}}'' series are some kind of byproduct of God's creation of the universe and [[AlwaysChaoticEvil are all inherently evil]] and as such were banished to some Hell dimension. The main one is [[SealedEvilInACan trapped in a red jewel]] on Earth and if he successfully grants his summoner's three wishes he can free his brethren and get rid of whatever it is that's restricting his powers so that they only activate for wishes. He also collects souls and has a [[JackassGenie very loose definition of what exactly constitutes as a wish]].
* The remake of ''Film/{{Clash of the Titans|2010}}'' has Djinn, even though they are from the Arabian lore rather than from the Greek mythology. Here, they appear as black-colored humanoid creatures with bright blue eyes that use blue fire magic that seems organic based (they tame scorpions, heal the hero and are claimed to rebuild themselves of wood). And they also can [[SuicideAttack suicide bomb themselves]].
* In the Arabic-English Creator/TobeHooper movie ''Djinn'', the Djinn are pretty much TheFairFolk, including the use of {{Glamour}} and [[ChangelingTale replacing babies with non-human ones]]. They're intelligent beings who live in haunted places and kill any human intruders, though one man manages to make a bargain by offering the life of his friend. They don't offer any wishes though. Also, it turns out that [[spoiler:the male lead]] is a Djinn, which [[TomatoInTheMirror he didn't know about]].

* One joke concerns a bartender who used up his three wishes and afterwards kept the genie's lamp on the shelf behind his bar as a curiosity. A customer entered the bar, looking with curiosity at a nine-inch-tall man playing the piano in the corner, and then noticed the lamp and asked about it. The bartender offered to lend it to the man, it being of no further use to him. The man summoned the genie and wished for a thousand gold bars. The genie bade him look outside, and when the man did, he saw a thousand old cars lining either side of the street. The man re-entered the bar and complained that the genie was a little hard of hearing. The bartender replied, "Well, yeah. Do you seriously think I wished for a nine-inch pianist?" *rim shot*

* There were several genies in the ''Literature/ArabianNights''. Here's a sampling...
** One was trapped in a jar. Apparently, being stuck in a jar made him so cantankerous that his idea of showing gratitude was to let his rescuer choose how he would die. Which wasn't his original plan -- when first sealed into the jar, he pledged that the one who freed him would be granted three wishes. After a thousand years, he pledged to reveal to his rescuer all the treasures of the Earth. After a thousand more, he pledges to grant his rescuer the choice of how he'll die.
** Another took a fancy to a handsome young man. After whisking him away to show him to another genie, she dropped him in Damascus, far away from his own home.
** A woman rescued a female genie from an amorous male genie -- by throwing a rock at his head and killing him. The grateful female genie offered to help the woman in the future if she needed it.
** The genies in the ''Literature/{{Aladdin}}'' story are bound to a lamp and to a ring. The genie attached to each item must obey whoever holds it at the time.
** A particularly LiteralGenie granted a man's wish for a bigger manhood... by making it ''gigantic''. Like fallen tree gigantic.
** A man throws a date pit away and accidentally kills a genie's son with it, causing the genie to swear revenge. Until three men tell stories that impress the genie so much he doesn't kill the man. Even evil genies have a tendency to be LawfulEvil and allow you a way out of your predicament. Which Arabian Nights characters [[GuileHero almost always find]].
** Prince Houssain gets married to a genie after a failed attempt at gaining a princess. (Long story)
* That same idea as in the first ''Arabian Nights'' example is used in ''[[Literature/EnchantedForestChronicles Dealing with Dragons]]''. When a genie is accidentally let out of the bottle, he explains to Cimorene and Therandril the terms of reward with years of imprisonment, and then insists that their only choice now was their manner of death, which Cimorene responds to by choosing "old age". [[spoiler:Also in keeping with the theme of the story, the genie actually had only been in the bottle long enough that he'd be forced to grant them three wishes for his release instead of killing them. Because no genie was ever released before the "kill-the-releaser" period, he felt that granting the wishes and not killing anyone would make him a laughingstock. He decides to follow Cimorene's advice and return to the bottle for another three hundred and eighty-one years, when the two of them would certainly be dead of old age and he could go home without granting wishes or breaking his oath.]]
* ''Literature/AmericanGods'' has a very odd side-story about a gay genie who was stuck as a cab driver after immigrating to America, passing his status as a mystic creature on to a man he engaged in a one-night-stand with. The only indications that he wasn't human were flaming eyes and, er... flaming something else showcased in a sex scene. [[CatchPhrase He does not grant wishes]], however. Though he did kind of grant the wish of the guy he had a one-night-stand with by liberating him from his dead-end life, and giving him a chance to start over as a New York cabbie.
* In Creator/PoulAnderson's ''Literature/OperationChaos'', the genie is sealed in a bottle (with Solomon's Seal no less) but does not have to grant wishes. Virginia must use psychological tricks on it.
* The ''Literature/{{Discworld}}'' novel ''Discworld/{{Sourcery}}'' has a yuppie genie who apparently isn't bound to his lamp; he has several lamps, including "a small but well-appointed lamp where he lived during the week, another rather unique lamp in the country, a carefully restored peasant rushlight in an unspoilt wine-growing district near Quirm, and just recently a set of derelict lamps in the docks area of Ankh-Morpork that had great potential, once the smart crowd got there, to become the occult equivalent of a suite of offices and a wine bar." He's rather overcommitted on lamps, in fact, and is thinking of diversifying into rings. He grants wishes, if he approves of them, but insists that ''nobody'' says "Your wish is my command!" any more.
* Creator/HarlanEllison's story "[[JustForPun Djinn, No Chaser]]" features a ''very angry'' genie trapped in a lamp. He proceeds to make life hell for a couple on their honeymoon and gets the husband temporarily institutionalized [[spoiler:until the wife decides to just bust open the lamp with a can opener, releasing the genie and earning his gratitude]].
* Djins in the ''Literature/MythAdventures'' series come from the dimension of Djinger, a place so strapped for funds that they've resorted to hiring out their citizens to work in magic lamps, rings, bottles and so on. Don't believe the hype about what they're capable of; after all, they're only a few inches tall. [[spoiler: Usually. They underplay their power ''very'' heavily.]]
* ''Literature/{{Declare}}'' by Creator/TimPowers has British and Soviet intelligence agencies vying for control of the djinn who live on Mount Ararat. The djinn here are beings of pure thought, often taking the form of storms, flocks of birds, or the movement of a mob, and view things from [[BlueAndOrangeMorality a completely, utterly inhuman perspective]]. Bargains or deals struck with a djinni can grant immortality [[spoiler:(which works just as well for nations as individual humans)]] and other supernatural powers, but the price is often a DealWithTheDevil.
* Creator/RobertLouisStevenson's story ''The Bottle Imp'' does something like ''Literature/TheLordOfTheRings'' with its One Ring -- taking a traditional fairy-tale MacGuffin and turning it into an ArtifactOfDoom. The imp is a demon and buying the bottle is like making a DealWithTheDevil; the only way to escape hell is to sell the bottle for less than you purchased it. Unfortunately, if you are ever dissatisfied after selling the bottle, the imp will make something nasty happen to you to pressure you into buying it back. [[spoiler:The story did have a HappyEnding, more or less. The hero was more or less trapped, having bought the thing for only three French centimes (a centime is worth one tenth of an American cent), meaning that finding someone he could convince to take it would be almost impossible; but a drunken sailor who had deserted his ship figured his soul was damned anyway, and did so.]]
* ''Literature/TheBartimaeusTrilogy'' has a whole pantheon of spirits (afrits, jinn, etc.) who magicians use spells to bind to their will. Typically, their actual appearance is that of an EldritchAbomination, and they use shapeshifting and glamour to take other forms.
* Creator/PiersAnthony took a sci-fi twist in the book, ''Prostho Plus''. An Earth dentist repairs the "tooth" of a powerful robotic being. The being declares that he had waited so long he had sworn an oath he would kill his rescuer, but a previous oath bound him to grant him a wish before his death. [[spoiler:The dentist wishes for a delay of 50 years.]] For the rest of the book, he has a faithful [[DeusExMachina Deus Ex Machine]] who protects him from all harm, declaring "None but I shall do him die!", and even goes to the point of helping him get together with his lady-love because married humans tend to have a live longer.
* Malik ibn Ibrahim, the main character of the anthology ''Literature/WanderingDjinn'' pretty much WalkingTheEarth, has the ability to disguise himself in a myriad of human forms, knows a lot of different folklore creatures because he's met a lot of them, and has the creepy appearance of skin that's so dark blue it borders on black, golden cat eyes, and instead of hair a scalp covered with flame. If he wasn't such a goofball, he might be frightening.
* Sandy Frances Duncan's ''The Toothpaste Genie'' is about an unskilled young genie bound to a tube of toothpaste. He explains to the protagonist that the more successful and esteemed a genie is, the better the container they're assigned to by their superiors. Toothpaste tubes and boxes of laundry detergent are apparently the bottom of the totem pole, with fancy bottles being near the top.
* In L. Jagi Lamplighter's ''Literature/ProsperosDaughter'' trilogy, djinni are among the beings Prospero Inc. must keep from causing natural disasters.
* The Portuguese translation of ''Literature/HisDarkMaterials'' literally translates "daemon" as "genie" ("génio"). In this case, "daemon" is derived from a Greek term defining any lesser supernatural entity, and it was under that definition that jinns originally fell; in other words, those are essentially the Greek and Islamic analogues of TheFairFolk. In the context of the books, daemons/genies are your soul walking around as a sentient, talking animal, whose species reflects your personality.
* The White Witch from ''Literature/TheChroniclesOfNarnia'' is half Jinn and [[OurGiantsAreBigger half Giant]].
** Or at least, that's the origin Mr. Beaver gives in the first book; specifically, he says she's descended from Lilith, Adam's first wife. The prequel book reveals she's from neither our world nor Narnia's, [[MultipleChoicePast so that story is thrown into question]].
* In her ''[[Literature/TalesOfTheFiveHundredKingdoms 500 Kingdoms]]'' novel ''Fortune's Fool'', Creator/MercedesLackey used an ifrit as the villain. [[spoiler:At the end, he is sealed into his bottle "until you repent of your evil ways, and are ready to join your lawful kin in the City of Brass." Djinn do have free will, so it's a valid condition.]]
* Jinn in ''Literature/SeptimusHeap'' sport both heavily armed Warrior Jinn and the more peaceful "actual" Jinn. The former are antagonists in the final phases of ''Syren''.
* In Creator/TomHolt's ''Literature/DjinnRummy'', the genies are transdimensional beings (which is how they can fit into those bottles), and like to hang out together in their spare time and get drunk. On milk.
* Somer, a [[BenevolentGenie guardian genie]] who has the form of a cat-dog, is the first arrival in ''Literature/AFantasyAttraction''. He name is pronounced ''so''-mer, ''not'' summer.
* ''Literature/FancyApartments'' features Tisa, who usually looks like a short girl, but can change form into an eight-foot jinn.
* ''Literature/GodelEscherBachAnEternalGoldenBraid'':
** In the dialogue "Little Harmonic Labyrinth," Genies are allowed to grant wishes, but not wishes about wishes, which are known as meta-wishes. Meta-Genies (who come from Meta-Lamps) are allowed to grant meta-wishes, but not wishes about meta-wishes, which are within the authority of Meta-Meta-Genies. The word "Djinn" is generically used to designate Genies, Meta-Genies, Meta-Meta-Genies, and all others in {{GOD}} (which [[RecursiveAcronym stands for "GOD Over Djinn"]]).
** In the chapter "Typographical Number Theory," "djinn" is an undefined term used in place of "natural number" in setting out the five [[http://en.wikipedia.org/wiki/Peano_axioms Peano postulates]], with "genie" taking the place of zero.

[[folder:Live-Action TV]]
* In the ''Series/{{Supernatural}}'' episode "What Is and What Should Never Be", the Winchester brothers track down a djinni that appears to grant whatever its victim wishes for, [[RealityWarper altering the world around them]]. But Dean learns first hand that the djinni just [[LotusEaterMachine puts his victims in an acid-trip-like state]], hooks them up to an IV, and drinks their blood for a few days until they die (but it feels like years in the djinni-induced-acid-trip). The victims do occasionally get flashes of reality, though, which is what helps Dean figure it out and get out of Wishland.
* ''Series/TheGenieFromDownUnder'' deals with the adventures of the very Australian genie Bruce and his son Baz who live in an opal pendant and are forced to obey the commands of whoever holds the opal.
* Four words, ''Series/IDreamOfJeannie''. Jeannie is an atypical HappinessInSlavery version. One episode featured the "Blue Genie" (the one who initially planned on rewarding whoever freed him, but eventually decided to kill that unlucky individual).
* ''Series/{{Charmed}}'''s Phoebe got turned into one. French Stewart also played one in Season Two, as the archetypal trickster character.
* Imagin, the MonsterOfTheWeek race from ''Series/KamenRiderDenO'', are an odd variation of genie: they claim to grant wishes, [[JackassGenie typically twisting them horribly]], and once the contract is complete they use their contractor's memories to create a portal to the past so they can alter history for their benefit. Of course, while there is an overall leader, every Imagin has its own personality and can choose whether or not it wants to obey him. The protagonists include several Imagin that decided there were other things they wanted to do (like [[HandsomeLech chase skirt]] or [[ToBeAMaster become the strongest karateka]]) and partnered up with the kind-hearted protagonist to protect people from their malevolent brethren.
* ''Franchise/SuperSentai'' / ''Franchise/PowerRangers''
** Smokey from ''Series/MahouSentaiMagiranger'' (adapted as Jenji in ''Series/PowerRangersMysticForce'') is a comical cat-headed genie who was sealed in a lamp for his troublemaking and can't stay outside the lamp for more than three hours. He can grant wishes, but chooses to only grant one to his masters, and ''only'' if he receives some kind of payment for it. This being a MerchandiseDriven series, [[EquippableAlly while he's in the lamp it doubles as the main weapon]] of [[SixthRanger MagiShine]], a magical RayGun that's reloaded by rubbing (and at full power can [[FastballSpecial shoot Smokey himself as a projectile]]).
** One episode of ''Series/KyoryuSentaiZyuranger'' / ''Series/MightyMorphinPowerRangers'' (Season 1) featured an Anubis-like genie as the MonsterOfTheWeek, whom the villains are trying to gain control over so they can wish for him to destroy the Rangers. In ''Zyuranger'', he was a pretty nice guy when not being bossed around, but would lose all his magic powers if his lamp was destroyed. In ''Power Rangers'', he's completely evil, while his life is connected to his lamp.
* In the Enchanted Realm in ''Series/OnceUponATime'' there is the Genie of Agrabah who becomes Regina's [[spoiler: UnwittingPawn in her plot to kill her husband the king and is transformed into her Mirror]]
** In the spinoff, ''Series/OnceUponATimeInWonderland'' the genie Cyrus is both the main character's love interest and the shows LivingMacGuffin. He also has two brothers, but they don't get much screen time. [[spoiler: They've already been captured by Jaffar, who wants to cast a spell to become omnipotent that needs all three brothers.]]
* An episode of ''Series/WizardsOfWaverlyPlace'' featured a JackassGenie. In their lamps they have a ResetButton for all their granted wishes.
* In [[Series/SpecialUnit2 Special Unit 2]] Djinn are gaseous beings that can assume human form and can only grant wishes someone with such abilities would be capable of doing and even then only to further their own goals (a wish for a celebrity leads to said celebrity becoming a kidnap victim). They can hide themselves in containers they can make airtight by lining the insides with their molecules.

* The evil genie and the player's benevolent ''jinn'' in Creator/WilliamsElectronics' ''Pinball/TalesOfTheArabianNights'' embody most of the popular western genie stereotypes between the two of them.
* Zeala, the protagonist of ''VideoGame/JinniZeala,'' is a CampGay ''jinn'' who just wants to ''PARTY!''
* Creator/{{Gottlieb}}'s ''Pinball/{{Genie}}'' has a sexy BedlahBabe who teases the wizard summoning her.

[[folder:Tabletop Games]]
* ''TabletopGame/DungeonsAndDragons''
** Genies are elemental spirits from the elemental planes. They have several different types, each tied to a particular element. Efreet are LawfulEvil genies from the Plane of Fire. Djinn are ChaoticGood genies from the Plane of Air. Jann are made of all of the elements, can be of any alignment, and spend most of their time on the Material Plane. Later supplements added NeutralEvil Dao (Earth) and ChaoticNeutral Marids (Water). They all have various magical abilities, but whether they can grant wishes varies between them. Efreet can grant wishes, but since they hate servitude, they tend to be {{Literal Genie}}s, if not outright {{Jackass Genie}}s. Only "noble" djinn (about 1% of them) can grant wishes.
** The ''Al-Qadim'' setting clarifies this. Genies are more or less widespread there, but treated as powerful, whimsical and extremely dangerous, albeit honorable, beings. Most people avoid any contact closer than hearing tales about them. All genies can grant wishes in proper circumstances, but usually bend any request toward their own desires; when pressed into service they are just as inventive with vengeance later, and while individual genies can be trapped or killed, this tends to upset their pals and rulers. There's also Jann ("composite" genies living in mortal worlds) and Great Ghuls (undead genies). Gen are minor genie-kin implied to be kids of the main elemental types and contracted out as servants to sha'ir wizards. Again, gen may serve faithfully, but people unwise enough to mistreat one are [[MamaBear in for a big surprise]].
** In 4th edition, Efreeti (Fire Element Genies) are all slave-trading bastards who consider {{plan}}s a fun way to spend their spare time. While they can grant wishes, they don't do it by supernatural means; they instead use their connections within their Mafia-like societies to get things done, and always for a high price.
** On the other hand, Djinni (Air Element Genies) are magical craftsmen and engineers, most of whom have been sealed away. Their primary goal is reclaiming the lost creations of their "golden age" and freeing their allies and family while ensuring their enemies remain imprisoned forever.
* ''TabletopGame/{{Pathfinder}}'' Genies are naturally like their D&D counterparts, originally being from the same source. ''PF'' Earth Genies are called Shaitans, however. And yes, it's possible to be a Djinn/Efreet/Jann/Marid/Shaitan [[HalfHumanHybrid Sorcerer]], not to mention the Half-Elemental Sylph/Ifrit/Suli-Jann/Undine/Oread, who often have Genie heritage. Genies are also a big focus of the ''Legacy of Fire'' Adventure Path, which deals with the aftermath of a Genie War (you can imagine how crazy ''that'' got), and takes you to the Efreeti-run capital of the Elemental Plane of Fire known as the City of Brass.
* In the ''TabletopGame/LegendOfTheFiveRings'' spin-off ''Legend of the Burning Sands'', Jinn are the original creations of the Sun and Moon, or of the Ashalan, depending on who you believe. They are usually malevolent, but can be bargained with for service.
* In ''TabletopGame/{{Rifts}}'', Jinn are elemental demons that, if captured, can be compelled to grant a wish. However, they aren't nearly all-powerful, so if you were to wish for a million dollars from one, for example, it can't just make it appear out of mid-air, but will have to go and ''get'' it... and won't be particularly picky about where it comes from, or what he does in the process. Ever seen a Jinni rob a bank? You're about to.
* One of the [[AlternateHistory Infinite Worlds]] in the ''TabletopGame/{{GURPS}}'' setting is Caliph, a scientifically advanced Arab-dominant timeline, where references to djinn in the Qu'ran are [[TheGenieInTheMachine believed to be prophecies of A.I., and actual A.I. are called "djinn".]] So far, A.I. [[AvertedTrope Has Not Proven to Be]] [[AIIsACrapshoot a Crapshoot]], perhaps because djinn are protected by strict "human-rights" laws.
* In ''TabletopGame/{{Warhammer}}'' and ''TabletopGame/{{Warhammer 40000}}'', some Keepers of Secrets grant wishes in the fashion of Genies in exchange for your soul. Then you die. Keepers of secrets aren't known for being truthful.
* ''TabletopGame/OldWorldOfDarkness'':
** In the fan forum [[http://www.shadownessence.com/forums Shadow n Essence]], a member once proposed a fanwork called ''Djinn: Of Smokeless Fire'' that imagined them as Middle Eastern [[TabletopGame/ChangelingTheDreaming fae]]. An interesting idea, but nothing really came of it.
** "Lost Paths", the ''TabletopGame/MageTheAscension'' supplement which spotlights the Ahl-i-Batin and Taftani factions, features a great deal of detail on the Djinn, supernatural beings created by Allah from "smokeless fire given spirit and form and life" that normally reside within an Umbral Realm called the City of Brass. In general, they envy and hate humans with considerable intensity, most especially since Solomon compelled one of their number to reveal the elaborate facets of djinn behavior and culture, which he codified into the Solomonic Code and used to force the djinn into doing the bidding of anyone following its strictures (and imprisoning them within bottles, rings, gems, etc. inscribed with the Seals of Solomon).\\\
The djinn have subraces as varied as those of humanity, and range in personality from JackassGenie to LiteralGenie to almost every variation in between ''except'' BenevolentGenie. Again, about the only thing the djinn have in common other than their basic composition and access to unimaginable power is their desire for vengeance upon the arrogant human insects that dare command them -- so any mage dealing with them must have varying amounts of foolishness, intelligence, boldness and charisma.
* In ''TabletopGame/MageTheAwakening'', one option for the fabled Sixth Watchtower is the realm of the Djinn, where Spirit and Forces hold sway.

[[folder:Video Games]]
* An early example was the djinn in ''VideoGame/{{Archon}}'', which was a playable board piece on the Light side.
* One of the bosses in ''VideoGame/{{Cuphead}}'' is Djimmi the Great, a genie with an impressive EvilLaugh who fights with a variety of Egyptian/Arabian-themed attacks.
* ''VideoGame/GoldenSun'' has Djinn as WaddlingHead-like creatures aligned with one of the four elements, used to [[ClassAndLevelSystem power-up your characters]] (like {{Familiar}}s, sort of). Some are hostile and have to be [[DefeatMeansFriendship defeated]] or tricked (or both) to gain their services. Surprisingly consistent with Arabic mythology, except that they're not trapped in rings, bottles, or lamps.
** The Wise One indicates in the first game that the Djinn were [[TheMagicGoesAway sealed away along with the rest of the power of Alchemy]], but were able to escape with the removal of the Stars, before [[TheMagicComesBack the complete restoration of Alchemy to the world]]. ''VideoGame/GoldenSunDarkDawn'' states [[AllThereInTheManual in the encyclopedia]] that the Djinn are EnergyBeings formed from elemental power.
* ''[[VideoGame/SonicStorybookSeries Sonic and the Secret Rings]]'' is based on the ''Literature/ArabianNights''. There's Erazor, the Genie of the Lamp who is a colossal asshole who was imprisoned for his crimes and went right back to being a criminal as soon as he was freed. Sharah, the Genie of the Ring who seems to be more of the American "Good willing but bound to grant wishes". And numerous Genie Mooks that Sonic has to fight along the way -- most of which don't look very humanoid and more like animated flying statues, including a cyborg Ifrit and a giant jellyfish Marid. Also, one mission states that Genies reproduce via laying eggs....
* The Djinn in ''VideoGame/{{Tibia}}'' are divided in two races of Green and Blue Djinn, that don't get along well. They are powerful magicians and work as [[VendorTrash buyers for more expensive loot]].
* The strategy game ''VideoGame/RiseOfLegends'' featured genies prominently among the Alin race, which takes virtually all of its cues from ''Arabian Nights'' and Arabic folklore, with genies coming in fire, sand, and glass varieties. Some are simple units, but the three Alin hero units are particularly powerful genies, each representing one of the Alin elements.
* Djinn appear in ''VideoGame/AgeOfWonders'' as tier 3 units for the distinctly Arab-themed Azrac race, serving as flying scouts and ranged support units. They reappear in ''Age of Wonders: Shadow magic'', filling a similar role for the nomads.
* ''VideoGame/KingsQuest''
** In ''VideoGame/KingsQuestVI'' a genie by the name of Shamir Shamazzle causes trouble for the protagonist. Working for the BigBad, Shamir shapeshifts into various people and animals, but is always identifiable by his glinting gold eyes, and seems unable to do the hero direct physical harm (instead coercing him into dangerous situations if he is foolish enough to listen to him). Whoever had possession of the lamp had control over -- not just the Shamir's servitude -- but his very ''nature''. When Alexander [[spoiler:takes possession of the lamp, Shamir celebrates the switch in master, glad that he no longer has to be evil.]]
** In ''VideoGame/KingsQuestII'', Graham acquires a lamp, out of which a genie appears to grant him a flying carpet, a sword and a bridle before disappearing.
** In ''VideoGame/KingsQuestV'', Graham gets a brass bottle that also contains a genie. However, if he opens it [[spoiler:[[JackassGenie the genie simply traps him in his place and disappears,]] thereby ending the game.]]
* ''VideoGame/QuestForGloryII: Trial by Fire'' has two varieties. The SealedEvilInACan Iblis and a wishgranting variety in a ring akin to Aladdin.
* ''VideoGame/{{Arcana}}'' had the hero Rooks coming into ownership of four genie-like spirits: Sylph, Efrite, Marid and Dao, representing wind, fire, water and earth, respectively. Their levels are tied to Rooks' and are mostly there to supplement the party's attacks with magical support.
* The Bajarls from ''VideoGame/MonsterRancher 2'' resembled genies.
* ''VideoGame/MightAndMagic''
** Genies in the original setting were fairly standard, apart from being the complete opposite and sworn enemy to the Efreet, an Inferno creature. Their magic in both the old world and Ashan tends to produce random effects and they seem to have a touch of LiteralGenie as well.
** The second case is the most evident in ''VideoGame/HeroesOfMightAndMagic 5: Tribes of the East''. Zehir asks them to create a flying city, which they do, but unfortunately they [[YouDidntAsk didn't tell him the price of moving it beforehand]]: a large amount of experience, justifying the BagOfSpilling effect of the expansions in this particular case.
* The Sandsea saga of ''VideoGame/AdventureQuestWorlds'' has our hero having to battle a powerful Djinn that has become chaorrupted. Djinn are immensely powerful beings that much like the djinn of folklore can grant wishes. They cannot be destroyed, only defeated, contained or bound to the physical world through means of lamps, rings or other objects. Three kinds of djinn generally exist: the Marid, who are {{Benevolent Genie}}s like Saahir; the Ghul, who are evil genies like Tibicenas (the BigBad of the arc) once was; and the Efreet, the ruler of all djinn. When a djinn is defeated [[spoiler:such as Saahir at the hands of Tibicenas]], it usually takes him several millennia to regain enough power to return.
* ''VideoGame/Uncharted3DrakesDeception'' has djinn as EliteMooks in the lost city of Iram of the Pillars. They initially appear as ordinary human soldiers, but when killed, they revive with their heads on fire and GlowingEyesOfDoom. In this state, they can throw fire, release a burst of fire if Nate gets too close, and teleport via flames. When killed again, their torsos light up and their fire throwing becomes more powerful. It's necessary to kill them a third time to keep them down. According to in-universe legend, they used to serve King Solomon but rebelled against him. Solomon imprisoned them in a brass vessel, but the spirits of the djinn drove the populace mad and caused the destruction of the city. However, it turns out that [[spoiler:the djinn Nate encounters are merely hallucinations, caused by drinking hallucinogen-tainted water. The hallucinogens leaked from the brass vessel into the city's water supply, implying that this is the source of the djinn legend.]]
* In ''VideoGame/GuildWars Nightfall'', djinn appear in a number of locations, some as allies, some as creatures to fight.
* ''VideoGame/WorldOfWarcraft'''s Cataclysm expansion introduced Djinn into the game as powerful air elementals serving under Al'Akir the Windlord, a servant of the evil Deathwing. Most of them appear in Uldum (a FantasyCounterpartCulture of AncientEgypt) and the Skywall (the Elemental Plane of Air), and they fittingly have a very Middle Eastern motif. They don't grant wishes, and are quite hostile to the player characters (being loyal servants of the [[EldritchAbomination Old Gods]]).
* The Genies from the ''VideoGame/TheSims'' are the standard "genie in the lamp" wish granters, but are not very ''competent''. When you wish for money, you could either get free cash or a pile of bills. Wishing for "water" could give you a hot tub, or flood the house. Wishing for fire could heat up your social life... or burn your house down. They're more competent in the sequels, and are even playable in the third game. How do you make them playable? [[spoiler: Wish them free, of course.]]
* When you arrive at the final boss of the Ghost Ship Cove Route A in ''VideoGame/DragonsCrown'', you have to deal with dozens of pirates, one of them carries a lamp that can summon a genie. You can even stole that lamp and use the genie against them.
* ''VideoGame/KingdomHearts'', obviously, since it uses the same Genie from ''Disney/{{Aladdin}}''.
* ''Monster Girl Quest'' features an [[OptionalBoss avoidable battle]] with a genie that tricks people into making a selfish wish and then devours them. The game's flavor text mentions that only a strong-minded person with absolutely no selfish desires whatsoever behind their wish will actually have it granted.
* ''Franchise/{{Pokemon}}''
** ''VideoGame/PokemonBlackAndWhite'' has a trio of Legendary Genie Pokémon, incredibly fitting for a series that already lets you [[OlympusMons trap God]]. They aren't typical genies as they have no wish granting powers and are more likely to terrorize the countryside by whipping up severe thunderstorms. They're more based on Oni, specifically Raijin and Fuijin. Landorous is more benevolent and is more of a fertility god.
** Gen VI introduces a an event Legendary that is a more typical genie. Hoopa's main motif is it's rings, which it uses to teleport and store anything it desires, up to an including entire islands. [[spoiler: With an item called a Prison Bottle, it can unleash its true power and become a gigantic and terrifying being of immense size and [[{{Greed}} avarice]].]]
* ''VideoGame/{{Terraria}}'': The Desert Spirit seems inspired by the malicious examples of Djinn. Only appearing in Hardmode deserts which have fallen victim to the Corruption or the Crimson, they have the stereotypical shape as portrayed nowadays (a muscular, shirtless man, without legs, with a ponytail). As of the 1.3.3 update, they can drop [[GenieInABottle an oil lamp]] as well as a pants item that gives you the legless effect when equipped. If used as armor, it prevents falling damage.
* ''VideoGame/{{Shantae}}'': The title character is a half-genie girl who acts as her home city's Guardian Genie. As well as using her [[PrehensileHair hair as a weapon]] in combat, she can also transform into different animals by performing dances.
* ''VideoGame/TheSecretWorld'' features the Jinn, a powerful race of elemental spirits that can be found in both Egypt and the upper echelons of Hell. They don't inhabit lamps, they don't grant wishes, and they ''really'' don't like humans. Later investigation reveals that, like the original Djinn of Islamic theology, they were among the first beings brought into existence and initially served [[BigGood Gaia]] and [[OurAngelsAreDifferent the Host]] without question; however, when humanity was created, they were outraged and hurt by the fact that they would be "rejected" in favour of such a puny species, and were eventually banished to the Hell dimensions for their rebellion. Most are eager to wipe out humanity regardless of the cost, but a few remember their love of Gaia and [[EnemyMine reluctantly agree to help humanity for her sake]] - [[MySpeciesDothProtestTooMuch even if it means killing their former comrades]].
** However, in a subversion of standard fare, players eventually run into a Jinn that actually ''does'' grant wishes: over the course of your meeting, he offers you choices between eternal life and eternal love, wealth or power, knowledge and music. In true JerkassGenie fashion, each choice [[BeCarefulWhatYouWishFor bites you in the ass]]. However, it's not until the very end that the Jinn is revealed to be none other than [[spoiler: [[{{Faust}} Mephistopheles]], currently serving as the [[CorruptCorporateExcutive CEO]] of [[MorallyBankruptBanker Faust Capital]], a division of the [[MegaCorp Orochi Group]].]]
** Later still, players also run into the standard Genie-In-The-Lamp... and it turns out to be [[SealedEvilInACan arguably the most dangerous being in the entire setting]] with the notable exception of [[EldritchAbomination the Dreamers]].
* ''VideoGame/AlQadimTheGeniesCurse'' features a number of genies, and being set in the TabletopGame/ForgottenRealms, it applies that system. The elemental division is clearly made an efreet (fire) is different from a djinn (air) is different from a dao (earth) is different from a marid (water). The "three wishes" thing doesn't really come up, although the broader subject of [[GenieInABottle controlling genies]] is highly relevant.

[[folder:Visual Novels]]
* Razi Nassar in ''VisualNovel/HavenfallIsForLovers'', owner/manager of the bowling alley where the player character works and one of her possible love interests, is secretly a djinn (he objects to the word "genie"). His magic specializes in [[MasterOfIllusion illusions]] and transfiguring things - [[BalefulPolymorph or people]] - into other things, though he's also capable of throwing around waves of force and creating defensive shields. His power is also specifically linked to his home territory, in this case the bowling alley: not only is he at his most powerful on its grounds, using his magic away from the bowling alley is physically painful. Razi likens it to an electrical current, which within the bowling alley is grounded so that he can safely channel it, while away from that ground there's nothing to bear the brunt of the power except his own body.

[[folder:Web Animation]]
* Apparently, some genies have [[http://www.youtube.com/watch?v=KEVjOudHHWk dirty]] [[http://www.youtube.com/watch?v=YpJjfJTwnhs minds]].

[[folder:Web Comics]]
* [[http://nonadventures.com/2007/11/10/djinn-there-done-that/ This strip]] of ''Webcomic/TheNonAdventuresOfWonderella'' parodies the disconnect between the original djinni myths and the American pop-culture genie.
* ''Webcomic/LastRes0rt'''s Djinn and Djinni-Si are so far off the myth they're practically InNameOnly. Magical? sure. Long-lived? Well, they're undead, so we'll count it. Freaky colored skin? Yup. Wish-granting? No. Live in bottles/lamps? Well, Efreet CAN, but not the rest. [[DarkIsNotEvil Evil? Mebbe.]] Oh, and this is without including the detail that the term "Djinni-Si" encompasses ALL undead creatures, including [[OurVampiresAreDifferent Vampires]] (dubbed "Life Djinn") and Zombies. Efreet (one of the most powerful variants of Djinn) have recently been revealed to be capable of living in small glass balls.
* In ''Webcomic/IDreamOfAJeanieBottle'', a guy gets transformed into a ([[GenderBender female]]) Genie. A spoof of ''Series/IDreamOfJeannie'' and parodying the tropes used there.

[[folder:Web Original]]
* The Djinn in ''Literature/NewYorkMagician'', who works for Cthulhu and is forced to wander around New York, body to body until such a time as undisclosed.

[[folder:Western Animation]]
* ''Westernanimation/AladdinTheSeries'', beyond ''Disney/{{Aladdin}}'''s blue Genie, also introduces [[ShoutOut Eden]], a green-skinned female. She gets romantically attached to the Genie, and is going to be set free with her master's third wish, until her master (who is a lonely little girl) accidentally says: "I just wish you could be with me forever." The couple is parted... but they realize that because they're immortal they can just meet up in a hundred years or so.
* ''Westernanimation/TheFairlyOddparents'' has Norm (voiced by Norm Macdonald), a JackassGenie (in fact, most genies are like that according to Wanda) who was trapped inside a ''lava lamp'' and is weak against things made of "smoof". He follows the typical three wishes rule (although that's a bluff to avoid hard work. Masters can just wish for additional three wishes as much as they can), which are rule-free unlike fairy wishes. He also wants to be a fairy in order to avoid being stuck in a lamp. [[spoiler: He eventually becomes one, but it backfires on him thanks to a ChekhovsGag.]]
* ''WesternAnimation/DannyPhantom'' had Desiree, an evil "[[OurGhostsAreDifferent ghost genie]]" who grew in power when she granted wishes. Unfortunately for her, [[PowerIncontinence she couldn't stop herself from granting wishes]], and that led to her defeat in both of her solo appearances.
* In ''WesternAnimation/TheSmurfs'' we have Gourdy, Farmer Smurf's genie who [[ChuckCunninghamSyndrome only made three appearances]] in season six.
* In the ''WesternAnimation/RockosModernLife'' episode "Scrubbin' Down Under," Rocko uses a jackhammer in a misguided attempt to remove spinach from between his teeth. Obviously, he ends up landing himself in the hospital. While he's laid up in traction, sleeping, he dreams of a hygiene-obsessed monkey genie attempting to re-educate him about hygiene. The monkey genie is actually the doctor who's treating him in the "real" world.
* ''WesternAnimation/ShimmerAndShine'': They live in another dimension, their bottles are just a way to travel between their world and Earth and they don't have to return right after granting the third wish. Shimmer and Shine usually stay around to fix their mistakes and only then go back home.
* ''WesternAnimation/YogisGang'': The Greedy Genie is free to roam the world with a flying lamp and is free to offer his wishes to anyone he wants. In his case, it means people who agree to never share anything he gives them.
* Episode "Janine's Genie" of ''WesternAnimation/TheRealGhostbusters'' has a genie of the JerkassGenie variety. The genie is evil and uses Janine's wishes to open a portal from the spirit world to Earth.
* "Wishful Thinking" episode of ''WesternAnimation/HeathcliffAndTheCatillacCats'' has a cat genie, but other than be a cat is the typical genie in everything else.
* A genie appears in episode "Junior's Genie" of ''WesternAnimation/PopeyeAndSon''.