[[quoteright:330:[[Main/TheEndIsNigh http://static.tvtropes.org/pmwiki/pub/images/end-sign_9014.jpg]]]]
[[caption-width-right:330:It's all downhill from here.]]

->''Last one to die -- please turn out the light.''
-->-- '''Graffiti''' on poster in ''Film/ChildrenOfMen''

It's probably sometime between NextSundayAD and TwentyMinutesIntoTheFuture, but it could also be another planet in a distant galaxy in an inverted universe. All that really matters is that the world, or civilization anyway, is ending... any day now. The [[ZombieApocalypse zombie army]] is [[HopelessWar making its way across the continent]]... [[ZombieGait oh so slowly]]. The worldwide economic crash is in its 10-year stretch. The global powers are arming for [[WorldWarIII all-out war]], TheVirus's death toll is rising, and the [[ColonyDrop asteroid]] named [[DepopulationBomb Malthus Prime]] is on its way to end the human race... in exactly X.5 months, Y days and Z hours.

The world you're in probably resembles a CrapsackWorld verging on a ScavengerWorld. The trains are still running, though probably not on time. Everywhere it's ominously hinted that however bad the present is, the future will only get worse, and by the end, or at least by the next sequel, it has, and we get to see what things are like AfterTheEnd. Just Before the End is usually a bleak {{dystopia}} (or alternatively, a facsimile of the modern era) that is coming apart at the seams. Expect to see people DyingLikeAnimals. Graffiti and abandoned cars are usually a given. The DepopulationBomb may have already dropped, leaving a CrapsackWorld or [[AfterTheEnd worse]], but if it hasn't dropped yet, it's on its way... oh yeah, it's coming. [[DisasterScavengers Better get your]] [[RidiculousFutureInflation $99]] [[DisasterScavengers bottled water and your car batteries while they last, folks! Right here, at Joe's Apocalyptic Emporium!]] Alternatively, you might want to invest in a suicide kit: Thank God for [[WeWillHaveEuthanasiaInTheFuture State-Sponsored Euthanasia!]]

As many of the examples show, Just Before The End can either take place just before the impact of a DepopulationBomb or after its impact, provided the effects of said DepopulationBomb are not immediate: for example, if an asteroid crashed ten years ago but was only large enough to destroy a few cities at most, but it brought with it a deadly contagion which has reduced the world's population drastically in those ten years to the point that the contagion is daily news and everyone's expecting to die, then you've also got Just Before The End set in a CrapsackWorld.

Also known in apocalyptic literature as the Dying Earth subgenre. You can expect anyone previously chanting that TheEndIsNigh to gloat about being right... but not for very long.

Compare SignsOfTheEndTimes. NotToBeConfusedWith {{Denouement}}.


[[folder:Anime and Manga]]
* A particular review of the manga ''{{Manga/Berserk}}'' said that "It shows us how the apocalypse starts" and "[[CrapsackWorld what happens during the apocalypse]]."
* In episode 42 of the ''Anime/KirbyRightBackAtYa'' anime. [[spoiler:The Phantom Star Geras is revealed to be coming to Dream Land and that it will bring about the end of the world. On the last day of the world, Everyone flees to King Dedede's castle. In one of the cutest scenes in the anime, King Dedede takes Kirby to the playground that he built. Kirby goes onto one of the swings and Dedede goes onto the other. Then a strong wind starts to blow sending Kirby and King Dedede into the sky.]]
* ''Manga/{{Narutaru}}'' starts about a year before the End. Eventually, [[spoiler:the protagonist and her EvilCounterpart (both of whom are pregnant and about ''13 years old'') are the only ones left. The last page of the series shows their children, a girl and a boy, respectively, playing on the beach where the series started, apparently about 12 years old, in an AdamAndEvePlot]].
* ''Manga/SevenSeeds'' has flashback arcs that tend to take place before the [[ApocalypseHow meteorites hit earth]]. The Ryugu Shelter arc, in fact, has the [[ApocalypticLog diary]] telling the events a few days before and how things went down in the shelter after the impact.
** The flashback Hail Of Corn arc tells the raising of Team Summer A and looks to be finished shortly before the impact, too. The final chapter of said arc reveals [[spoiler: that Team Summer A was put to sleep around the time Hana, a member of Team Spring, was born. She was eventually cryogenically frozen when she was the same age as the Team Summer A candidates. The entire arc ended ''17 years'' before the impact]].
* ''Anime/NeonGenesisEvangelion'' is set 15 years after a cataclysm wiped out half of Earth's human population and caused massive ecological damage to the planet. World society at this point has been steadily recovering and has become somewhat stable, but little do people know that an AncientConspiracy is working towards causing another, even more destructive cataclysm.
* ''Anime/NowAndThenHereAndThere'' manages to be set both Just Before the End and AfterTheEnd. Human civilization has long collapsed, and now [[spoiler:Earth itself is in its final death throes. Depending on how Lala Ru is interpreted, the series also contains the point of TheEnd as well.]]
* Volume 2 of ''Manga/{{Phoenix}}'' starts this way. There are plans underway to restore humanity, but nobody seems to really believe in the future.
* ''Manga/{{Saikano}}'' begins with everything apparently peaceful, although the weather has gotten bizarre. [[spoiler:As Chise reveals at the end, the world was actually dying from the start. She performs a MercyKill on all living things to spare them the pain of dying slowly with the planet.]]
** The manga is more hopeful, in that [[spoiler:the by-then transhuman Chise survives, as does her still-human boyfriend. They set off to explore the universe, hopefully to find someone they can talk to.]]
* ''Anime/WolfsRain'' takes place in a decaying world-turned-wasteland, dotted with AdventureTowns.
* ''Manga/YokohamaKaidashiKikou'' (''Record of a Yokohama Shopping Trip''), except that it paints it as a [[CosyCatastrophe Cosy Just Before The Catastrophe]] that you might actually ''want'' to live in. The manga is about an android named Alpha taking care of a store in the countryside, who occasionally needs to go traveling around. Humans are starting to depopulate due to unexplained reasons; however, the "children" of humanity, the robots, are so human-like it's clear they'll carry on humanity's legacy and humans themselves seem to be pretty cool with this fate, the way an elderly person has accepted their inevitable death (even if they don't ''invite'' it).
* ''LightNovel/HumanityHasDeclined''. Humans are dying out for reasons that are never really explained.
* The events of ''Manga/AttackOnTitan'' begin when the human population has been reduced to about 1.5 million due to the titular monsters. [[spoiler: After the TimeSkip shortly afterwards, [[FromBadToWorse that number is reduced by a fifth]].]]
* The final saga of ''Anime/DragonBallZ'' focuses on Majin Buu, a monster that makes short work of killing 80% of the population. In a focus on background characters unusual for the series, we see those left either cowering and clinging to life or going on TheLastDance. [[spoiler: It was the latter that caused Buu to have a HeelFaceDoorSlam and kill [[KillEmAll the last 20%]] within the span of ''a few minutes''.]]
* Volume 15 of ''Manhwa/CielTheLastAutumnStory'' reveals that [[spoiler: the Sun has already died, and only the effort of the godlike Arc Dragons preserves mankind. And they don't intend to stick around forever.]]
* ''LightNovel/SundayWithoutGod'' takes place in world supposedly abandoned by God, where human beings can no longer procreate and can no longer truly die unless buried by gravekeepers. So, Ai and her companions pretty much inhabit a dying world - with no new humans being born, the world's population has shrunk considerably, and even the most well-preserved of the deceased will eventually rot away to almost nothing, leaving them no choice but to be buried by gravekeepers, and once all human beings are dead and buried there'll no longer be a need for gravekeepers.

[[folder:Comic Books]]
* ''Comicbook/{{Watchmen}}'' is set in a world that's teetering on the edge of a nuclear holocaust.
** But then manages to avert ''and subvert'' it, as [[spoiler: the holocaust is prevented, for now, but whether Ozymandias' plot works or not]] is left open to reader interpretation. Doctor Manhattan puts it best:
-->'''Dr. Manhattan:''' In the end? Nothing ends, Adrian. Nothing ever ends.
* ''ComicBook/YTheLastMan'' has this atmosphere, for all that it centers on the titular [[LastOfHisKind last hope for natural reproduction]]. After all, he's one slim hope given that every male mammal in the world had died. Even if you knew he lived, it would be reasonable to assume this was the last generation of humanity.
* Creator/NeilGaiman's ''Signal to Noise'' features the NestedStory of a group of villagers gathering on a hillside on New Year's Eve, 999 AD, convinced that the world is about to end.
* ComicBook/TheBooksOfMagic series includes a scene where the main character goes to the very last minutes of time.
-->'''[[ComicBook/TheSandman Death]]''': I'm sorry. I can't let either of you stay here and watch. You see, this really ''is'' it. The universe is over. It's my job to put it all in order, now, and lock the place behind me as I leave.
* ComicBook/TransformersMoreThanMeetsTheEye: The Shadowplay arc was a flashback to pre-war cybertron, a CrapsaccharineWorld, where one's alt-mode reflects their place in society [[FantasticRacism Functionalism]] runs rampant and the working class has turned into a boiling pot of issues. The arc takes place on the cusp of the uprising, where the Cybertronians would engage in a war their species became infamous for. While society moves along normally, news reports show so many of the faults, rampant shootings, government mutilations, religious attacks, thugs able to assault or even kill the homeless, etc. The protagonists encounter casual murders, and government conspiracies that involve tampering with civilian minds to stop them from revolting. Even with Orion and his friends saving hundreds from a bomb, society falls apart in the Megatron Origin series, where the workers turn gladiators unite, sack Kaon, and plunge the world into war.
* ''ComicBook/ZombiesChristmasCarol'' reimagines ''Literature/AChristmasCarol'' during a zombie apocalypse HatePlague, the source of which is Ebenezer Scrooge, and a plague of zombies inexorably sweeps through London and the world. If Scrooge doesn't mend his ways and start helping people, humanity is irrevocably doomed.

[[folder:Fan Fic]]
* ''FanFic/TheConversionBureauTheOtherSideOfTheSpectrum'' takes place at this time. ApocalypseAnarchy reigns, the [[AdvancingWallOfDoom Barrier]] has rendered more than a third of the world uninhabitable to humanity, the remaining landmasses are overpopulated with starving refugees, at least two billion humans are either dead or [[BalefulPolymorph ponified]], and the war has been going on for so long and has been so brutally [[HopelessWar hopeless]] that the world's remaining governments have resigned themselves to a suicidal TakingYouWithMe plan that involves [[spoiler:rigging the Yellowstone Caldera with nukes, resulting in an EarthShatteringKaboom, just to spite the Solar Empire]]. That is until the leader of the human resistance stumbles upon [[AlternateUniverse another Equestria]] that didn't fall to the same corruption as its counterpart and is willing to do everything to help humanity survive.
* ''FanFic/SonicXDarkChaos'' takes place in a Crapsack Galaxy torn to pieces by thirty years of civil war and the Angels and Demon forces fighting over the remnants, with an EldritchAbomination and the Shroud poised to devour everything else. Sonic and friends end up just barely managing to avert the end [[spoiler: except in Endings A and B, [[DownerEnding where they fail]]]].
* ''Fanfic/ChildrenOfAnElderGod'': In the final chapters, the five pilots are anxious and worried because they can feel the end of everything is coming.
* In ''Fanfic/TheSecondTry'', the pre-time-travel chapters happen AfterTheEnd, and the post-time-travel episodes happen a few months before the end of the world. When they go back to the past, Shinji and Asuka are well aware of the incoming Apocalypse. At the beginning, Asuka is too depressed to make anything about it, but Shinji encourages her to try to avert it.
* ''Fanfic/OnceMoreWithFeeling'':
** Shinji is aware that the world will end within half year unless he does something.
** SEELE and Gendo are not concerned with some Government agency finding out something in the long term or paying NERV’s debt because if they fulfill their plans, they’ll never have to answer for anything since humanity has no future.
* A Bizzare ''WesternAnimation/KingOfTheHill'' fanfic [[https://www.fanfiction.net/s/10712033/1/Furry-Outbreak Furry Outbreak]] take place minutes before a unnamed [[ThePlague Virus]] that [[ViralTransformation transforms people]] into [[PettingZooPeople titular Furries]]. And even cause [[HumansAreInsane humanity only least in Texas goes insane with societal collapse]].

* ''Film/ChildrenOfMen'': After nearly twenty years of depopulation due to infertility[[note]]plus a large number of chaotic wars, terrorist attacks, natural disasters and civil unrest[[/note]], human civilization has virtually crumbled to dust. It's all the protagonist can do to stay properly drunk through the last few years of Britain's existence.
* The original ''Film/MadMax'', although the later ones in the series were fully post-apocalyptic. In ''Mad Max'', Max was a police officer in a collapsing dystopian Australia, after a nuclear war and environmental disasters had just started to take effect.
* ''Film/{{Brazil}}'' may or may not count as this.
* Another Creator/TerryGilliam movie, ''Film/TwelveMonkeys,'' definitely counts as this.
* ''Film/CountdownToLookingGlass,'' which is a SpaceColdWar concluding in [[AtomicHate nuclear war]] from the perspective of newscasters.
* ''Film/BladeRunner'' (less clear in the book that humans are evacuating to the off-world colonies to escape the radioactive dust in Earth's atmosphere).
* ''Franchise/PlanetOfTheApes'':
** ''Film/BeneathThePlanetOfTheApes'': Let's just say it ends with a [[EarthShatteringKaboom bang]].
** ''Film/ConquestOfThePlanetOfTheApes'': Ends with the revolution of Ape against Man.
* ''Film/LivingDeadSeries'':
** ''Film/DawnOfTheDead1978'' was set during the outbreak of the zombies and by the end of the movie the world is overrun, as far as we know.
** ''Film/DayOfTheDead1985'' may or may not be set Just Before The End or AfterTheEnd
** ''Film/DiaryOfTheDead'' too, as it takes place on the first night and we know what happens after that.
* ''Film/TheseFinalHours'' has a [[ApocalypseHow/Class6 wave of fire from an impacted asteroid]] travelling around the world, with the main characters in Perth, Australia, due to be killed in approximately twelve hours. A radio DJ narrates as they loses contact with cities around the world.
* ''Film/WhenWorldsCollide'', except shocking inattention is paid to the fact that ''everyone on Earth but the named cast dies'' in the final act.
* The Nicolas Cage film ''Film/{{Knowing}}'' is about a list of numbers and dates predicting disasters. Only 3 are left when the protagonist finds it, the last one predicting a solar flare that will kill everyone else alive in the planet.
* The protagonist in TheFilmOfTheBook of ''Film/TheTimeMachine2002'' stops by at a time where [[ColonyDrop the Moon]] is about to fall. He then fast forwards to AfterTheEnd.
* In The Paul Newman film ''Film/{{Quintet}}'', a new ice age has covered the earth. It is established that Earth will continue get colder till man cannot survive, so there is no real future. Some people have decided to pass the time playing Quintet, a kind of five-man Russian roulette game.
* ''Film/SeekingAFriendForTheEndOfTheWorld'' takes place in America after it has been announced that an asteroid is going to end the world in 3 weeks.
* ''Film/LastNight'', an obscure 1998 film, subverts the usual trends of this trope. Some kind of cosmic, unavoidable disaster (it's never outright stated what that disaster is, but it seems to have something to do with the Sun) is going to occur at precisely midnight. The general public has known this for a few months, so the last few hours (which the film covers) are a mix: some people are busy rioting or partying, but others are simply enjoying a final dinner with friends and family or praying.
* ''Film/{{Interstellar}}'' has a mysterious blight killing off the world's plants. The loss of oxygen-producing plants, combined with the nitrogen produced by the blight, will eventually cause the atmosphere's oxygen content to fall below the level necessary to sustain life. The plot of the film revolves around finding humanity a new home before the oxygen runs out.
* ''Film/TheDayAfter''; which at its end shows the horrors of life the titular day AfterTheEnd.
* ''Film/{{Threads}}'' went further to 10 years after the end.
* The SpeculativeDocumentary ''Film/{{Supervolcano}}'' starts out AfterTheEnd (the eruption of the Yellowstone caldera), then flashes back to five years before the end, and eventually catches up to the present story.
* ''ComicBook/WhenTheWindBlows'' is about a naive elderly couple preparing for, then attempting to survive a nuclear attack.
* ''Film/DrStrangelove'' takes place at the climax of a LensmanArmsRace and ends with the DoomsdayDevice destroying the world.
* ''Film/TwoThousandTwelve'' chronicles a family racing against the clock to survive the imminent MayanDoomsday.
* The parts of ''Film/WarCraft2016'' concerning the world of Draenor have this feel. There are barely enough draenei to send a thousand warriors through the portal - by contrast, it only took few days of collecting enough Azeroth humans to bring the far bigger chunk of the Horde - the world is a barren wasteland, the entire Horde fits into one (admittedly large) valley, and at some point, when already in Azeroth, Orgrim and Durotan notice snow in the distance and wonder when was the last time they've seen it.
* ''Film/IndependenceDay'' starts off on an ordinary July morning in America. Then suddenly, thirty-six spaceships appear over major cities throughout the world.

* ''Literature/HeartOfIce'' is set in a world where an [[AIIsACrapshoot insane weather control AI]] has turned the Sahara into an icy wasteland and is otherwise wrecking the global ecosystem (except when she's terraforming new ecosystems for her own creations). While there has been no specific [[TheEndOfTheWorldAsWeKnowIt world-ending event]], almost all of the world's governments (except for the United States) above the city-state level have collapsed, and humanity is not expected to last another century. [[spoiler: This is part of what tempts people to try to destroy the world and make a better one with the power of the Heart of Volent.]]

* ''Literature/ChildhoodsEnd'' by Creator/ArthurCClarke
* ''Literature/{{Fahrenheit 451}}'' has [[spoiler:The Fall take place at the end of the book, with the beginning of Nuclear War between superpowers.]]
* ''Literature/ACanticleForLeibowitz'' is an interesting case: it begins AfterTheEnd, humanity spends a few centuries rebuilding, and by the end of the book [[spoiler:it's just before the ''second'' end]].
* ''Literature/TheHitchhikersGuideToTheGalaxy'' begins with the main character being saved by his best friend moments before the Earth is destroyed unexpectedly by a swarm of alien bureaucrats.
* In ''Literature/WieldingARedSword'', the Incarnation of War deliberately brings the world to this state in an act of brinkmanship against Satan.
* In the end of ''Literature/BlackLegion'', Khayon tells the Inquisitor interrogating him that the Time of Ending, which they are living through, is just that - the Golden Throne is failing, the Imperium is losing ships to flickers in the Astronomicon and [[spoiler:Abaddon is about to begin the Crimson Path, which would lead to both Throne and Astronomicon dying, plunging galaxy in Chaos.]]
* Peter Watts' ''Literature/RiftersTrilogy'' reads basically like the trope description. The West Coast (well, the part that isn't a four-thousand-mile-long, one-mile-deep refugee camp) is run by [[CorruptCorporateExecutive the power company]]. The East Coast is an enourmous urban sprawl run by street gangs. The bit in between is run by [[ManEatingPlant Kudzu-4.]] The currency is [[RidiculousFutureInflation the Quebuck]], a new drug-resistant disease breaks out every 24 hours on average, and the vestigal remains of the North American government has been reduced to sporadically [[KillItWithFire napalming]] the whole mess just to keep things down. This is the status quo. [[TheEndOfTheWorldAsWeKnowIt It gets worse]].
* Literature/TheElricSaga begins just before the end, continues through the end itself, and concludes with the beginning of a new world.
* First two books of ''Literature/TheStormlightArchive'' take place just before the next Desolation, the coming of the Voidbringers, which usually signifies the end of human civilization on Roshar. The main characters' efforts focus on averting it. [[spoiler:By the end of ''Literature/WordsOfRadiance'', the Desolation begins, but it's unsure whether it succeeds.]]
* ''Literature/RainbowsEnd'' by Vernor Vinge.
* ''Literature/AtlasShrugged''. The trains are literally running on time at the beginning, but by the end are not running at all.
* ''Literature/{{Millennium}}'' by Creator/JohnVarley. The plot involves [[spoiler:time travellers from a future where humanity is dying out stealing replacements from the present]]. Towards the end [[spoiler:, as things get worse, the surviving humans get homicidal and suicidal]].
* ''Literature/TheWarOfTheWorlds'' dips into this before the DeusExMachina pulls us back from it; it's not for nothing that the second half of the book is called "The Earth Under the Martians".
* Creator/JackVance's ''Literature/DyingEarth'' series. The sun is big, red, and going out any minute now.
* Creator/GeneWolfe's ''[[Literature/BookOfTheNewSun New Sun]]'' trilogy of novels take place a ''looong'' way in the future (the techno-fantasy "post-historical" era where Stone-Age Man, the Modern Era, and the Galaxy-Spanning Imperial Era are all lumped together as the "Age of Myth"). But it's Just Before The End - the Old Sun is dying, reduced to a naked-eye object at high noon, and the world will either enter the Ragnarok of Eternal Winter or become the Garden-World of Ushas when the New Sun is ignited. The book follows the life of Severian, the poor bastard who's the one who actually gets to decide which future will dominate.
* ''Franchise/TheDarkTower'' series by Stephen King is set in a reality where the worlds are winding down. Civilization is crashing, people are getting weird diseases, and [[spoiler: reality itself threatens to crash together as the titular Dark Tower verges on collapse. Even once-immortal creatures--the Guardians--are all either long dead or on the verge of a madness-tinged death.]]
* ''The Last Days'', the sequel to ''Peeps'' by Scott Westerfeld subverts this. Peeps, or parasite positives, or vampires, are biting everyone. People are afraid to leave their house because there might be feral cats or worse outside. The Internet and phones are failing. Basically, it's an apocalyptic world. But, it is revealed that there is a worm under the earth that comes out every thousand years. [[spoiler: Only [[ThePowerOfRock music]] from parasite positive singers can bring the worms to the surface so they can be killed. The band involving the main characters, The Last Days, saves the day because their lead singer, Minerva, is a peep.]] It is never revealed how long it took for the world to be saved, though.
* Olaf Stapleton's 1930 ''Last and First Men'. With its cyclic view of history and two-billion-year timespan, this happens all the time. We get details of the [[ScienceMarchesOn insoluble coal crisis]] that first destroyed civilization, and of [[CrystalSpiresAndTogas the eighteenth human race]] as they try to seed other solar systems and wait for the sun to explode, having chosen to appreciate this tragedy as an appropriate part of the beauty of the universe. And then there's the afterword, where they're blowing each other up and eating their dead while the system is being scorched clean. Seeding work, such as it is, is done to provide any sort of purpose, and the consensus is that the species should have died in peace before it started to putrefy. Still, in their lucid moments, it is very good to have been Man.
* The second to last segment of ''[[Creator/IsaacAsimov The Last Question]]'' takes place just before the heat death of the universe. The last segment is AfterTheEnd. [[spoiler: It gets recreated, though.]]
** The Last Question is "How do you reverse entropy?" The answer: [[spoiler:"LET THERE BE LIGHT!" And there was light-]]
* ''Literature/LifeAsWeKnewIt'' by Susan Pfeffer. In this book, an asteroid has hit the moon, causing mass climate change. Infrastructure is failing, and there is a horrible flu going around.
* ''Literature/OnTheBeach'' by Nevil Shute. Set in a world where a nuclear war has contaminated the entire northern hemisphere with radioactive fallout slowly being spread around the world by stratospheric winds, the book narrates the Australian population's attempts to live out their last days in joy. [[spoiler: The book ends with most Australians taking their [[WeWillHaveEuthanasiaInTheFuture suicide-pills]] once radiation levels reach lethal levels]].
* The ''Literature/ArciaChronicles'' are not set before TheEndOfTheWorldAsWeKnowIt ''per se'' but rather before the FinalBattle. However, [[AnyoneCanDie in that series]], said battle can very well turn into the apocalypse. Although NormalPeople are still not aware of their impending doom, the knowledgeable characters all comment that their chances of victory are very slim. At one point, some characters visit another world that has lost its FinalBattle and was devastated. They actually get to see its end in a vision. Let's just say that the local PhysicalGod of War was nearly driven insane by said vision.
** This motif is even more omnipresent in the author's next project, ''Literature/ReflectionsOfEterna'', where the end of the world is already set in stone, and there's no escape, since it's already been postponed once. The bad news is that ''nobody'' (except a couple of aliens who are forbidden to communicate with anyone) on that world knows about the impending catastrophe and everyone happily contributes to its end. That ''Eterna'' is LowFantasy, as opposed to ''Arcia'''s HighFantasy, probably contributes.
* The ''Enemies Foreign and Domestic'' series by Matt Bracken.
* The Creator/RobertAHeinlein short story "Year of the Jackpot" takes place in 1952 when a confluence of the cycles of human civilization are causing humanity to go crazy. There is horrible weather, a nuclear war, and just when things are looking up, the sun goes nova.
* ''Children Of Men'' by PD James ([[Film/ChildrenOfMen later filmed]]) starts with the world where there hasn't been a birth for eighteen years, and everyone knows this is the end. It's mentioned that examples of human culture and knowledge are being sealed in vaults to preserve them, [[FlingALightIntoTheFuture if there's ever anything else to find them]].
* ''Literature/TheWordAndTheVoid'' trilogy by Terry Brooks takes place Just Before The End, about 50 years before the impending fall of civilization; the follow-up, ''Literature/TheGenesisOfShannara'', takes place during TheEndOfTheWorldAsWeKnowIt. His ''Literature/{{Shannara}}'' series takes place AfterTheEnd, in a new habitable world.
* The looming specter of [[ZombieApocalypse The Others]] in ''Literature/ASongOfIceAndFire'' seems to indicate that the entire plot so far amounts to mere squabbles in the face of a truly cataclysmic future TheMagicComesBack scenario. “[[ArcWords Winter is coming]]” indeed.
* ''Literature/{{Sunshine}}'' has the protagonist facing a very bleak future for humanity in the face of the oncoming vampire and other paranormal creatures' onslaught.
* ''Reckless Sleep'' is set in a future where a nuclear detonation on the floor of the ocean has torn the tectonic plates to pieces. By the start of the novel, the west coast of the United States is underwater with the east not far behind. The people that are left struggle through a miserable existence of constant earthquakes and volcanic ash clouds, seeking escape from the tiny living spaces, reprocessed food and rampant crime with the use of drugs and VR simulators. The whole of society has crossed the DespairEventHorizon because the world is eventually doomed to total collapse, and two missions to colonise a distant planet have ended in disaster.
* ''Literature/{{Spin}}'' starts with Earth becoming covered by a bubble that [[TheStarsAreGoingOut blocks all light]], except for the Sun. It's later discovered that time inside the bubble passes much slower than outside. For [[YearOutsideHourInside every second inside, roughly 3 years pass outside]]. The people quickly realize that this means that, in 50 years' time, billions of years will pass in the universe, and the Sun will expand to consume the Earth. Amazingly, the fact that nobody can really see the Sun expand (except for NASA, who keep sending probes outside the bubble) means that most people just get on with their lives, although many turn to religion to find comfort.
* The 2012 novel ''Literature/TheLastPoliceman'' takes place TwentyMinutesIntoTheFuture, with the title protagonist investigating a suicide that he thinks is a murder ... only no one really cares because an asteroid will hit the earth in six months, and everybody will be dead.
* In the short story ''Last Contact'' by Creator/StephenBaxter the Big Rip is coming to destroy the universe, we know when the last particle of matter will be destroyed by the trillionth second and we can't do anything about it.
* ''Literature/PastwatchTheRedemptionOfChristopherColumbus'' by Creator/OrsonScottCard originally portrays a world TwentyMinutesIntoTheFuture, where humanity is recovering from an ecological catastrophe brought on by pollution and wars. The rainforest is being restored, farms are producing food, and the atmosphere of hope is in the air. Later, it's revealed that it's all propaganda. The efforts are failing, the rainforest is still dying off, and all available farmland is being used but the governments are already dipping into the reserves. To top it off, global cooling has been detected, which will result in a new Ice Age. Humans will survive, and nature will recover, but attempts to rebuild civilization will fail, as all easily-reachable resources necessary for progress have already been mined out. Long story short, humanity is destined to be thrown back to the Stone Age and stay there. Facing these prospects, the protagonists decide that TimeTravel may be the only solution. However, the insist on world-wide referendum in an aversion of TheTimeTravellersDilemma (scientists have determined that as soon as the time travelers go into the past, the current timeline will be replaced with everyone in it never having existed).
** Worse, with their past-viewing machine, they determine that theirs is not the original timeline. Apparently, an ever worse history led to the same bleak future and required temporal intervention, resulting in the current state of the world. According to the epilogue, this change appears to have succeeded in averting the disaster.
* ''Literature/TheLaundryFiles'' series is rapidly approaching Case Nightmare Green, the point at which a great many {{Eldritch Abomination}}s will be dropping by to eat everyone's brains.
* ''Literature/{{Nightfall}}'' by Creator/IsaacAsimov is a rare non-dystopian example. The world of Kalgash (Lagash in the original short story) is a pretty decent place to live, with a technology level about equal to Mid 20th Century America. The main difference between it and Earth is that there are 6 suns in the sky, and darkness is all but unknown on the world. Then an ApocalypseCult gains power, claiming that "nightfall" is coming, and it will signal TheEndOfTheWorldAsWeKnowIt. Later, astronomers from a major University confirm this, citing the discovery of a previously unknown planet which will eclipse the main sun at a time when it is the only one visible from that hemisphere. The short story ends with night falling for the first time in over 2000 years, and people going mad all over the planet. The novel continues past that point, going a few months into AfterTheEnd.
* The first section of ''Literature/TheStand'' (which is long enough to be a book in itself, at least in the [[LimitedSpecialCollectorsUltimateEdition uncut version]]) describes the spread of the devastating Captain Trips virus, and the U.S. government's ultimately futile attempt to contain it. When the book starts, the world is doing fine. By the end of the first section, 99.4% of people in the United States (and probably the world) have been wiped out.
* In ''Literature/TheTrueMeaningOfSmekday'', the earth has been [[AlienInvasion invaded]] by aliens called the Boov who have put all humans on reservations. Then the BiggerBad, the Gorg arrive and are even more ruthless than the Boov. The story is about Gratuity Tucci, who is trying to find her mother during this. [[spoiler: The trope ends up being averted, since the Gorg takeover is thwarted by the end of the book.]]
* Jane Gaskell's ''Literature/{{Atlan}}'' series takes place in the final days of Atlantis, though this is not made explicit until the last book, ''Some Summer Lands''. Thus, the world is simultaneously an elder Earth ''and'' a dying Earth.
* In the ''Literature/ForYourSafety'' series, the story ''Mimsey's Tale'' is from the perspective of a morph [[RobotBuddy companion robot]], watching the child it is assigned to grow up, as the Earth teeters towards total environmental breakdown.
* Creator/DrSeuss's ''Literature/TheButterBattleBook'' opens with an old man taking his grandson down to the wall between the Yooks and Zooks, two factions in a SpaceColdWar. As the grandfather (a Yook) recounts the conflict, we ultimately discover that all the other Yooks have been sent into bomb shelters in preparation for the detonation of the "[[FantasticNuke Bitsy Big-Boy Boomeroo]]," which Grandpa is going to drop on the Zooks. At the end of the book, Grandpa discovers that Van Itch, his Zook counterpart, has also been sent to the wall with a Bitsy Big-Boy Boomeroo of his own. The story culminates with a BolivianArmyEnding as Grandpa and Van Itch face each other in a MexicanStandoff atop the wall, afraid to drop the bomb and with [[NoEnding no idea who will make the first move]].
* The ''Literature/YoungWizards'' side-novella ''Lifeboats'' takes place during this period on the planet Tevaral, about to be destroyed by the upcoming violent disintegration of its moon. The plot revolves around the wizards' attempt to evacuate the planet before that happens.
* The last section of ''Literature/TheBoneClocks'' is set in 2045 and shows Ireland (along with most of the rest of the world) slipping into a new dark age: people can still remember a functional civilization in the recent past, and some technologies and institutions still function, but they're breaking down, and things are almost certainly going to get a lot worse.
* ''Literature/TheLastBattle'', the final installment of Creator/CSLewis's ''Literature/TheChroniclesOfNarnia'', depicts Narnia in its final days before an invasion by [[TheEmpire Calormen]]. The book culminates as the Calormenes decimate Narnia and summon their GodOfEvil, at which point [[CrystalDragonJesus Aslan]] proceeds to [[ApocalypseWow destroy the fallen world in a spectacular manner]] and guide the righteous to heaven after his final judgment.

[[folder:Live Action TV]]
* A few episodes of ''Series/{{Sliders}}'' dealt with alternate Earths that were about to end. The Sliders sometimes found ways to save them, sometimes not.
* From ''Series/TheTwilightZone'', "The Midnight Sun" is the story of a young woman and her elderly neighbor trying to survive in their apartment building as the Earth slowly drifts closer to the Sun, causing extreme climate change. She has to deal with day to day life in the increasingly deserted city, extreme thirst and heat, and crazed, murderous people just desperate to survive. [[spoiler:It's actually [[AllJustADream just a fever-dream]]. In the real world, the Earth is slowly drifting ''away'' from the Sun, causing it grow colder and darker...]]
** Which is actually better, because it's a lot easier to keep a shelter warm in a cold environment than vice versa. At least a few thousand people could survive on an Earth with no solar energy at all from geothermal and nuclear power.
** The episode "Third from the Sun" takes place just before a nuclear war. A scientist and a test pilot steal an experimental spacecraft an use it to get themselves and their families off the doomed planet. [[spoiler:The episode ends with them escaping and heading to their destination, a planet called Earth.]]
* The first couple scenes of the ''Series/{{Battlestar Galactica|2003}}'' Miniseries and the TV Movie ''The Plan.''
* ''Series/{{Caprica}}'' counts as well, although it's 58 years before the Fall and the characters have absolutely no idea of what's about to happen to them.
* For most of the fifth season ''Series/{{Supernatural}}'' appears to be doing this: Lucifer is unrolling his apocalypse across the globe, at a very slow pace, the humans are starting to notice something's going on, and Sam and Dean have no foreseeable way to prevent the end of the world. Then they do, of course.
* ''Series/DoctorWho'':
** The 2007 three-parter beginning with "Utopia" has this: in "Utopia", humans are the last alive in a dying universe, and things are going to Hell pretty quickly. Their only hope is a rocket to a place called Utopia. [[spoiler: They wind up adrift in space.]] In the next episode, it's revealed that [[spoiler: the Master's "little friends" the Toclafane are actually sadistic and evolved, or perhaps devolved, humans. "The skies are made of diamonds" indeed.]]
** "[[Recap/DoctorWhoS35E12HellBent Hell Bent]]" has this happen twice. The first time it happens is when it's revealed that Gallifrey has been moved to the end of the universe, "give or take a star system or two", for its own protection. The second time happens when the Twelfth Doctor and Clara travel to the extreme end of the universe, that being literally ''five minutes'' before the last remnants of the universe give away.
* Now officially averted BadFuture from ''Series/{{Fringe}}'' episode "The Day We Died". Parallel universe is destroyed and now primary world is slowly consumed by fringe events. Special opening had "Hope" and "Water" in its usual MadScience topics list.
* In the ''Series/{{Dollhouse}}'' episode "Epitaph One" we're firmly in AfterTheEnd territory, but through a flashback we get to see what it was like ''just before'' it all went to Hell. We have a scene up in [=DeWitt=]'s office, the roar of panicked mobs and sirens in the background, while Dominique relates how random imprints are spreading like wild-fire, possibly as a form of [[DrivenToSuicide suicide]].
** Then in season 2 the viewer is treated to seeing just how it all led up to it...
* ''[[Series/YouMeAndTheApocalypse You, Me And The Apocalypse]]'' is about the last 34 days before an 8-mile wide comet collides with Earth.

* This is one of many things that interest Magazine/ForteanTimes. FT has catalogued and discussed many, many, examples of Doomsday Cults, end-of-the-world panics, and eschatology in general.

[[folder:Mythology and Religion]]
* All religions have their eschatology - that is, their doctrine of the End Times as revealed to them by their God and Prophets. Examples include:
* Hinduism: the Kali Yuga, the end of Brahman's 64,000 year world-cycle, the destruction of the old (ie, our world) and the beginning of the new.
** Nordic religion: the Ragnarok, the end of the current world and rebirth of the new.
** The three Religions of the Book (Islam, Christianity and Judaism) share the common heritage of belief in the coming of a Messiah just before the old world collapses into fire and ruin, who will lead a remnant of the Faithful into a Golden Age of Heaven on Earth.
* The UrExample of "Just Before The End" thinking is the commonly accepted last book of the Bible, the '''Revelation of the Apocalypse Unto St John of Patmos'''.

* Musical example: Music/DavidBowie, "[[http://lyrics.wikia.com/David_Bowie:Five_Years Five Years]]" (from ''Music/TheRiseAndFallOfZiggyStardustAndTheSpidersFromMars'').
* "Here Comes the Flood" by Music/DivineComedy.
* Most of Music/JethroTull's album, "Stormwatch". In particular, the songs "Dark Ages" & "Something's On The Move".
* "Tomorrow Never Comes" by Music/VNVNation.
* "[[Creator/HPLovecraft Lovecraft]] in Brooklyn" by Music/TheMountainGoats, in which the world is being slowly overrun by {{Eldritch Abomination}}s but civilization is still halfway functional, and the narrator is waiting for the day when they strike their final blow.
* Music/WeirdAlYankovic's "Christmas At Ground Zero" is about the final moments of humanity before nuclear armaggedon, sung [[LyricalDissonance as a cheery christmas song.]]
* The album "Year Zero" by Music/NineInchNails, particularly the final song Zero Sum.
* In "Just The Flu" by Music/{{NOFX}} the human race is about to become extinct in two weeks time.
* "London Calling" by Music/TheClash
* "The Last Mall", a gleefully sarcastic song by Music/Steely Dan.

[[folder:Tabletop Games]]
* The ''TabletopGame/OldWorldOfDarkness'' was taking place just before ''five'' or so ends, depending on which specific game you were playing.
* ''TabletopGame/{{Exalted}}'' and ''TabletopGame/Warhammer40000'' are also prime examples.
** Albeit with most races having tiny light at the end of the tunnel, and many of them are aware of this slim chance. The Emperor's possible revival for mankind, the slumbering Eldar god's awakening, the full force of the Tyranid hive fleets. Of course, any one of those happening means all the other races get [[AfterTheEnd After The Ended]].
** ''Exalted'' has at least ''four'' possible Ends coming up: the Yozis breaking out of hell (which would resemble a cross between a nuclear war and a planet-sized child jumping on human ants), Oblivion swallowing everything, the world being unmade into the Wyld, or - quite possibly worst of all - the Solars regaining their ancient power and hubris. Over in Autochthonia, at the current pace it's only a matter of time before the Great Maker dies and consigns most of his people to horrible death.
* ''TabletopGame/MagicTheGathering'''s ''Fallen Empires'' expansion, which takes place after the Brothers' War but before the Ice Age.
** For M:TG's many planes (but particularly Dominaria) this is a horrific, cyclic trope.
*** To the point where the Time Rift Crisis (the events of ''Time Spiral'' block) was an apocalypse caused by [[LampshadeHanging an overabundance of apocalypses.]]
** New Phyrexia was originally slated to be the first set in its block, showing AfterTheEnd of the Phyrexian invasion of Mirrodin. Instead, the devs decided to shift it to the last set of the block, allowing players to live through the struggle (going as far as to make another, fake set titled "Mirrodin Pure" to psych people out).
* The ''Dying Earth'' RPG by Pelgrane Press, based on the Jack Vance novels.
* ''TabletopGame/CallOfCthulhu'' supplement ''Fearful Passages'', adventure "Slow Boat". The far future setting where the {{PC}}s end up, complete with a large orange dying sun and a population made up of necromancers and zombies.
* ''TabletopGame/DungeonsAndDragons'', Mayfair Games' Role Aids supplement ''Lizardmen''. When the Meraska Empire fell some of its lizardmen escaped into an alternate dimension which entirely consists of a vast plain dotted with the ruins of ancient cities under a a dim sun dying of old age.
** An alternate 3rd edition Krynn has a universe where Raistlin wins, and players pass through a world which is gradually being destroyed by magically-enhanced storms.

[[folder:Video Games]]
* ''VideoGame/TheLastOfUs'' starts out just hours before the outbreak of the Cordyceps fungus leads to the fall of civilization.
* While all the games in the ''VideoGame/{{Fallout}}'' series take place ''After'' The End, there are a few glimpses of what it must have been like Just Before. In particular, the Anchorage simulation in ''VideoGame/{{Fallout 3}}'' and Mr. House of ''VideoGame/FalloutNewVegas'' (and Big MT in the DLC expansion) are relics from this time.
** The prologue and opening scene of ''Videogame/{{Fallout 4}}'' takes place during the morning of October 23, 2077. The morning the bombs fell.
* ''VideoGame/{{NieR}}'' is set in a world that is slowly dying despite everyone's best efforts to hang on. [[spoiler:Then at the end of the game, the main character inadvertently destroys the last thread of hope]].
* The ''VideoGame/DeusEx'' series take place before, during, and after a cataclysm that all but wipes out the human race.
** [[WordOfGod Warren Spector]] describes the original ''VideoGame/DeusEx'' as being set in a CrapsackWorld, "Five minutes before the fall of human civilization."
** The sequel, ''VideoGame/DeusExInvisibleWar'', is in turn set in a ScavengerWorld, "five minutes before [[ApocalypseNot humanity's rebirth]]."
** The prequel, ''VideoGame/DeusExHumanRevolution'', is set in a relative "golden age" five minutes before the gold peels off.
--->'''[[spoiler:Eliza Cassan]]''': It's not the end of the world, but you can see it from here.
** ''VideoGame/DeusExMankindDivided'' takes place after the "golden age" but before the main game, showing how everything is going to hell, following the events of ''Human Revolution'', with augmented people being persecuted and herded into ghettos, with radical augments striking back using terrorist-like methods.
* ''VideoGame/TheLegendOfZeldaMajorasMask'': Link arrives in the land of Termina three days before its destruction by the falling moon. People are still going about their business as usual, though a few are in denial about the land's impending doom. By the night of the final day, Clock Town is eerily quiet as nearly everyone has fled in a futile attempt to escape the falling moon.
* ''VideoGame/GearsOfWar'': The locust have destroyed all human government presence on the planet Sera except the Jacinto Plateau, which they break into before the first game starts.
* ''VideoGame/HalfLife2'': Thanks to the Combine's suppression field, the youngest people on Earth are twentysomethings, and the Combine are slowly but surely intent on turning everyone into either a soldier for them, or the horrifying creatures known as Stalkers. But that's not all! Cut content from the game showed (and hints can still be found) that the Combine is also [[MarsNeedsWater draining Earth's oceans]] and replacing its air with a toxic gas.
* ''VideoGame/FinalFantasyVII'' hits this once [[ColonyDrop Meteor gets summoned]] and [[GaiasVengeance the WEAPONs start showing up]].
* ''VideoGame/LightningReturnsFinalFantasyXIII''. After 500 years of the world being filled with Chaos, Lightning wakes up to find out that the world only has 13 days left before it is destroyed and the new world is created for people to live in. Lightning has to guide souls to this new world while she still can, but she can extend the time by doing certain quests. But eventually the world will still end.
* ''VideoGame/FinalFantasyXIV'' had the red moon, Dalamud, slowly falling towards the world. As it falls, TheEmpire begins invading Eorzea and powerful monsters show up everywhere, including within cities. Eventually, the red moon does fall and breaks open, revealing the ''really'' pissed off primal, Bahamut, The dragon god wastes no time in scorching the land as he annihilates everything in his wake. Only a HeroicSacrifice by Louisoix stops him and prevents further damage to the land. ''A Realm Reborn'' takes place 5 years after the Calamity and while most of the landscape is irreversibly changed, everyone has recovered. The events before the Calamity and during said Calamity occurred during 1.0 before and after the servers were shut down to remake the game.
* The later games in the ''VideoGame/CommandAndConquerTiberianSeries'' start heading in this direction, with GDI gradually losing the war to contain the spreading Tiberium.
** By the time ''[[VideoGame/CommandAndConquerTiberiumWars Tiberium Wars]]'' takes place, GDI has actually made some progress in removing Tiberium thanks to its new sonic weaponry. Then the aliens show up. [[spoiler: The sonic weaponry turns out to be ''very'' effective against them, which is [[KarmicDeath pretty appropriate]] given that it subsequently turns out that they were the ones who created the stuff to soften us up pre-invasion, and it's under control as of ''VideoGame/CommandAndConquerTiberianTwilight''. And then the spread of Tiberium is halted, and Nod is gone as of the end of that game. [[EarnYourHappyEnding They're going to be alright.]]]]
** Even the ''first'' game has a few hints in this direction -- it does not take long in ''Tiberian Dawn'' before you know tiberium is so valuable because it leeches up everything valuable in the soil (killing off any vegetation), and as the game progresses its toxic and mutagenic properties becomes clear, and no-one has any idea how to stop tiberium from spreading... fittingly, ''Tiberian Sun'' has a few hints that looked at from the perspective of a normal citizen the world pretty much ''has'' ended[[note]]Notice how nearly every settlement already has or is entirely in ruins even ''before'' you get to them, and that there's not a ''single'' mention of nations as anything other than a geographic descriptor despite GDI supposedly operating on a UN mandate?[[/note]].
* The colony mission to eponymous star system in ''VideoGame/SidMeiersAlphaCentauri'' is sent exactly because even despite there's enough goodwill to build and man the ship, this is quite possibly the last coherent effort at international cooperation, people are already aware things aren't going to end well, and the environment is coming apart at the seams.
** [[spoiler:Also, by communicating with Planet, you eventually find out that the next great extinction cycle that periodically sweeps clean all the life on the world is about to come. It is possible to avoid it, however, and in fact end the cycle permanently, creating a paradise world.]]
** The intro to ''Alpha Centauri'' shows large flashes visible on the surface of Earth, implying a nuclear exchange of some kind.
*** Confirmed in the novels that flash wars were breaking out across the planet with liberal use of high-yield explosive devices.
** Mentions that Earth actually crossed into AfterTheEnd territory are the complete failure to communicate with it over the following centuries, and the hypothesis raised in one of the epilogues that all Earth humans died out.
* In all of the ''VideoGame/GuildWars'' campaigns, the world gradually comes apart around the player, and the best that can be done is to preserve a small portion of what there once was in the face of the cataclysm. It even happens TWICE in the original campaign, although only the second one is stopped before it goes too far. Interestingly, [[VideoGame/GuildWars2 the second game]], which takes place centuries later, features one of the races that caused one of the catastrophies as a playable race... albeit having [[HeelFaceTurn turned against the faction responsible]] for the event in the interim.
* ''VideoGame/{{Earth 2150}}'' is an RTS with the goal of gathering enough resources to get off the planet before it blows. Mission environments and shots of the globe start with winter, slowly moving on to spring, summer, Sahara and Venus. It's quite effective since the game's non-linear enough that keeping up with the schedule is your concern.
** The mostly-unknown predecessor ''Earth 2140'' also qualifies, as the two main factions are fighting over the dwindling resources of the planet.
* ''VideoGame/VampireTheMasqueradeBloodlines'' takes place just before [[TheEndOfTheWorldAsWeKnowIt Gehenna]], i.e. the end of the TabletopGame/OldWorldOfDarkness.
* ''VideoGame/{{Pathologic}}'' : The mysterious town the game takes place in evokes this everywhere you tread. [[spoiler:But the real truth behind it is actually far more complicated.]]
* ''VideoGame/FateOfTheWorld'' charges you with stopping - or maybe ''trying'' to stop - catastrophic GlobalWarming.
* Though most ''Franchise/ShinMegamiTensei'' games are set AfterTheEnd, ''VideoGame/DevilSurvivor'' is all about the lead-up; whether said End happens or not is [[MultipleEndings dependent on the player's choices]].
** It's a bit more complicated than that. ''VideoGame/ShinMegamiTenseiI'' starts Just Before The End, has TheEndOfTheWorldAsWeKnowIt occur, then time skips to a while AfterTheEnd. ''VideoGame/ShinMegamiTenseiII'' is AfterTheEnd. The first two ''DevilSummoner'' games and some or all of the ''[[Franchise/ShinMegamiTenseiPersona Persona]]'' series take place in a timeline where, thanks to the events of ''VideoGame/ShinMegamiTenseiIf'', the End from ''VideoGame/ShinMegamiTenseiI'' was averted. ''VideoGame/ShinMegamiTenseiIIINocturne'' follows a similar pattern to the first game, except that it starts even ''closer'' to the end. ''VideoGame/ShinMegamiTenseiStrangeJourney'' takes place Just Before The End, with the player's mission being to find out just ''what'' this impending End of the World is and stop it if possible. That doesn't even cover all the spinoffs, either -- there's also the ''VideoGame/MajinTensei'' series, ''VideoGame/LastBible'', and ''VideoGame/DevilChildren''.
* The first two ''VideoGame/{{Resistance}}'' games (as well as the GaidenGame).
* ''Franchise/TheElderScrolls''
** ''[[VideoGame/TheElderScrollsIIIMorrowind Morrowind]]'' takes place just before the end of the reign of the [[PhysicalGod Tribunal]] and really, the Dunmer way of life for the past 4000 years. With regard to the effects of the Tribunal dying off and the effect it would have on the [[TheAlcatraz Ministry of Truth]], between ''Oblivion'' and ''Skyrim'' the magic holding the Ministry aloft fails and [[ColonyDrop Vvardenfell is all but wiped off the map]].
** A political version of this occurs in ''[[VideoGame/TheElderScrollsIVOblivion Oblivion]]''. It's hinted at the end of the game that [[spoiler: the loss of the Septim dynasty is going to seriously alter the geopolitical state of the world, because the Empire won't have a leader.]] As revealed in ''[[VideoGame/TheElderScrollsVSkyrim Skyrim]]'', the hints were correct.
* ''VideoGame/PhantasyStarII''. While giving many of the details would be highly spoileriffic, there's a reason that it's subtitled ''The End of the Lost Age''. Even in the beginning, it's clear that the people in the cities are blissfully goofing off while bandits and [[GeneticEngineeringIsTheNewNuke accidental releases from the Biosystems Lab]] rule the wilderness, the planetary weather control systems are breaking down, and the Motavia government has a grand total of ''[[ItsUpToYou one]]'' agent (and a [[RagtagBunchOfMisfits few volunteers who]] [[MagneticHero hear about his efforts and offer their assistance]]) to send to deal with the problems of an entire planet. [[FromBadToWorse It gets worse]].
* ''VideoGame/WildArms2''. [[spoiler:Irving Vold Valeria and Vinsfeld Rhadamanthys conspire to forcibly unite the world's people [[XanatosGambit either through being conquered via by a terrorist army or by bringing the world together to defeat said terrorist army]], so that they could be ready to face an entire EldritchAbomination ''[[EldritchLocation universe]]'', "Kuiper Belt", that consumes entire other universes. And it's also no wonder that playing with so many highly dangerous toys actually awakens ''more'' Eldritch Abominations they hadn't yet planned on facing, including the actual BodySnatcher BigBad, Lord Blazer.]]
* ''VideoGame/SuperMarioGalaxy''. [[spoiler:At the end of the game, the universe is actually ''destroyed'' in a supermassive black hole. It is reborn again as a new universe, but never exactly the same way it was before. WordOfGod is that ''VideoGame/SuperMarioGalaxy2'' is in the reborn universe.]]
* There is a very apocalyptic gloom throughout the final act of ''VideoGame/DragonAgeII'', so much that even the resident {{Cloudcuckoolander}} Merrill lampshades it, saying "It feels like something is ending". Aveline tries to reassure her that it's gonna be alright, but [[spoiler:neither of them is right: it's not alright but the world didn't end... yet]].
* ''VideoGame/MassEffect3'' takes place during the opening stages of the Reaper invasion. Things are still running, but planets all over the galaxy are under siege. The entire game is a desperate struggle to find a way to stop the Reapers before they break the back of galactic resistance, and the Reapers are winning for most of the game.
* ''VideoGame/DarkSouls'': If it isn't AfterTheEnd, it's this. The First Flame is dying, and when it goes out, nobody knows exactly what will happen. The world suffers through long, cold nights. All throughout the world, humans are being turned into mindless undead called Hollows, and many kingdoms (including Lordran, the setting for the game) have either collapsed or are holding on by a thread. And that's before we get into the monsters, demons, and other nasties roaming the earth.
* Like the page quote, ''VideoGame/TeamFortress2'' has the Soldier's quote: "Last one alive, lock the door!"
* ''VideoGame/TransformersFallOfCybertron'' focuses on the Autobots and Decepticons attempts to gather enough energon to escape Cybertron before the planet shuts down.
* ''[[Videogame/{{X}} X3: Albion Prelude]]'' takes place during [[EndOfAnAge the final months of the X-Universe]], as the [[PortalNetwork jump gate network]] begins to shut itself down to slow the spread of the [[AIIsACrapshoot Xenon fleets]] and to stop the apocalyptic war between the [[LostColony Argon Federation]] and [[PlanetTerra Earth State]]. The sequel, ''Videogame/XRebirth'', takes place twenty years after the collapse as the network begins to reactivate.
* 1999 A.D. in ''VideoGame/ChronoTrigger'', the year [[EldritchAbomination Lavos]] awakens and lays waste to the world. It's your job to [[SetRightWhatOnceWentWrong prevent that from happening]]. Just take a quick look at [[AfterTheEnd 2300 A.D.]] if you're not feeling motivated enough.
* ''Videogame/EndlessLegend'' takes place on the dying LostColony of Auriga as its climate collapses. As the game goes on, the brutal winters become longer and longer, until the world is plunged into an [[EndlessWinter eternal ice age]] past turn 300. The eight empires of Auriga are in a race to get the hell off ''before'' that happens. Come ''Videogame/EndlessSpace'' some time after, Auriga is a lifeless ball of rock and the Vaulters are the [[DoomedByCanon only ones]] who made it off Auriga wholesale.
* ''Videogame/{{Metro 2033}}'' and ''Videogame/MetroLastLight'' take place in Moscow 20 years after [[WorldWarIII the end of the world]], but the player sometimes receives visions from the minutes before, during, and after the bombs fell. A promotional video series for ''Last Light'' takes place right when the bomb sirens go off, giving residents less than 20 minutes to make it to the metro system. Within ''Last Light'', [[PlayerCharacter Artyom]] witnesses a hallucination of an international flight as it is landing in Moscow when the bombs hit, with the electromagnetic pulse taking out the plane's control system, causing it to veer uncontrollably towards a Metro entrance at over 500kph while glass shrapnel from skyscrapers shattered in the pressure wave slams into the cockpit. Before the plane crashes the pilots and passengers witness Moscow burning in nuclear fire.
* The prequel game ''VideoGame/HomeworldDesertsOfKharak'' reveals this about the civilization on Kharak. The planed is dying, the vast desert is expanding north and south every year, reclaiming livable land. The Primary Anomaly ([[spoiler:the Khar-Toba and the hyperspace core within]]) may be the Kharakians' only chance of survival ([[spoiler:even if it brings about the wrath of the Taiidani]]).
* ''VideoGame/BioShock'' takes place After the End, but several audio diaries, the ''VideoGame/BioShock2'' Multiplayer, and the ''Burial at Sea'' DLC for ''VideoGame/BioShockInfinite'' take place Just Before the End. At least for Rapture. The Surface is still running along mostly fine.
* ''VideoGame/TheTalosPrinciple'': Alexandra Drennan's audio recordings, though soon enough the end catches up with her, the last entry done with her dying breath.

* A world like this is briefly shown in the ''Webcomic/SluggyFreelance'' mini-arc "[[http://www.sluggy.com/comics/archives/daily/041105 The Fall]]," where we see flashbacks of what the Dimension of Pain was like just before the demons conquered the native human civilization. This contrasts the concurrent storyline, "That Which Redeems", where the demons have invaded another dimension full of pacifistic humans, and [[TheHero Torg]] is the only thing standing in the way of their otherwise inevitable doom.
* ''Webcomic/{{Homestuck}}'' starts in a peaceful Earth... but it's not long before we find out that there's at least one meteor en route. [[spoiler: The Earth does not survive.]]
** An AlternateTimeline shows us what Earth would be like [[spoiler: if it were never destroyed by meteors. Instead, it's flooded and all humans die off anyways.]]
* The prologue for Webcomic/StandStillStaySilent starts just as a highly infective but [[{{blatantlies}} otherwise harmless]] illness is breaking out. The rest of the comic takes place [[{{AfterTheEnd}} ninety years later]].
* ''Webcomic/{{Follower}}'' is a prequel to ''Webcomic/{{Messenger}}'' which takes place AfterTheEnd, so this is a given.

[[folder:Web Original]]
* The ''Literature/FineStructure'' subsection "[[http://qntm.org/endworld Endworld]]" takes place [[spoiler: while the Earth is spiraling into the sun.]]

[[folder:Western Animation]]
* ''WesternAnimation/GeneratorRex'' takes place five years after a nanite plague exploded across the world and began to mutate the ecosystem. By the start of the series, the human population's gradually dwindling away as people randomly transform into monstrous evos (since everyone's been infected, sooner or later everyone changes) and much of the world has been overrun and lost to normal humans. The situation has grown so desperate that Providence, a borderline KnightTemplar organization devoted to fighting the evos and finding a cure for the plague, has the authority to nuke major cities (such as New York) if necessary.

[[folder:Real Life]]
* For all of recorded history, basically every generation has been ''positive'' that The End is upon them, generally due to current events that, at the time, seemed nigh-''certain'' to lead to the collapse of society at best, and the destruction of life on earth at worst. Within living memory, for instance, we have the [[UsefulNotes/WorldWarI Great War]] and the following Spanish Flu Pandemic, the Great Depression, UsefulNotes/WorldWarII, the spectre of nuclear war that hovered over the UsefulNotes/ColdWar, and now the twin terrors of [[KnightTemplar religious]] [[UtopiaJustifiesTheMeans extremism]]/[[UsefulNotes/WarOnTerror terrorism]] and [[GaiasLament environmental destruction/degradation]].
* UsefulNotes/TheRomanEmpire did not end with a bang in 476. The empire had been decaying at least since the mid-third century, and possibly even earlier than that. There was one last attempt to prevent utter collapse under Constantine, but those citizens of the Empire who lived after him (''especially'' after 410 when Rome was sacked and its survivors are enslaved) must have been aware that the Roman Empire was doomed. Unless they heeded the Latin motto "carpe diem" - evil emperors and invading barbarians don't harass you 24/7.
** The eastern part of the empire (usually called the Byzantine Empire today, but still known as the Roman Empire to its inhabitants) survived the cataclysms that brought down the western Roman Empire in the fifth century, though it too had a protracted Just Before The End period. For the last two centuries of its existence, it barely held on after being fatally weakened by the Fourth Crusade, falling to the Turks in 1453.
* Neither did the Soviet Union in 1991. The entire decade of the 1980s was USSR running on momentum of years past, its shortcomings accumulating into a rolling snowball, with things coming to a head following the [[GoingCritical Chernobyl meltdown]]. Its rump, the Russian Federation, was [[UsefulNotes/TheNewRussia barely functional]] from its very beginning.
* The same can be said of the KT event of 65 million years ago. The planet was already in decline, due to increased volcanism, and the dinosaurs were already dwindling. The meteor was just the last straw.
* This can be the personal case for people with terminal diseases who have been given an estimate of how long is left before their death.