So, we have a world. The world has magic in it. However, this world isn't a normal fantasy setting and is instead [[UrbanFantasy more or less the real world]]. Well, then what happens to magic or magical creatures? It turns out that they disappear, for better or worse.

It seems that magic and science simply don't go well together, so that as one grows stronger, the other fades. Thus, the further humanity progresses in either science or civilization, the weaker magic becomes. In some cases, magic may even die outright.

See MagicVersusScience for reasons for conflict between the two systems. May occur because magic [[ClapYourHandsIfYouBelieve draws its power]] from [[ReligionIsMagic "belief"]], and belief [[PuffOfLogic is antithetical to knowledge]].

This may be a factor in TheMagicGoesAway. Compare DeathOfTheOldGods. Compare and contrast TheMagicVersusTechnologyWar, which involves more direct conflict. If magic ''appears'' to disappear, but is merely explained by advances in science, then it's DoingInTheWizard or MagicFromTechnology.

Contrast DoingInTheScientist, which can be seen as this trope in reverse; science fades because of magical underpinnings.


[[folder:Anime and Manga]]
* Side material for ''Manga/MahouSenseiNegima'' reveals that magic may be doomed. Magic is largely dependent upon a theory of the way the world works based on such things as the classic elements or fantasy creatures. However, as science progresses, it becomes more difficult to hold the proper mindset. It is implied that eventually magic will have been replaced completely by science.
* In ''LightNovel/ACertainMagicalIndex'', the power of magic and the various churches built around them have largely declined, leading to a balance of power that is roughly even between that of the Science and Magic sides. While science continues to grow, magic largely stays the same. Quite interesting when one considers magic came into existence as an attempt to replicate rare but naturally-occuring PsychicPowers in ordinary people, an alternative everyone could use. The balance started unraveling when science discovered how to create espers through artificial means (the Power Development Program shown in the series).
** The second season proves that this is more serious than what one might suspect. It was already known that espers can't use magic or they'll die but it turns out the opposite is also true: a sufficiently powerful AIM dispersion field such as the one wielded by [[spoiler:[[BewareTheNiceOnes FUSE=Kazakiri]]]] will [[AntiMagic slowly kill anyone who attempts to cast spells within the field's range]] aside from {{No Sell}}ing any and all magic directed against the wielder.

[[folder:Comic Books]]
* In Creator/DCComics, Doctor Thirteen is a paranormal investigator who goes around debunking magical phenomena as mundane activity. Since he's in the same verse as ComicBook/TheSpectre and ComicBook/ThePhantomStranger, it didn't really make sense and was {{retcon}}ned into being that Doctor Thirteen's very presence makes magic stop working.

[[folder:Fan Fiction]]
* In the ''Fanfic/HarryPotterAndTheMethodsOfRationality'' setting, it is common knowledge that TheMagicGoesAway: No-one can surpass the Founders of Hogwarts, who can't surpass Merlin, no one can make stuff as good as the ancient artifacts, etc. According to the Blood Purists, of whom the Death Eaters are a violently proactive faction, it's the fault of the muggleborns for watering-down wizarding blood. Rationalist!Harry gets Draco to collaborate with him in investigating the true cause of the decline of magic through the ages. One of the alternate hypotheses considered is this very trope: "magic disappears because of Muggle science developing". [[spoiler:[[SubvertedTrope Turns out the actual truth is more interesting than that.]] Merlin cast a very powerful spell to stop powerful magic being accessible from books or ghosts to people who hadn't figured it out themselves, to stop the world from being destroyed by idiots with powerful magic, [[NiceJobBreakingItHero but the Interdict of Merlin ended up depriving the Wizarding World of most magical knowledge. ]]]]

* ''Literature/TheLordOfTheRings'': Elves, ents, dwarves, orcs etc are fading away as "The Third Age of the world is ended, and the new age is begun"
* In ''Literature/{{Stardust}}'', all the fantasy elements of our world largely left for another world. There are points of contact between the two worlds, but even those are both becoming rarer and the times when people cross between become rarer as well.
* A lot of Victorian literature is constructed around this idea. ''Literature/{{Dracula}}'' stands out as a great example as the mysticism of Eastern Europe is trumped by the science and innovation of an industrialized England.
* In ''Franchise/ConanTheBarbarian'', according to the good sorcerer Pelias Conan's kingdom brought forth an age of logic and science which is slowly destroying the magic.
* In ''Literature/VoyageOfTheBasset'', the motto of the ''Basset'' is "Credendo vides", translated in-universe as "By believing, one sees." In other words, you have to ignore science and believe in the fantastic without evidence before you can see behind TheMasquerade.
* In ''Literature/MagicKingdomOfLandover'', not believing in magic and believing in science kills off magic in The Verse, the "real" world has nearly no magic as a result.
* This is implied to be the end goal of the maesters in ''Literature/ASongOfIceAndFire''. There seems to be a conspiracy in the upper ranks that wants to destroy magic in favor of science. This is hardly a universal consensus, however, and officially they still have a field of study dedicated to "the higher mysteries." It seems to exist as much to discourage potential initiates by [[SchmuckBait teaching them spells that don't work]] as any other reason, however.
* ''Literature/TheWarOfTheFlowers'' invokes this. The Evil Overlord of the Faeries says that this is why life sucks in their world, but he may be lying.
* Seems to work both ways in the ''Literature/KateDaniels'' books: Technology destroys magic and magic causes technology to fail.
* Inverted in ''Literature/TheDresdenFiles''. There active magic destroys technology to the point where cell phones are considered the canaries of magical activity.
* Creator/RayBradbury's short story ''On The Orient, North'' featured a ghost fleeing continental Europe to save himself from the scientific intellectuals that were "killing" him, aided by an English nurse.
-->"Yes," said the ghastly passenger. "You are English and the English ''believe''!"
-->"True. Better than Americans, who ''doubt''. French? Cynics! English is best. There is hardly an old London house that does not have its sad lady of mists crying before dawn."
* Played with a bit in ''Creator/TerryBrooks''' ''Literature/{{Shannara}}'' series. In the back-story this trope was played very straight, with the rise of science and industry virtually eliminating magic and most fantasy races. However, after humanity [[EndOfTheWorldAsWeKnowIt nuked itself]] [[AfterTheEnd back to the stone age]], magic rose to much greater prominence again.

[[folder:New Media]]
* In ''WebVideo/SuburbanKnights'', the premise is about [[spoiler:the magical villain's intent to seek revenge on the science of the world bought about by the king who bested him in battle for the throne long ago, and destroy technology everywhere.]] The Channel Awesome crew can only look on in shocked disbelief when [[spoiler:the villain takes a call on his smartphone, proving that he's a total hypocrite.]]

[[folder:Real Life]]
* In Computer Science, a value that's used literally inside of a block of code instead of assigned to a variable first is referred to as a "Magic Number". These are considered harmful as it makes it very difficult to determine what the number represents, or if it's supposed to be used elsewhere in the program. Therefore, good programs should have a little "magic" as possible.

[[folder:Tabletop Games]]
* ''TabletopGame/MageTheAscension''. This is what happened to Earth in the campaign setting. The Technocracy managed to impose its scientific, rational world view and thereby suppress the fantasy elements (e.g., magic and magical monsters) that were common before. But the truth is, Magic and Science are the ''same'', [[ClapYourHandsIfYouBelieve laws of the universe brought to reality because the consensus believes so]]. Back then you may mix this and that into a cauldron and say the incantations to create a HealingPotion. Now you grow fungi and extract penicillin out of it.
** Furthermore, the brite force done by the Technocracy means that the laws of reality are ''calcifying'' and they've basically caused people to grow numb on imagining, thus making their exotic super-science just as hard to believe as magic so Science is destroying Magic while destroying itself in the process.
* ''TabletopGame/ChangelingTheDreaming'' tends to assume science is Fae-smothering Banality, though the Nockers might disagree (indeed, the largest infusion of Glamour in recent history was the moon landing).
* In ''TabletopGame/MagicTheGathering'', this was basically what Yawgmoth hoped. Phyrexian 'technology' seems to be MagiTek, MechanicalLifeforms or a combination of both, however, so this may not be a full example. Also, during ''The Thran'', Yawgmoth "deconstructed" magic by diffracting light into its five mana components. It's quite complicated.

[[folder:Video Games]]
* One late conversation in ''VideoGame/{{Arcanum}}'' mentions that the world goes through cycles of magic, uneasy balance, tech ect, with the game taking place during the uneasy balance leading into an era of technology.
** In a more literal sense, advanced technology weakens magic and vice-versa, because tech uses natural laws to do things, while magic breaks the laws of nature to do things.
* ''VideoGame/{{Touhou}}''. The main setting, Gensoukyou, has actually been set up to absorb things that would be destroyed from lack of belief. [[spoiler:This may hold more for certain beings than for others. Deities are confirmed to be reliant on human worship and new characters appear due to outsiders' disbelief but Youkai are still able to cross the Border for a snack with the right preparations. Then there are the issues of the entire Lunar civilization (which admittedly could be in the same situation as Gensoukyou) and at least one character who can come and go at will.]]
* The ExtendedUniverse for ''VideoGame/KingsQuest'' has this as part of the games' backstory. The magical creatures and beings that once lived on our world knew about the matter, so when we started becoming more scientific they voluntarily left to a new world before any weakening could occur.

[[folder:Visual Novels]]
* The explanation the fantasy side gives in ''VisualNovel/UminekoWhenTheyCry'' for why they don't use magic openly is that humans have become resistant to it as they acquired an 'anti-magic toxin'. Thus, in large groups it becomes impossible to use magic on them. The mystery side argues, of course, that magic doesn't exist in the first place. It is largely ambiguous as to who is correct.
* In ''VisualNovel/ShikkokuNoSharnoth'', as the light of civilization grew, the [[DarkIsNotEvil dark kingdom]] of the fantasy realm willingly left to make room for them, as they could not exist in it. The only one who stayed was the land's powerful king, who stayed inside his dark castle alone. [[spoiler:By the end, Mary has dragged the king out and told him he can't stay trapped in the past, always fearing the future.]]
* In ''[[VisualNovel/FateStayNight Fate/stay night]]'', there is an expression: As technology moves towards the future, magecraft moves towards the past. As technology has advanced, the ability of magic users has only declined. ''VisualNovel/{{Tsukihime}}'', set in the same continuity, originally introduced this idea with the fact that where magic was once powerful, it now has to hide from society at large or risk destruction.

* The Administrator's note for the Wiki/SCPFoundation has this as explaining why we don't have all these weird cults dedicated to SCP-level objects. Not that it seems to have worked...

[[folder:Western Animation]]
* In ''WesternAnimation/TheFlightOfDragons'', the central premise is a sort of ElementalRockPaperScissors in which magical creatures can't exist in a world where science dominates, and civilizations based on science are destroyed by fear and superstition. [[spoiler:The hero kills a dragon by ''scientifically proving it can't exist''.]]