A character tries to enter a [[CoolGate magic portal]], often at high speed, only to discover that it is no longer there. Maybe the magic has been sealed or the portal cannot be opened in the presence of {{Muggles}}, i.e. the character can't show it to his family or friends. Maybe the portal is an EmpathicWeapon that lets you through only when it's in the mood.

Whichever reason, the PortalSlam is normally a sign that the fantasy world the portal gave access to is irrevocably inaccessible. This is a common method employed at the end of a fantasy/science fiction series to [[StatusQuoIsGod bring things back down to normal]]. If the character manages to get back to the world by alternate means, he'll usually discover that the world has drastically changed for the worse with black magic brewing.

Less commonly, the PortalSlam is used near the ''beginning'' of the story, as the protagonists figure out how to work the portal by trial and error.

See also TeleporterAccident, TeleFrag, and PortalCut.
----
!!Examples

[[foldercontrol]]

[[folder:Film]]
* The child Boo in ''WesternAnimation/MonstersInc.'' finds only an ordinary closet instead of a portal to Monstropolis after Sully and Mike are obligated to let the closet door be destroyed. Earlier, the same thing happens when Sully and Mike [[spoiler:are banished]], finding a big metal door in the middle of nothing.
* In the film version of ''Film/TheHitchhikersGuideToTheGalaxy'', Arthur is afraid to go into the portal at Magrathea after the others. By the time he gets up the nerve and runs at it full speed, the portal is inactive and he ends up sliding through it.
* ''ThePhantomTollbooth'' (the movie, not the book) eats itself after Milo goes through it.
* ''Film/TheMatrix Reloaded'' features a literal backdoor in the programming, whereby the right key in a lock will allow access to anywhere. If the door is closed then the portal shuts and the door goes back to leading wherever it did before. Neo tried to shoulder charge one, only to punch straight through and end up outside the building.
** One of the the Twins goes to gruesome extents to prevent this from happening. He stuck his arm through the door to keep the heroes from shutting it, and stayed like that even after they unloaded a pistol into his arm. [[GoodThingYouCanHeal Luckily for him, his wounds heal completely]] when going into ghost form.
* A famous scene from ''Film/AustinPowers: The Spy Who Shagged Me'' has Dr. Evil running into his ''un''activated portal-style time machine, only to smack into it.
* In the Napoleon scene in ''TimeBandits'', The Bandits escape through a timehole, and just as the angry soldiers reach it, the timehole collapses and all the soldiers crash into each other and fall down.
* In ''TheAdjustmentBureau'', the Adjusters have the power to use any door as a portal. Similar to Film/TheMatrix, the portal disappears when the door is closed.
* In the original ''Film/{{Stargate}}'' movie, Jack O'Neil, Daniel Jackson, and their team go through the gate to Abydos with the expectation they'll be able to go back to Earth right away. Only problem is, Daniel was expecting the gate address for Earth to be written down somewhere in the same room as the gate.
[[/folder]]

[[folder:Literature]]
* Harry and Ron rebound painfully from the sealed gateway to Platform 9 in ''Literature/HarryPotterAndTheChamberOfSecrets''.
* In ''ThePhantomTollbooth,'' Milo finds the morning after that the tollbooth has vanished, with a note in its place that explains that the tollbooth will find its way to the next needed child.
* The doorway in the wardrobe into ''{{Narnia}}'' vanishes when Lucy tries to show it to her siblings the first time. A portal to Narnia only seems to appear when you're not looking for it, according to Professor Kirke -- and indeed, in Creator/CSLewis's other Narnia books, every portal only works once, as opposed to the three times the wardrobe does.
** Used again in ''The Magician's Nephew'', with an actual splash; Digory and Polly jump in a pool that they know is a magic portal and only get their feet wet. In their case, though, the portal still worked; they just weren't using their magic rings correctly (as they quickly figured out).
* In ''Franchise/TheDarkTower'' novel "Literature/WolvesOfTheCalla", when someone brings Black 13 (a magic black ball which radiates evil) through the portal in the Cave of Voices, the portal slams shut, separating Ronald and his friends.
* Princess Quinn of Dian Curtis Regan's novel ''PrincessNevermore'' attempts to return to her homeworld by leaping back into the pond she emerged from. All she gets is soaking wet. The spell must be reactivated [[spoiler: by spinning around to generate a vortex]] before she can return.
* A much different version occurs in Neal Asher's ''{{Gridlinked}}''. Because the planets that the gates are on are moving at different velocities (and directions), there is technology in place to keep someone from stepping through one end of a portal and flying out the other side at thousands of miles an hour. The sabotage of this safety feature has disastrous consequences and starts off the plot.
* In DeanKoontz's ''Lightning'', any [[spoiler: time traveler]] attempting to make a "jaunt" that would result in [[spoiler: a temporal paradox]] is violently "bounced back" to the point from which the jaunt was originally attempted.
* Variation from ''InTheKeepOfTime'': since it isn't possible to "splat" against a portal which consists of simply opening a real door, the children are instead kept from traveling through time by the need to warn the men of the English ambush, then by the key's disappearance. Although the magic of the key comes and goes, this turns out to be a RedHerring and not a ChekhovsGun, as it seems that once "unlocking" a time period, the key remains ready to use until the bearer returns to their own time. Something of a TheyWastedAPerfectlyGoodPlot moment, although subverting reader expectations here was also clever.
* Cowl forces this on Harry and Lara in the ''Literature/DresdenFiles'', just as they were about to escape the C4-rigged cave.
* JamesPatterson's ''WitchAndWizard'' series has portals to the alternate world of the Shadowland, which can only be accessed by certain beings known as "Curves." It is strongly implied that the New Order is trying to eliminate the Curve ability from its prisoners (at one point, when an evil hellhound is the only one of its kind to make it through, Celia suggests that it "must not have been fully brainwashed by the Straight and Narrows.") Said Straight and Narrows, when attempting to get through a portal, will invariably slam into the wall instead.
[[/folder]]

[[folder:Live Action TV]]
* The TV series ''GoodnightSweetheart'' ended with Gary's PortalToThePast closing forever - leaving him in Post War Britain.
* In the ''Series/DoctorWho'' episode "Father's Day", disruptions in time caused the interior of the TARDIS (which is, of course, bigger on the inside than on the outside) to vanish, leaving only the police box shell. No, don't ask how this makes sense. At least it makes more sense than the original idea; it was supposed to FALL APART.
** It didn't vanish. The TARDIS interior exists in another dimension. Merely the portal between dimensions vanished, presumably due to the disruptions. Falling apart would make exactly no sense, because the interior and exterior aren't actually related.
** It also makes more sense than a similar scene in "The Time Meddler"; when the Meddling Monk's TARDIS had its dimensional controls removed, the console room ''shrunk'' to fit the exterior shell!
** The Episode "Girl in the Fireplace" gives more examples of this, with time portals between a futuristic spaceship and 17th century France. One portal the doctor uses is attached to a mirror, which breaks on the way through and won't let him back in. The title fireplace is another (malfunctioning) portal, but while time passes normally on one side years pass between each trip on the other, with more than one serious plot consequence.
* Though not quite the same, Earth's stargate of ''Series/StargateSG1'' has an item known as an "iris" that can be closed over the portal, which prevents most physical matter from fully manifesting itself on Earth's side of the wormhole if the bad guys decide to use it in an invasion attempt. Coming through the Stargate after the iris has been closed results in what is known as a "bugs on a windshield death", with [[RuleOfPerception an audible "THUMP" and the iris visibly pulsing]]. Presumably they have technicians just to wipe the back side of the iris after this happens.
** Captain Carter says "It doesn't even allow matter to reintegrate", but stuff still comes through as atoms - it just doesn't have enough room to reassemble itself into molecules or Jaffa. This is used to provide less-advanced allies who couldn't figure out an IDC with a primitive one-time method of contacting SGC: Throwing a box containing iridium through the gate allows traces of the element to be detected on the iris.
** [[BlackComedy The "THUMP" is just for]] [[YouBastard your sick, twisted viewing entertainment]].
** A non-lethal variant occurs when the gate deactivates moments before a traveler reaches it (hopefully before partially entering it and suffering a PortalCut). For example, in ''Michael'', Ronon pursues Kenmore who has taken Teyla hostage, tries to leap through but just lands painfully behind the inactive gate.
* In the final episode of the original ''Series/TwilightZone'', kids who jump into a pool emerge from a pond, to live with a nice old woman. Once the kids do this, they can hear their parents arguing become fainter and fainter, implying the portal is closing.
* Vortices disappearing when people try to jump through them happens an awful lot in ''{{Sliders}}''. If it's a good guy, they'll always find another vortex. If it's a bad guy, they're usually trapped until the good guys can deal with them. Rickman, the BigBad of season three, meets his end this way when a portal is just over a cliff. When it shuts down just as he's leaping for it, the PortalSlam is soon followed by [[KilledOffForReal a standard slam]].
* A Portal Splat was used to remove Mr. Marshall from ''Series/LandOfTheLost'' when the actor playing him wouldn't come back for the third season. Fiddling with the controls of a pylon, he opened a portal and slipped through, but a tremor knocked the control-pedestal over, causing the portal to vanish before Will and Holly could follow him.
* The brilliant cartoon episode of ''Series/{{Farscape}}'' has quite a few of these, with painted-on wormholes. Used purely for comedy, without any of the dramatic implications.
* In the ''Series/TrueBlood'' episode "Hopeless", Sookie and Jason are searching a field when Sookie walks through an invisible portal into the fairy stripclub. Confused, Jason tries to follow her, but when he walks through the spot where Sookie disappeared, nothing happens. He tries a few more times, then curses the fairies and demands his sister back. Sookie reemerges and properly takes him through the portal.
* The Australian TV series ''Series/MirrorMirror'' has a portal that only works when both ends are in alignment. Also, it refuses to allow certain people through, to the point of ''shocking'' them. [[spoiler:At the end of the show, Nicholas chooses to stay and Louisa returns to 1919, thus negating every single event the Old Man worked to bring to pass, thus the Mirror erased itself from the "present day" timeline.]]
[[/folder]]

[[folder:Tabletop Games]]
* In the ''DungeonsAndDragons'' ''{{Planescape}}'' setting, this is a frequently mentioned hazard of plane-walking. Many portals sometimes work only under extremely specific circumstances ("Thou must be accompanied by a flame-haired tiefling whilst holding a lily and only on the third day of the second week of the month on a year with a solar eclipse on Aber-Toril"), and portals can be destroyed or closed by various beings, so it's recommended players provide their own means of transportation.
[[/folder]]

[[folder:Toys]]
* In ''{{Bionicle}}'', the transportation system of the city of Metru Nui isn't made up of highways or railroads or anything like that - it's made up of chutes. Some daredevils, instead of just hopping on at the stations, prefer to jump in through the energy fields that hold the chutes in place. Time the chute-diving when the field fluctuates and you pass right through; time it wrong and the impact could be lethal (time it in-between, as Matau did in ''Legends of Metru Nui'', and the "slam" is merely [[ThePratfall a pratfall]]).
[[/folder]]

[[folder:Video Games]]
* Semi-example: The Portal used to travel between Ages in the ''{{Myst}}'' games are the Linking Books - written on the right paper with the right ink in the right language, and have a moving image on the title page that takes you to the Age the book describes when touched. The title world of ''Riven'' collapses at the end as a result of your method of escaping. In the next game, ''Exile'', you run across the old Linking Book for it - the panel is black, and ripples electrically while never actually opening.
** In Riven, The Fissure was [[spoiler:the instability in the world that eventually destroyed it]]. However, in and of itself it was a Portal, as the linking book that initiated the Myst franchise falls into the player's hands [[spoiler:when Atrus jumps into The Fissure and uses the book to link back to Myst, allowing the book to fall into the fissure so Gehn would not be able to get it, trapping him in Riven.]] The book then falls through the fissure and onto the surface of [[spoiler:D'ni, "New Start", or as we call it, Earth,]] where the player found it. Later, in Myst: Uru, you also find the telescope that fell into the fissure, also on the surface. So the player comes into the story due to [[spoiler:Atrus]] pulling a PortalSlam on [[spoiler:his father, Gehn]].
*** More conventionally, [[spoiler:destroying a Descriptive Book will seal off access to an Age permanently. Certain drastic changes to a Descriptive Book will also change which Age it links to, as opposed to effecting changes in the Age itself - not a PortalSlam in the traditional sense, but the original link is still severed all the same]].
* {{Minecraft}} semi-example: Ghast fireballs can disable Nether portals, and if you don't have a flint and steel, you're stuck in hell.
* Can happen in ''Franchise/{{Halo}}'' if you place a vehicle over the receiving end of the teleporter. You can also stand on it, which temporarily blocks them, and then you move and kill them easily. It'll kill you if you stand on it long enough, but at that point [[TooDumbToLive you kinda deserve it]].
* Invoked in ''VideoGame/WingCommander'', where the Kilrathi find a way to obscure an intergalactic jump point, leaving the Terrans stranded and in an ambush.
* Will almost certainly happen at least once during a play through of ''VideoGame/{{Portal}}'', since you're going to screw up and place a blue portal when you meant to place an orange one, or vice versa. Happens even more often during co-op play in [[VideoGame/{{Portal2}} the sequel]] once you realize that it's almost as much [[VideoGameCrueltyPotential fun to torture]] [[WhatMeasureIsANonHuman your teammate]] as it is to solve the puzzles.
[[/folder]]

[[folder:Webcomics]]
* In ''BobAndGeorge'', George just quite doesn't make it to a portal that Bob just got hit into, believing it to lead back to his own world, where George is the only person who can keep him in check. However, the Author had redirected the portal, meaning it wasn't as bad as George had feared.
* In ''{{Homestuck}}'', [[http://www.mspaintadventures.com/?s=6&p=006531 God Cat unplugs one of Roxy's portals]], resulting in this.
* Indirectly parodied (no attempt to re-enter the portal is made) in [[http://xkcd.com/693/ this]] ''XKCD'' strip:
-->"Well, I guess I spend the rest of my life pretending that didn't happen or knowing that everyone I love suspects I'm crazy. This'll be a fun 70 years."
* [[http://wapsisquare.com/comic/nothingofhistory/ This]] ''WapsiSquare'' strip demonstrates that this trope can also occur if someone simply pulls the portal away at the last second.
* In ''WebComic/{{Erfworld}}'', this one's invoked by Charlie and the Jetstone side, in order to trap Parson in an unwinnable situation. (More an emotional slam than a physical one: Parson was hoping to keep that portal open as an escape route.)
[[/folder]]

[[folder:Western Animation]]
* [[WesternAnimation/WileECoyoteAndTheRoadrunner Wile E. Coyote]]'s experience probably qualifies. He's repeatedly painted a tunnel on the side of a wall, seen the Road Runner go through the tunnel, and then followed it to run smack into the wall, usually accompanied by a literal 'splat' sound.
** Sometimes, it's a paper wall set up at the edge of a cliff, and he bursts through the paper.
** Sometimes, after the Road Runner goes into the painting, [[PaintedTunnelRealTrain a truck comes back out of the painting to run Wile E. over.]] Then he gets better and tries it himself.
** A hilarious inversion in one episode: the Road Runner goes through a painting in the middle of the road, and when Wile E. tries to follow he ends up inside the painting - where he falls down the cliff that he painted.
* No less than three incarnations of ''Franchise/TeenageMutantNinjaTurtles'' have told the story of an artist based on JackKirby, whose [[ArtInitiatesLife drawings created a parallel universe]] that he and one of the Turtles must save. The portal stays open long enough for the Turtle to return home... but not Kirby.
* The 1987 ''WesternAnimation/{{Teenage Mutant Ninja Turtles|1987}}'' animated series did this frequently, to the point where it's lampshaded after the Big Bad and his mooks escape through a portal that closes before the good guys can follow: "How do they get away EVERY time?"
** The first episode of the second season had the most famous instance of a Portal Splat. When Krang agrees to send Shredder back to Earth, the portal opens and he dashes through; but when Rocksteady and Bebop attempt to follow, the portal closes on them, and the two of them rebound off the surface of the portal mechanism itself.
* Hsi Wu, the Sky Demon, in ''WesternAnimation/JackieChanAdventures'' attempted to exit the Demon Netherworld using Shendu's portal after Jade goes through it, disregarding the rule that only one person can use a portal when it opens. Sure enough, the portal closes and Hsi Wu slams into a floating rock formation that happened to be behind the location where the portal manifested.
* In one episode of ''WesternAnimation/TheGrimAdventuresOfBillyAndMandy'', Billy's kiddie pool becomes a portal to another dimension. Whenever [[TheBully Sperg]] tries to use it, he just hits the bottom of the pool.
[[/folder]]

[[folder:Real Life]]
* People who try to enter Platform 9 3/4 of King's Cross Station to get to Hogwarts by walking through the concrete wall tend to discover this. (Side note: the wall in question is not even between platforms nine and ten, but a dummy archway off on a side wall closer to the entrance. The masonry between platforms nine and ten has been removed; the barrier in the film was actually between platforms five and six.)
[[/folder]]

----