The Magic Goes Away

So the Big Bad is defeated, right? All things are going back to where they ought to be. Order is taking over again. But there is no room in this new world order for Magic. Perhaps magic has finished its work in the world, maybe the Big Bad was tied to the source of all magic, or maybe it was sealed away, but all traces of magic are now gone, or at least disappearing fast. The Time of Myths is no more.

Of course, with all magic gone, all beings whose very existence were tied to magic must go away, too. Either they vanish into nothingness, or travel to a better realm, but either way, they're gone with the magic as well.

Those that use the former may be more of a Downer Ending, as everything magical that the player worked hard for is now gone, while those that use the latter are more of a Bittersweet Ending, as even though they're gone, they're in a better place.

Often this trope is to imply that this work of fiction may have really happened, as it makes way for the more magically incompetent humans and their technology.

This trope may be applied to other types of Phlebotinum, not just magic itself.

This trope is distinguished from Gotterdammerung in that the work is about the events which result in (or at least around the time of) the magic going away. In Gotterdammerung, the magic went away long ago. It is distinguished from Here There Were Dragons in that in that one, there certainly were dragons (or magic or Phlebotinum), and they clearly have gone away (perhaps because the story is set in the real world's past), but the story isn't about their disappearance. May overlap with End of an Age in that both involve the loss of wonder, but differs in that it is specifically about magic and magic settings. Can also overlap with Growing Up Sucks. See The Magic Comes Back and Power Nullifier if this is a temporary status and it actually returns.

Also note that many examples will be spoilers in one way or another, as the titles of works that end this way probably won't be put in spoiler tags. Be warned.

Not to be confused with The Magic Goes Away, the Trope Namer.

Anime and Manga

 * In the Murder Princess OVA setting, all magic is rooted in . When Alita/Falis destroys it, all magic disappears from the world, including all the magical characters.
 * Technically it's not magic, but at the end of season 1 of Digimon, the kids are told that they must leave Digiworld. This gets undone in Season 2 and everyone lives happily ever after. In season 3, this is done again (this time in the "real" real world, where seasons 1 and 2 were a tv show). But again, at the end, it's hinted that this isn't permanent.
 * This occurs in Mai-HiME, where all HiME powers, birthmarks and associated CHILDs disappear.
 * In Pretty Cure All-Stars DX 3, the united teams lose their powers and their fairy companions when they use the last of a mystical flower's power for one last super attack to destroy the movie's monster. However, since there's still a show going, they gotta get it back
 * A variation occurs in the Edolas arc of Fairy Tail, because, unlike in Earthland (where the protagonists are from), magic is a scarce (and nearly depleted) resource, and can only be used through items. By the end of the arc, dispels all magic left in Edolas to Earthland (in order to ensure that it could never be used as an excuse for cross-dimensional conflict again) and sends the other protagonists (as well as the Exceed race) back through the subsequently-closed Anima, while staying behind to assume  rightful place as the ruler of the now-magicless Edolas.
 * In the manga series Pet Shop of Horrors, Count D reveals that someday, little Chris will grow up and no longer be able to talk to the animals in his shop, nor will he be able to see them as their humanesque forms, but the way normal people see them.
 * There's also a scene in one story in Pet Shop of Horrors: Tokyo, where D's grandfather and a vampire stand on a statue and watch the Holocaust unfold. While discussing the death and destruction, it's brought up that with all of the humans dead, gods, demons, and beings like the vampire and D's grandfather will fade away.

Comic Books

 * A Green Lantern story established that the Guardians of the Universe corralled much of the universe's mystical energy into the Starheart.
 * The Amethyst, Princess of Gemworld'' saga had it that a star going nova also disrupted mystical energy.
 * Buffy the Vampire Slayer Comics-verse:
 * This occurs in the backstory of the world of Fray (a possible future of the Buffyverse), although the process was somehow reversed centuries later.
 * The Buffy the Vampire Slayer season 8 comic linked up with the future-set Fray-verse by having all the magic go away.
 * This seems to be underway in the Hellboy universe (The Fair Folk haven't had any children in a century), but it's not going to go without a fight (some of the Fair Folk are waking up really, really nasty people in an attempt to keep from going extinct)...
 * Unfortunately for the world, while its magic goes away, it seems to leave it more open to otherworldly supernatural forces, like The Legions of Hell and the Ogdru Jahad.

Film
"Cutler Beckett: This is no longer your world, Jones. The immaterial has become...immaterial."
 * In the film Dragonheart, Draco (voiced by Sean Connery) notes "I AM the last one". And he doesn't survive the film.
 * Later subverted in the Narmtastic Dragonheart II, where a long-forgotten dragon egg hatches, and an evil dragon who was in hiding reveals himself. The young dragon, Drake, beats the evil one, but it's suggested that there may be more dragons still out there.
 * Dragonslayer plays out along very similar lines; Ulrich of Craggenmoor, a wizard, and Vermithrax Pejorative, a dragon, are (more or less) the last of their kinds.
 * Pirates of the Caribbean plays with this, suggesting that the supernatural isn't going away though some kind of event to make room for normal humans and technology, but because normal humans and technology are overtaking it and making it simply irrelevant. The point is hammered home by Cutler Beckket, who never once flinches at anything clearly magical, and views it as nothing more than a disposable tool.

""The days of our kind are numbered. The one God comes to drive out the many gods. The spirits of wood and stream grow silent. It's the way of things. Yes... it's a time for men, and their ways.""
 * Considering they end with releasing the fickle goddess of the sea, who had been sealed expressly to make the world's oceans easier to travel, this may reverse all over again.
 * John Boorman's Excalibur has this scene where Merlin mourns the passage of magic from England:


 * At the end of The Craft, the powers are taken away from the girls as punishment for their misuse.
 * Sarah however keeps hers, as she is a natural witch.

Literature
"Witness those rings and roundelays /
 * The Trope Namer, Larry Niven's The Magic Goes Away stories tell of an ancient civilization based on Functional Magic powered by "Mana", but there's only a finite amount present on Earth. That nobody seems to be aware of or acknowledge this fact causes the magi, magical creatures and gods that use mana to eventually "go mythical" (a very obvious allegory aimed at modern civilization's reliance on fixed resources).
 * In the book Missing Magic, a young boy has to deal with being the only one without magic powers. When his uncle turns out to have been the Big Bad (after taking his powers and killing his father) his uncle uses the same spell and removes everyone's magic by accident. The boy comes to realize that eventually magic will return and someone will pioneer its discovery, long after everyone forgets it existed and moves on.
 * In Lord of the Rings, the breaking of the One Ring resulted in the end of magic in Middle Earth; the decay long held off by the elven Rings could no longer be stopped, and the Elves and many of the heroes left Middle Earth forever.
 * This seems to be where the world is going for most of the Sword of Truth series, partly because of the efforts of the Imperial Order, which seeks to stamp out all magic, and partly because of the Chimes, demonic entities that destroy magic. At the end of the final book, Richard . This world is destined to lose all magic and all memory of magic, while the old world's magic is on the recovery.
 * The last book of The Dark Is Rising series, Silver on the Tree, ends with all the magical people and things on both sides, good and evil, leaving so that humans can decide their own fate.
 * The Obsidian Trilogy: Partially reversed in Mercedes Lackey and James Mallory's series. The magic hasn't completely gone away, but some of it has, and it's implied it will be coming back.
 * Mercedes Lackey's Heralds of Valdemar series is initially set in a country where magic is believed to have disappeared centuries ago with the last Herald-Mage. Later, it turns out that it isn't really gone; . Getting the magic back becomes a major plot point of the Mage Winds trilogy.
 * By the end of the 'Mage Storms' trilogy, magic has been spread out over a much larger area and mages cannot tap into vast streams of it like they used to. The situation is implied to be temporary.
 * In Tales of the Five Hundred Kingdoms, the lands are suffused with an ambient magic called "the Tradition." It will fade from a land which has lost its sense of magic and wonder, and the lives of the people who live there will be diminished as a result.
 * The Darksword Trilogy ends this way, as the magic held concentrated in Thimhallan is once again spread evenly throughout the universe. A partial aversion, since this restores magic to the rest of the universe as the cost of destroying the magic-filled land of Thimhallan.
 * The His Dark Materials trilogy by Philip Pullman ends with
 * At the end of The Graveyard Book, this serves as a Tear Jerker and Bittersweet Ending as Bod.
 * In the book Source of Magic, from Piers Anthony's Xanth series, magic went away for a while. But it returned through the heroes' efforts by the end of the book by getting the aforementioned source to come back. While the magic was gone, though, most of Xanth suffered weird aftereffects and many people were distraught to find their talents unusable. This is referred to as "The Time of No Magic."
 * One of those things you shouldn't think about too much, since a lot of magical effects that really should have been destroyed in this time appear in later books. Things like castles that fly using magic and several magical prisons of various types.
 * In On Stranger Tides by Tim Powers, magic becomes more difficult if the caster has contact with too much ferrous metal, and magic-use has been dying out as iron technology spreads. Near the beginning of the novel, Jack Shandy sees two children levitating his marionettes to make them dance; at the end, they're using the strings to move them.
 * Subverted in Steven Brust's Dragaera novels, where sorcery went away during the Interregnum and then came back when the Imperial Orb was retrieved.
 * The Chronicles of Prydain ends with the Sons of Don and everyone with magic having to leave Prydain, now that Arawn is dead. The other companions are offered a place on the ships to the Summer Country where they can live together forever, but.
 * The Wheel of Time series is presumably heading for one of these. The series is presented as set on our world in the far distant past/future (which amount to the same thing, as time is cyclical.) At some point the world must lose all access to The One Power before The Wheel spins around to our time again.
 * Most fans are expecting this event to be a key aspect in the final book, if that ever happens.
 * Although,
 * At the end of the Coldfire Trilogy, the magic has been altered to be less responsive to human minds, creating a sense of psychic distance that will gradually render it unusable.
 * On the other hand, it also means that thinking about the monster under your bed doesn't cause it to come to life.
 * In S.M Stirling's Emberverse the "magic" is our modern high energy technology. Electricity, gunpowder, explosives, internal combustion and steam power either ceases to function or becomes so inefficient that no work can be performed.
 * The prequels in Isaac Asimov's Foundation series, particularly the trilogy by Bear, Benford, and Brin, have the loss of the Empire's faster than light technology as a major theme.
 * In the original Foundation books, it isn't magic but technology that goes away, as the fall of the Empire causes the loss of technology and knowledge. When the Foundation brings it back, it is viewed as (religious) magic.
 * In The Cyberstrike Baptism, one of the protagonists ends up on a colony during the local Festival of Love. The key part involves a man performing a ritual that will summon the goddess of love, who helps soulmates find each other. The man is looking for his wife and sees this as his best chance. Unfortunately, he is told that this festival is likely the last one, as there are rules as to who can perform the ritual. It has to be done for six generations and passed down from father to son before the goddess will appear, and the current guy is very old and childless. While it is possible to resume the ritual after six generations, no one plans to wait that long.
 * In The Death of Chaos the chronologically last book in the Saga of Recluce, this happens when Lerris bonds all the free chaos and order in the world together. Everything infused with extra order or chaos is destroyed.
 * Subverted in Secret of the Sixth Magic by Lyndon Hardy, in which it seems that the five known forms of magic are ceasing to operate. It turns out that they aren't vanishing; rather, a "metamagician" from another world is shifting the rules under which they operate, forcing magic-users to rediscover how to invoke their powers.
 * In Lord Dunsany's The Charwomans Shadow, the magician leads all the magic out of Spain at the end.
 * This has been happening at earlier ages to successive generations at the beginning of the Green-Sky Trilogy. In the third book, there are signs that The Magic Comes Back.
 * In Adrian Tchaikovsky's Shadows of the Apt the magically oriented Inapt kinden have been fading for several centuries, giving way to the technologically oriented Apt kinden.
 * Ursula K. Le Guin's Tehanu is clearly moving this way in the end.
 * The Dragonlance series has this happen in Dragons of Summer Flame, originally intended by the creators to be the endpoint of the saga. However, they and other writers decided to keep the story going, magic and all, though the magic isn't quite the same afterward.
 * In Discworld magic is weaker than it used to be since the Sourcerors were around, which is a very good thing as they nearly destroyed the world. However, in The Last Hero it's noted that if the Disc's magic went away altogether, the world would also end because a flat planet on four giant elephants on a giant turtle simply cannot exist without magic.
 * John Brunner's Traveller in Black, who suppresses Chaos by granting wishes and poetic justice, is on an eons-long mission to make this happen.
 * The Long Price Quartet ends with
 * The High Warlock claimed this was happening in Blue Moon Rising, as the rise of science and logic gradually displaced the fantastic from reality, and events in Beyond The Blue Moon make this trope inevitable by . Averted by other books in Simon R. Green's Verse/ multiverse, in which magic and science are treated as co-existing rather than the former being extinguished by the latter.
 * This is how Roald Dahl's Matilda ends; the titular heroine cannot do magic anymore as her brain is reaching its potential in more traditional ways, ie, schooling.
 * Inverted and averted in Fred Saberhagen's Empire of the East trilogy: in the backstory, Technology Went Away, but then, at the end, when Technology Comes Back, Magic stays too.
 * The plot of Dirge for Prester John is figuring out why this happened after the fact.
 * Whether the magic has gone away, many of those associated with its practice are said to have done so. Traditionally, they left in the sixteenth century:

Of theirs which yet remain /

Were footed in Queen Mary’s days /

On many a grassy plain. /

But since of late Elizabeth, /

And later James came in, /

Are never seen on any heath /

As when the time hath been. /"

- (from the poem “Farewell, rewards and fairies” by the seventeenth-century Anglican bishop, Richard Corbet)

"“It’s some time since I heard that sung, but there’s no good beating about the bush: it’s true. The People of the Hills have all left. I saw them come into Old England and I saw them go. Giants, trolls, kelpies, brownies, goblins imps; wood, tree, mound, and water spirits; heath-people, hill-watchers, treasure-guards, good people, little people, pishogues, leprechauns, night-riders, pixies, nixies, gnomes and the rest – gone, all gone! I came into England with Oak, Ash, and Thorn, and when Oak, Ash, and Thorn are gone I shall go too.”"

- Puck, in the chapter “Weland’s sword” in Puck of Pook's Hill by Rudyard Kipling. A later chapter, “Dymchurch flit”, in the same book tells the story of how they left.

Live Action TV

 * By the end of Xena: Warrior Princess, most of the Greek gods in that Verse have faded or been killed off.
 * As well as a lot of gods from other cultures; it happened pretty often in both Xena and Hercules: The Legendary Journeys.
 * Similarly, Season 4 of Babylon 5 includes the Vorlons and the Shadows leaving the galaxy. However, as Delenn puts it, "Now we make our own magic". Confirmed by the Distant Finale,
 * The 1998 TV movie Merlin has Sam Neill as the eponymous wizard using the last magic in the world to
 * Magic temporarily disappears in Charmed when Wyatt is born. The demon of the week has to take a cab to leave the Halliwell manor.
 * Power Rangers in Space was supposed to close the book on the entire series, so in the final battle, the release of Zordon's energy (at the cost of his life) causes the Rangers' powers to be taken away in the same wave of light that causes the villains to disappear for good. Then the series was Un Cancelled, so Space only closed the book on just one continuity of the series, and then that started promptly leaking. The Space Rangers' powers got better in time for the Crossover episode next year.
 * Carnivale was supposed to eventually cover the end of magic in the world, but it was canceled four seasons prematurely.
 * This is actually done in the beginning for Kaizoku Sentai Gokaiger, with the previous 199 Sentai warriors giving up their powers.

Religion

 * According to traditional Judaism, when the First Temple was destroyed, prophecy began to diminish, and eventually disappeared entirely.

Tabletop Games
"We were gods, once."
 * On the last day of every year, all magic fails to work in the Dungeons and Dragons game-setting of Mystara. At one point during the Wrath of the Immortals, this effect lasted for a full week, causing massive disruptions in places like the Hollow World, where the internal sun went dark.
 * Gazetteer The Principalities of Glantri explains some of the details..
 * In the Forgotten Realms setting, magic went away for a few seconds at some point in the history of Faerun as the goddess of magic was severely disrupted. Needless to say, this had very bad results for the empire of magically-floating cities...
 * It happened again when the transition was made to 4th edition magic, with the added 'bonus' of a world-spanning storm of random magic that completely reshaped the geography and reduced many of the setting's civilizations to ruin as well as merging the world with a parallel universe.
 * In the D20 Modern setting Shadow Chasers, magic comes and goes in waves as the Shadow realm merges and separates with our world. The game world of Shadow Chasers is an inversion, since the magic has been gone, but now it's coming back.
 * Another d20 Modern setting, Urban Arcana, could be considered the "second stage" of this cycle, as enough stuff has come through the Shadow to make it into outright Dungeons and Dragons-flavored Urban Fantasy.
 * Alternity (and later d20 Modern) setting Dark•Matter. When large amounts of dark matter sweep through the solar system (AKA the Dark Tide), magic and psionics start to work, miracles begin to occur and fantastic animals and monsters appear. When the amount of dark matter decreases, these effects stop working. The Dark Tide has come and gone many times in Earth's past.
 * Inverted in exactly the same way in Shadowrun/Earthdawn franchise from 1989. Shadowrun is set in postmodern days (2040 - 2070), where magic has just returned and turned the world upside down, whereas Earthdawn is set at the later part of the last magic age, fitting this trope to an extent. But since the player characters will never live long enough to actually see the inevitable end of magic, it's only partially played straight.
 * In the official setting for Champions, Earth's level of magic is cyclical. When magic levels run high, you've got dragons and monsters and legendary heroes, and when magic runs low you've got science and technology. The "Age of the Superhero" is actually a disruption of that cycle, in that a cabal of black magicians actually managed to overload Earth with magic during a "low magic" point in history, thus allowing both magic (which turns out to be the true origin of all superpowers) and high technology, if only for about a hundred years or so.
 * In Magic: The Gathering, the power of the planeswalkers has been drastically weakened after various multiverse threatening disasters. The older planeswalkers are the only ones who realize how much power they lost. Nicol Bolas is particularly bitter and schemes to regain what he lost.
 * In Magic: The Gathering, the power of the planeswalkers has been drastically weakened after various multiverse threatening disasters. The older planeswalkers are the only ones who realize how much power they lost. Nicol Bolas is particularly bitter and schemes to regain what he lost.


 * Although Bolas has recently . The magic may come back after all,.

Video Games

 * In Final Fantasy V, all matter is destroyed ...and rebooted.
 * In Final Fantasy VI, the destruction of the Warring Triad and Kefka led to
 * In Final Fantasy VII, it's inverted. Midgar is destroyed. But it was all about Green Aesops anyway.
 * Although magic is not destroyed at the end of Final Fantasy X, as the price for defeating all the aeons have to be sent along with . This also involves.
 * Final Fantasy X 2 gives a more in-depth look at the bittersweet consequences of changing the world. Life is undeniably better and people no longer live in fear. However, now that Spira is no longer stuck in stasis the beautiful Macalania Woods are dying. The Thunder Plains have been tamed, which makes them much nicer to travel but also takes the awe out of them. (Who would have thought you could miss getting hit by lightning?) The ruins, former destination of the sacred pilgrimage, are overrun with tourists, understandably upsetting for Yuna.
 * There are dark aeons, however.
 * What's really weird is that no one performs any Sendings in Final Fantasy X 2 anymore. Yuna certainly fails to even mention the task at any point in the game in spite of it being her sacred duty in the prequel. So it's possible that the loss of Aeons indirectly means it's now impossible to use the convenient magic trick that forces the restless dead to stay dead instead of coming back with superpowers and tentacles.
 * Then again, it may take a lot more for these restless dead to come back compared to before when it would always happen, often in mere minutes.
 * Happens slowly over the course of the Ivalice timeline.
 * In Final Fantasy XII and Final Fantasy Tactics a 2, magical beings abound, Magitek is everywhere and some areas are thick with Mist, magic in the air so thick that it looks foggy.
 * By the time of Final Fantasy Tactics, most of the magical beings are either dead or simply gone, Magitek has become Lost Technology, Mist is nowhere to be seen, and a great deal of faith is required to make magic work, when it once worked automatically.
 * Fast forward even more to Vagrant Story, and magic's almost entirely gone and relegated to myth, and for most people, the little bit left is so hard to get at that you lose your soul in the process.
 * Happens in the end of Xenogears, where the destruction of the not only prevents magic from functioning, but removes the power source of all of the planet's Gears as well!
 * Except for the Xenogears itself. It runs on a different power source (that being ) and thus continues to function.
 * Spellbreaker, the finale of Infocom's Enchanter trilogy, ends with the protagonist
 * Beyond Zork, which takes place concurrently, has the protagonist . The quest is masterminded by one of the wizards the Shadow CLEESHed at the beginning of Spellbreaker.
 * This is implied at the end of Mass Effect 3. The power of mass effect fields that prematurely advanced human technology thousands of years
 * This is a goal of the Big Bad's in Zork: Grand Inquisitor.
 * The Secret Of Mana features the Big Bad . By the time of Legend Of Mana, the low levels of magic and long time-span with no Mana Tree have lead to long periods of pointless war, needless sorrow, and fractured even the powerful elementals into minor splinters of their former abilities. The world itself falls apart during the opening cutscene. There, the concept is inverted, and the protagonist's goal is to bring the magic and the Mana Tree back.
 * This occurs in Seiken Densetsu III as.
 * Making things really lame for Angela, whose story revolves around her learning to use magic.
 * The penultimate episode of Killer 7 ends with whatever cursed magic woven by that binds all of the dead Smiths unto Garcian being undone by unkillable Black Heaven Smiles. When only Garcian remains (you can't switch to him until all the other Smiths are gone), Garcian can use a weapon lying on the floor to defend himself against the Smiles and defeat the warped politicians and escape. From that point onward in the plot, the other Smiths which you've been relying on throughout the entire game are completely and finally dead, leaving you with only Garcian, the most vulnerable of all the Smiths.
 * In Bio Motor Unitron, after defeating the Unitice, all the UNITRON robots that you've been training and battling with throughout the game are reduced to dust.
 * At the close of Baten Kaitos, when the
 * At the end of Thief 3, Garret activates the final glyph, which causes all of them to stop working forever. This has a rather bad effect on
 * By the end of Tales of Vesperia, the heroes are forced to destroy all the blastia (magical stones used for everything) in the world in order to save it. However, it's subverted in the fact that the blastia is sacrificed to create a different kind of magic. However, the humans are forced to resort to technology to fulfill their needs in the absence of blastia.
 * In Tales of the Abyss, on the other hand, due to the Big Bad's actions, the heroes are left with no choice but to eliminate the source of all magic in the world (called fonons), including the recently discovered seventh fonon. Magic is taken for granted in this world and is used in a variety of ways, from maintaining and running all the mechanical aircars and elevators of the Kingdom of Kimlasca's capital, Baticul, to maintaining the city-wide fountains of the Malkuth Empire's capital, Grand Chokmah- the entire city floats on the water. The very first realization that dawns on the emperor of the Malkuth empire regarding the elimination of magic is for him to deal with the scarcity of resources for the first time.
 * It doesn't go away completely, just back to the levels they were at before the people of the old world screwed with things. It's still talked about in multiple skits that the world will have to start relying on something else, and that fonists will have a difficult time.
 * However, that is still a very comparatively low amount to what they're used to now. This world that currently runs so much on it is going to be crippled if they don't find an alternative source of energy before the gradual decrease of the fonons stops, and levels hit rock bottom.
 * In Da Capo, Sakura eventually decides the island no longer needs the magic Sakura tree and stops powering it, so it dies. Everyone's special little ability goes away and they return to normal. No big deal for Junichi--all he did was make Japanese sweets appear and occasionally see others' dreams. The girls who relied on their powers, on the other hand, suffer breakdowns and only get better if Junichi is in their route. In particular, Moe, Kotori , and Yoriko.
 * All of the endings of Wind -a breath of heart-, since
 * Magic starts going away during the Time Skip between Mana Khemia and Mana Khemia 2. By the time of the second game, the Floating Continent the school was on has landed, mana are increasingly rare, and the Wizarding School is in the process of making the transition to mundane academy.
 * Gensoukyou, the setting of Touhou was created because this started happening. Gensoukyou manages to retain magic and other fantastic things by being in a barrier that absorbs things that have become "illusions", essentially reversing what's happening to the rest of the world.
 * Ys Book 2,
 * This happens in The Longest Journey universe at least twice (both times in the Backstory). First time was when the original Earth was split into two parallel worlds about 10,000 BC: Stark and Arcadia. From the perspective of Stark, all magic went away, so it had to rely on technology and science completely. From Arcadian perspective, all but the most rudimentary technology stopped working and soon became myth, remembered as "reliable magic". Also, Dreamfall reveals that right after the original's ending, a catastrophic event dubbed "Collapse" shook up Stark, after which most advanced technologies simply stopped working. It has been theorized by the fans that said "technologies" were actually magic that seeped into Stark from Arcadia and was passed off for science for the lack of better term. And the new Guardian simply fixed that by removing all traces of magic from Stark again.
 * Inverted in the Golden Sun games. Alchemy was thought to be too dangerous, so it was sealed away. Only when you learn that the world is dying without alchemy does it become your objective to bring it back to the world.
 * Alluded to in the King's Quest Expanded Universe materials. Magical creatures and persons sensed this was happening, so they cast one last, big spell and opened a parallel universe where they withdrew in order to survive. The world they left was ours. The world they created is the one where the games are set.
 * In the end of Ancient Magic, you destroy the source of magic and cause all magical things to fade from the world.
 * In Castlevania: Lords of Shadow, the more fantastic races and old gods are slowly but surely vanishing from the world. In modern times, one of the only supernatural beings left in the world is
 * Arcanum of Steamworks and Magick Obscura has magic and technology existing in cycles; an era of magic, a period of technology and magic coexisting, an era of technology, another period of coexistence, and so on. The game takes place in a period of coexistence when humans are developing new ways to harness steam engines, causing magic to go into decline.
 * It turns out to be a bit more complex than what it first seems, but even so it fits - the verse's rules for magic/technology interaction means that technology weakens magic in the local area, and that magic is frowned upon by technology-focused civilizations.
 * Happening in the Type Moon verse (Fate/stay night, Tsukihime etc). As modern science develops more and more, magi gradually lose their powers.
 * Given What happens towards the latter part of the Verse's overall narrative (so far, anyway), This could be construed as not the best of courses for humanity (although whether it was avoidable is another matter).
 * In Knights of the Old Republic 2: The Sith Lords, there is a villain whose primary goal is to bring about the death of the Force.
 * In God of War if there is anything magical left alive it is because Kratos has not met and murdered it yet. God of War III explicitly shows why there are no more Greek Myths.
 * Taken to an even Higher level than God of War is Asura's Wrath.

Web Original

 * Xkcd toys with the idea here.
 * In Harry Potter and The Methods of Rationality, this is the theory Harry and Draco came up with as the primary alternate hypothesis to the pureblood credo that muggle blood is weakening magical ability, that ambient magic is slowly fading.

Western Animation

 * Inverted in the cartoon Visionaries: Knights of the Magical Light, which starts with the end of the Age of Science and the start of the Age of Magic. How this happened or why this happened when the planet's three suns aligned went on unexplained due to the cancellation of the series at only one season.
 * In The Secret of Kells,
 * That's not true. He sees her in her human form briefly when he
 * An episode of Challenge of the Go Bots involves Scooter meeting Tenachka, the last real magician on Earth. Scooter spends most of the episode refusing to believe it, and shortly after he's finally convinced, Tenachka ends up making a Heroic Sacrifice and dies, taking the last of Earth's age of magic with him.

Real Life

 * A completely natural nuclear fission reactor operated around 2 billion years ago in what later became Gabon, in Africa. It produced about 100 kW of thermal energy for about 100,000 years until the proportion of fissionable U235 dropped below the level where a criticality could be sustained. From this point on terrestrial nuclear fission would require substantial technological intervention.
 * Geysers are very fragile phenomena and slight changes in their internal structure, water supply or debris intake can completely destroy the effect.
 * The Moon is slowly moving away from the Earth and at some point will no longer be able to cover the disc of the sun to achieve the effect of a total solar eclipse.
 * The orbit of the moon makes this happen occasionally today -- see "annular eclipse"
 * Science Marches On is itself an example of magic going away - from our perception of reality.
 * Some say, what with Mega Corps like Google and Facebook taking over the internet more and more, and the looming threat of Net Neutrality's destruction (With the politicians probably going to kowtow to the Telecom companies doing this), some say the Internet itself may be in the beginning stages of this. But that doesn't mean we won't try our damndest to fight it.
 * Of course, brutal enforcement of Net Neutrality can lead to an opposite but similar effect: Sites with information disliked by the government, as opposed to large corporate internet monopolies, could wind up stifling the internet's freedom of information. This was seen during the Arab Spring, where Mubarak's regime in Egypt was able to outright cut-off internet access nationwide.
 * Related to the above, the progression towards cell phones and tablets could be the end of homebrew programming. All mobile devices seem to use special operating systems that are heavily unfriendly to power users, especially programmers. Hopefully it's just hype and bullshit that laptops and desktops are dying, because mobile devices in their current state are not at all fit to replace them.
 * Ahh, don't worry. They won't ever be replaced. No matter what, I'll spend my money on a proper screen and a full sized keyboard over some dinky gadget.
 * How would software get onto the tablets if nobody had dev machines? Those locked-down mobile devices are still heavily dependent on real computers. It's also quite easy to build a computer out of parts, for someone who knows what they're doing; and parts themselves (admittedly weaker ones) are easy for even a small company to manufacture.
 * There's absolutely no sign of desktops and laptops disappearing entirely. They just no longer absolutely dominate the market for the casual user like they once did.
 * Brutally averted. Not only does the massive demand for the R-Pi show that the desktop really isn't going anywhere, but the project also shows how easy it now is for a tiny company to simply reboot hardware production from scratch.
 * The end of the Mesozoic era. Creatures that huge and majestic may never walk the earth again.