->'''"An old man dies. A young girl lives. A fair trade."''
-->-- '''John Hartigan''', ''Film/SinCity''

Suicide is generally considered a bad thing. Even when the person committing it [[DrivenToSuicide feels he has no other choice]], it's still far from heroic. In contrast, {{Heroic Sacrifice}}s are almost always regarded as noble, and those who perform them are held in high regard. Despite the similarities, these two things rarely overlap.

But sometimes they do.

This trope is about situations where suicide becomes heroic. Say a character discovers that he is a PersonOfMassDestruction, a crucial part of an EvilPlan, or the BigBad's SoulJar. In such situations killing oneself may be the only way to save the day.

This is a specific sub-trope of HeroicSacrifice. The difference is that in most {{Heroic Sacrifice}}s dying is merely an unfortunate by-product of a heroic act. In a Heroic Suicide, '''dying is the goal'''. Or, to put it another way, a HeroicSacrifice engages in lethal activity even though it will get him killed. '''A Heroic Suicide engages in lethal activity BECAUSE it will get him killed.'''

The clearest examples are when a character personally ''will become'' the threat that endangers others, and they have to kill themselves to prevent it. Any such situation ''definitely'' counts as a Heroic Suicide. Otherwise, it ''might'' count, but be careful.

A good rule of thumb is that in most Heroic Suicides, the character's death is both ''necessary'' and ''sufficient'' to acomplising their immediate goal. That is to say, they can't accomplish their goal ''without'' dying, but ''how'' they die doesn't matter much. To elaborate:
* '''Necessity:''' Ask yourself if there's even a theoretical possibility that the character could accomplish their goal ''without'' dying. If there is, it's probably a regular HeroicSacrifice. For example, say you [[PeterPan drink poison intended for someone else]], [[ATaleOfTwoCities trade places with a man on death row]], or [[{{Film/Star Trek}} turn your spaceship into a guided missile]]. None of those qualify, because in each case your death is only a side-effect of what you are doing. The point is to prevent the other person from drinking the poison, buy time for the man to escape, or disable the enemy ship. You would still accomplish these goals even if you discovered you were miraculously immune to poison, received a last-minute pardon, or were beamed off your ship at the moment of impact. This trope only comes into play if the character ''has to'' die to accomplish their goal. Though [[BackFromTheDead that isn't to say their death will always be permanent]].
* '''Sufficiency:''' Ask yourself how important the ''circumstances'' are under which the person dies. Do they accomplish their goal just by dying, or does it matter what they were doing when they died? For example, say you get yourself killed defusing a bomb. In that situation, it's stopping the bomb that makes your actions heroic, not the dying. You couldn't achieve the same goal just by, say, shooting yourself in the head. On the other hand, say you ''[[PersonOfMassDestruction are]]'' [[PersonOfMassDestruction the bomb]]. In that case, it doesn't matter ''how'' you die, as long as you do it quickly. Shooting yourself in the head is fine. So is getting poisoned, stabbed, or decapitated.

Compare ThanatosGambit, MyDeathIsJustTheBeginning, {{Seppuku}}, and BetterToDieThanBeKilled. See also ICannotSelfTerminate, which can be a heroic suicide by proxy. Often overlaps with CyanidePill which could be considered a sub-trope (examples go there, not here).

'''Warning: This is a DeathTrope. Expect ''lots'' of unmarked spoilers.'''

If you're thinking of killing yourself, even for an allegedly "noble" reason such as relieving others of the burden of your existence, something horrible you've done in your past, a DarkSecret, ''anything,'' please keep in mind that this trope does not exist in almost anyone's case in RealLife (and if you have a guilty enough conscience that you're ''thinking'' about it, it ''most definitely doesn't apply to you.'') The ''really'' heroic thing to do is refuse to kill yourself and choose to live. '''[[UsefulNotes/SuicidePrevention We]]''' '''''[[UsefulNotes/SuicidePrevention insist]]''''' '''[[UsefulNotes/SuicidePrevention you get help and beg you not to commit suicide. Please, talk to somebody.]]'''



[[folder:Anime and Manga]]
* In ''Franchise/{{Naruto}}'':
** The plot of the series begins with the [[spoiler: Minato "Fourth Hokage" Namikaze]] sealing the Nine-Tailed Demon Fox into Naruto, sacrificing his life to do so. [[spoiler: We later learn that one of the seals he used specifically required his death in order to work.]]
** Minato's wife and partner Kushina allowed herself to be impaled with a giant claw to protect baby!Naruto and then help Minato as much as she could to make these seals.
** Rin Nohara. The [[TurtlePower Three-Tailed Beast]] had been sealed inside her by agents of Kirigakure, and intended for Rin to return to Konoha, where the beast would break out and rampage, destroying the village. Instead, when Kakashi tried to kill one of the Mist-nin pursuing them, Rin chose to save her village from this fate by putting herself in the way of his attack, which resulted in both she and the Sanbi (temporarily, in the Sanbi's case - Tailed Beasts cannot truly die, being living chakra, though they take some time to reform after their host dies with the beast still sealed in them) dying and thwarting Mist's plan. Cue Obito undergoing a FaceHeelTurn out of grief over her death, and the rest is history.
* Kazuki from ''Manga/BusouRenkin'' decides he must kill himself before he becomes a full Victor-Type and tries to destroy the world, since one of his alternate options failed and it seems the other won't be ready in time. Thankfully he doesn't have to go through with it in the end.
* In RGVeda, Ashura's EnemyWithin took control of the body to [[OmnicidalManiac destroy everything]] but to do that it needed to kill Yasha, Ashura's most important person. So in the last moment, [[ThePowerOfLove their bond of love give Ashura enough willpower]] to re-take control and kill himself, not only saving Yasha but their whole world.
* [[spoiler: Sulia Gaudeamus]] does this in the VideoGame/FatalFury motion picture, [[spoiler: stabbing herself in the chest to use her PsychicLink with her older brother and current BigBad, Laocorn, to the group's advantage so they can de-brainwash him.]]
* Touched upon in TheNineties ''Anime/SailorMoon'' anime when [[spoiler: one of the Seven Great Youma, while still in his form of a human teen who's able to predict the future]], makes a plan to go to an amusement park with the girl he likes [[spoiler: (Ami, one of the Seishi)]] so he can see her for one last time before ending his life [[spoiler: to prevent the Dark Kingdom to gather all of them to combine their powers to kill the Senshi.]] He was talked out of it though.
* Invoked [[spoiler: and then defied]] in ''{{Orphen}} Revenge''. [[spoiler: Licorice is a girl [[BarrierMaiden whose life and death can determine]] how a massive gambit from an EldritchAbomination will develop or not, and both her {{Anti Villain}}ous family and her TrueCompanions are fighting it out. She then takes a piece of a broken sword and says that since they're fighting for her, ''[[ImpromptuTracheotomy she will cut her own throat]] and keep them from fighting to the death because of her''. Right when she's about to kill herself, however, Cleao's magical pet Lucky uses his powers to vanish the weapon away and undo Licorice's desperate gambit.]]
* Basically, what [[spoiler: Hokuto Sumeragi]] did at the end of {{Tokyo Babylon}}. [[spoiler: Knowing that Seishirou would come to kill her twin brother Subaru, [[TwinSwitch she dressed up as him]] and went to face "Sei-chan", both to get killed in Subaru's place and, as she lay dying, execute a ThanatosGambit to try helping the two.]] [[spoiler: Subverted in that Seishirou was perfectly aware of what she wanted to do, but went along with it anyway ''and used this in his own ThanatosGambit''.]]
** Similarly, the TV series has [[spoiler: Hinoto]] invoking the trope [[spoiler: by commiting the female version of {{seppuku}}, to stop the machinations of a SuperpoweredEvilSide that has [[SplitPersonalityTakeover almost completely taken over her body]]. By [[TakingYouWithMe killing both sides of her]], Hinoto manages to both release [[BashBrothers Sotara and Kamui]] who have been petrified by her Dark Self, ''and'' stop said Dark Self from continuing to manipulate both sides of the conflict to her own benefit.]]
* Cruelly weaponized by BigBadDuumvirate Dino and Yau-Si in ''Manga/BananaFish''. Yau-Si hands Ash a pistol and says if he blows his brains out right there, they'll leave Eiji, [[YaoiGenre Ash's innocent young friend]], alone for the rest of his life. [[spoiler:Ash immediately takes the pistol, puts it to his head, and pulls the trigger. It's empty. He asks for a bullet.]]
* In ''Manga/SnowWhiteAndSevenDwarfs'', this appears to have been [[spoiler:Shirayuki's intention when she attempted to kill herself after having been recaptured, as the BigBad's plans would fail without her, the LivingMacguffin / ApocalypseMaiden / etc., around and she likely felt she was running out of options. She's stopped, however, and told not to give up on [[TheHero Takeru]], who could still pull through.]]

* Quoted above: John Hartigan from ''SinCity'' kills himself so that no one will hurt Nancy to get at him.
* In the IronMan storyline "Execute Program", a villain remotely hijacks several of Tony's Iron Man suits, causing them to go on a rampage all over the world. Tony takes down four of the five, but is unable to defeat the last one, which is about to crush Captain America. Because the suit is controlled through software that's plugged directly into Tony's brain (long story), he realizes that he can deactivate it by killing himself. Which he does, by using his suit's power source to give himself a massive electric shock (don't worry, [[OnlyMostlyDead he gets better]]).
* [[DownerEnding At the end of the 2011 run of]] ''JourneyIntoMystery'', the all-powerful Fear Crown falls into Mephisto's hands and he's poised to bring all the Nine Realms under his rule in Hell. Because the Fear Crown was created from Kid Loki's worst fears, if he stops existing it will, too. Even though Kid Loki's certain there must be another way to stop Mephisto, he knows that it would take too long to figure out and billions of people would suffer and die in the meantime, so he completely annihilates himself and lets his older self return.
* To defeat Shuma-Gorath, Comicbook/DoctorStrange absorbs a portion of his power. Once Shuma-Gorath is dead, Strange knows he will become Shuma in turn, so he kills himself. (He survives, devoid of any memory or sense of self -- his ally Kaluu manages to bring him back to reality).
* Dark Phoenix Saga --- Jean Grey commits suicide to prevent becoming Dark Phoenix again, and to stop the Shiar from destroying the world. (It depends on the interpretation of the story -- retcons make this story a mess/)
* At the end of ''ComicBook/SuperiorSpiderMan'', [[spoiler:Doc Ock [[HeelRealization comes to realize that, despite his incredible genius, his arrogance and overcompensation of it was why he was failing]]. He comes to realize that the true Superior Spider-Man was Peter Parker all along and, after begging him to rescue the kidnapped Anna Maria, erases his own memory, and thus taking the last bit of his life out, so Peter can go in without any distractions.]]
* XMEN - A vaccine for the deadly Legacy Virus is created by Henry MCcoy. If an unaffected mutant were to inject himself with this vaccine he would die, but a anti-virus would be created and spread throughout the world, curing mutants infected with Legacy, and make the rest immune. Colossus (Piotr Rasputin) makes this sacrifice. And then he got better. It should be noted that colossus is very prone to depression - maybe even bi-polar.

* [[Series/{{Supernatural}} Dean]] does this in the fic ''[[http://amagicbeyond.tumblr.com/post/81933485147/reverse-crypt-scene-version-1-0 Reverse Crypt Scene (1-0)]]'' to prevent the demon possessing his body from getting out.
-->''Deanís eyes meet his. Thereís an apology there, and a terrible finality. Thereís so, so much more.''
-->''Dean turns the blade toward himself.''
-->''Cas isnít strong enough to stop him.''


* In ''Film/Terminator2JudgmentDay'', the T-800 ally must kill himself at the end to destroy the last possible source of Terminator technology that could let people reverse-engineer Terminators and Skynet.
* ''{{Film/Constantine}}''. Angela Dodson's identical twin sister Isobel commits suicide when she realizes that the BigBad plans to use her as part of a ritual to release Hell on Earth. She sends a psychic message to Angela from beyond the grave to tell her to find Constantine, and leaves a message for them so that they can stop the BigBad from performing the ritual on Angela.
** Isobel gets extra points for not just dying, but voluntarily damning herself (a highly devout Catholic who had never done anything wrong to anyone) to an eternity of pain and suffering in the process.
** Then Constantine kills himself at the climax, because he knows that the only being with both the power and the motivation to stop the ritual, Satan himself, will personally come up to claim him. After Mammon is stopped, Satan admits that he owes John a favor, which John uses not to extend his own life but instead to let Isobel get into heaven. However, because of his self-sacrifice, John's own soul is now redeemed as well. So with this one act, [[SweetAndSourGrapes he is able to save both of them]].
** FridgeLogic - "Greater love hath no man than he give his life for his friends." By killing herself ''specifically'' to prevent being used in the hell-unleashing ritual, Isobel is doing this for the whole of humanity - Heaven's gates should be wide open for her from the start, with Christ Himself rolling out the red carpet.
* In ''Film/{{Alien 3}}'', Ripley falls backward into a smelter to stop the Queen Alien gestating in her from birthing and starting the whole ordeal all over again. To emphasize that she did this just in time, it actually bursts through her chest in mid-fall, but Ripley holds on to it all the way down.
* In ''Film/GranTorino'', after his previous attempts to stop a gang from harrassing his neighbours failed, Walt Kowalski taunts them so that they will kill him. [[ThanatosGambit Thinking he was grabbing a weapon, they gun down an unarmed old man in front of an entire block worth of witnesses and are sent to prison.]]
* ''Film/{{Looper}}'': At the end, Joe realizes that his older self's attempts to [[SetRightWhatOnceWentWrong prevent the rise of the Rainmaker]] will instead [[NiceJobBreakingItHero lead to]] his StartOfDarkness. Left with no other way to stop Old!Joe, Young!Joe shoots himself, thus [[{{Retgone}} retgoning]] Old!Joe out of existence and presumably changing the future.
* In ''Film/ScannerCopII'', Sam Staziak's real mother kills herself by jumping off a balcony, to prevent Volkin from absorbing her power so he can use it against her son.
* In the live-action ''Manga/DeathNote'' films, [[spoiler: L writes his own name in the Death Note and gives himself the maximum amount of time to live, preventing anyone else from killing him with a Death Note]].

* In ''Literature/HarryPotterAndTheDeathlyHallows'', [[spoiler:Harry]] lets Voldemort kill him after discovering that [[spoiler:he is one of the [[SoulJar Horcruxes]], and that Voldemort cannot be killed as long as he survives.]]
** In this case, ''how'' he dies matters a great deal and has consequences reaching far beyond the immediate aim. Among other things, [[spoiler:it effectively renders ''every single Hogwarts defender'' invulnerable to Voldemort, which - until Nagini's death - at least keeps them safe from the one enemy they themselves can't kill, though whether Harry realises this at the time is uncertain.]]
** A nonlethal version in the first book- they're taking the role of chess piecees, and Ron allows himself to be taken (smashed off his horse by a giant chess piece) to get the others the win.
* In the ''HeraldsOfValdemar'' novel ''Oathbreakers,'' Jadrek drugs himself asleep with the intention of dying quietly of cold rather than continue to be TheLoad to Kethry and Tarma if they're unable to find shelter from the bitter mountain winter weather they're lost in. Fortunately, they ''do'' find shelther and he sleeps the medication off without further complications, although Tarma at least suspects what he was trying to do.
* Numerous priestesses in ''Literature/ChantersOfTremaris'' poison themselves so their bodies can be sealed into the wall of ice in an attempt to stop the spread of the illness killing magicians. [[spoiler:However, they were forced by the High Priestess. It's unclear whether they would have sacrificed themselves given any actual choice in the matter.]]
* In the ''Literature/HaloEvolutions'' short story '' Midnight in the Heart of Midlothian'', Michael Baird and the AI Mo Ye need to activate the self-destruct of their ship, but can't because Mo Ye [[ThreeLawsCompliant is restricted from harming a human]]. (As a warship AI, she can usually just ignore the Three Laws, but currently she's damaged.) Thus, Baird lets an alien invader kill him so that Mo Ye is no longer restricted.
* In ''Literature/{{Warbreaker}}'', the Returned can magically heal one person at the expense of their own life, and Lightsong does so at the climax to restore Susebron's tongue, which allows him to use [[FunctionalMagic Awakening]].
* In one of the last books of ''Literature/TheWheelOfTime'', [[spoiler: Verin]] has to do this. A member of [[SecretCircleOfSecrets the Black Ajah]], she wants to become a ReverseMole, but is held by a binding oath that she "not betray [[SatanicArchetype the Great Lord]] until the hour of my death". Recognizing the [[LoopholeAbuse loophole]], she takes poison and spends her last hour giving details of the Black Ajah's membership and weaknesses.

[[folder:Live-Action TV]]
* Dawn tries to pull one of these in the fifth season finale of ''Series/BuffyTheVampireSlayer'', when she realises that [[ItMakesSenseInContext a gateway to hell can only be closed if her blood stops flowing]]. She is saved when Buffy realises [[TakeAThirdOption she can achieve the same effect by killing herself in Dawn's place]]. Buffy's death is thus also an example.
** The [[MoralGuardians Parents Television Council]] address this, claiming saving the world is not a good enough reason for a HeroicSuicide, but then again they were JumpingOffTheSlipperySlope by then.
* On ''Series/{{Angel}}'' Darla (a vampire) stakes herself so that her and Angel's 100% human son can be born.
* ''{{Series/Heroes}}''
** Like Dawn, Peter Petrelli considers killing himself to [[PersonOfMassDestruction keep from blowing up New York]]. Also like Dawn, he is saved by the last-minute intervention of his elder sibling, though that's ''not'' an example of this trope.
** Eden also performs one when she blows her brains out to prevent Sylar from getting at them (and thus her mind control powers).
* Frequently done on ''Series/DoctorWho'', often in order to avert (or trigger) a TimeCrash:
** The Eighth Doctor committed one [[spoiler:at the end of the Big Finish audio "The Last."]] He got better, but was just a little traumatized by it.
** In "Father's Day", despite Rose's attempts to keep him in the dark and the Doctor even sacrificing himself to the [[ClockRoaches Reapers]] trying to find another solution, Pete Tyler eventually realises that the time paradox that's destroying the world began when Rose saved him from being run over, which never happened in the original history. In the end, Pete decides to step in front of the car that was [[YouCantFightFate supposed to hit him]], sacrificing himself to restore history to normal and bring back everyone that had been consumed.
** In "The Waters of Mars", the Doctor changes history to rescue someone doomed to die, which causes him to go totally AGodAmI with megalomania. His rescuee kills herself in order to stop him, after which he snaps out of it.
** The Doctor's death in "The Wedding of River Song" fulfills the necessity condition, if not the sufficiency one. Far from avoiding his fate, he literally has to talk[[labelnote:*]]and then marry[[/labelnote]] his assassin ''into'' killing him in order to prevent time-breaking paradoxes. [[spoiler:It turns out he actually just fakes his death, but for a minute or two it looks like he might actually be gone for good.]]
** In "The Angels Take Manhattan," when Rory learns that his future is fixed and that he will be sent back in time by an Angel and live out his life in one of the Winter Quay rooms, he (and Amy) decide to jump off the building, creating a paradox that should kill all the Angels.
---> '''Amy:''' You think you'll come back?!\\
'''Rory:''' Don't I always?
* [[spoiler:Al Gough]] on ''{{Flash Forward|2009}}'' learns that in the future an innocent woman will die due to his actions, so he jumps off a building so as to ScrewDestiny so it can never happen.
* In ''Series/{{Sherlock}}'' Moriarty invokes this [[spoiler:by setting up Sherlock to be "exposed" as a fraud and telling him that if he doesn't commit suicide by jumping off a building, a group of assassins he's hired will kill his friends (Sherlock appears to jump, but he's revealed to still be alive at the very end).]] Also an inversion in that [[spoiler:Moriarty shoots himself to prevent Sherlock from foiling his EvilPlan by forcing him to call the assassins off.]]
* In ''Series/OnceUponATime'' [[spoiler: when Henry realizes that Regina's parting gift to Emma was an ''apple'' turnover, he grabs it and takes a bite out of it before she can, knowing full-well that the turnover is poisoned and he may never wake up.]]
* In ''{{Series/Supernatural}}'''s fifth season finale, Sam's plan to defeat TheDevil is to allow [[BigBad Lucifer]] to possess him and then [[HeroicResolve wrest back control]] of his body long enough to jump into Hell and take Lucifer with him before the gates seal behind them. [[spoiler: He initially fails, but after Lucifer kills two of Sam's close friends and starts to beat Sam's brother Dean to death, he manages to take control long enough to make the jump.]]
* In one episode of ''{{Series/Haven}}'', an OCD suffering Troubled is keeping the town trapped in a GroundhogDayLoop in an attempt to prevent a car crash, but forgets about it every time the day is reset. [[spoiler: Once Audrey explains the situation to him, he steps in front of the car himself in order to end it.]]
* Attempted by Hoshi Sato in ''Series/StarTrekEnterprise'' when the [[ReptilesAreAbhorrent Reptilian Xindi]] have captured her and pumped her full of [[{{Brainwashed}} mind-control parasites]] so she can crack the codes of the [[EarthShatteringKaboom superweapon]]. When they let their guard down, she breaks free and tries to throw herself to her death. The Reptillians grab her before she can succeed, but they are impressed by her willpower.

* In the backstory to ''TabletopGame/{{Eberron}}'', the elvish savant Aeren engineered the uprising and freedom of his people from the giants primarily by a kingdom-wide ritural that required the willing self-sacrifice of himself and a number of volunteers, as he had realized that the magical potential of a ''willing'' sentient's blood being shed far outweighed the power accessed by an unwilling sacrifice.
* ''Warhammer40K'': An ObviousRulesPatch prevents the {{Commissar}} from executing ''himself'', [[AndThereWasMuchRejoicing despite the undoubtedly positive effect this would have on the men's morale.]]

* ''PlanescapeTorment'' ends with its immortal protagonist [[KilledOffForReal killing himself permanently]] because every time he "dies" and comes back to life, someone else dies in his place (and the spirits of the people who've died for him stalk and torment him).
* ''Franchise/FireEmblem'':
** ''[[VideoGame/FireEmblemTellius Radiant Dawn]]'' has Pelleas, who partway through the story was crowned king of Daein, pulling one of these. He unwittingly signed a Blood Pact, a curse which, if invoked, will slowly kill a leader's subjects. The one at the reins of this curse is Lekain, who is using it to strongarm Pelleas into fighting a war. Pelleas eventually learns that a Blood Pact will end if the one bound is killed so... yeah, you know the rest. [[spoiler:Unfortunately, it didn't work. Pelleas received incomplete information. The way to end a Blood Pact is for either the one bound ''or'' the one in command to die, ''and'' the document itself must be destroyed on top of either of those. Thankfully, you can let Pelleas live in a NewGamePlus.]]
** ''[[VideoGame/FireEmblemAwakening Awakening]]'' has [[spoiler: Emmeryn, [[ReasonableAuthorityFigure the ruler of Ylisse]] and [[TheHero Chrom]]'s older sister, who is captured on the edge of a cliff to force Chrom to make a SadisticChoice: either give up the Fire Emblem aka Ylisse's treasure, without which the world will surely come to ruin, or let her die. [[TakeAThirdOption To save him the pain of the choice, she gives a rousing speech and jumps from the cliff herself.]] Notably, her actions and final words touch even the enemy army, to the point where most of their troops decide to go ScrewThisImOuttaHere.]]
*** [[spoiler:This can be subverted if the player wishes so. Somehow she manages to survive the fall and ends up on a distant island, albeit with amnesia. You can recruit her in the Spotpass chapter that you meet her, if she doesn't die during the battle.]]
*** In [[spoiler: the Sacrifice ending of the game]], this happens again. [[spoiler: Because [[PlayerCharacter the Avatar]] is the perfected vessel of [[BigBad Grima]], if s/he is the one who lays the final blow to him instead of Chrom (who can only seal the Dark Dragon for a millenia before it raises again), Grima will be banished forever... '''but the Avatar will be erased from existence in exchange'''.]] [[spoiler: Subverted again: TheStinger reveals that s/he turns out to have survived too. (Or more exactly, s/he ''was'' erased, but ultimately returned to life out of his/her unbreakable will.)]]
* ''VideoGame/DragonAgeOrigins'' has a somewhat less heroic, but still important, example. Alistair reveals to the [[PlayerCharacter Warden]] early on that a Grey Warden, as a result of drinking darkspawn blood, modified or no, will eventually succumb to the taint of it. This doesn't necessarily kill the Warden, but it will cause them to lose their free will to the Darkspawn - or even worse, the Archdemon leader, if one is active at the time. This gets worse if your Warden is female, and you've played through the Deep Roads section: [[spoiler: If your character were to lose her will to the Darkspawn, they'd bring her down to the depths, mutating and raping her until she became a Broodmother, which is what gives birth to new Darkspawn in the first place.]] The final burden of being a Grey Warden is kind of a mix of HeroicSuicide and HeroicSacrifice - [[spoiler: a Grey Warden must be closer to the current Archdemon as it's slain than any Darkspawn (usually meaning the Grey Warden has to do the slaying themselves) otherwise the Archdemon's soul will jump into the Darkspawn, and it'll regenerate in its original form - a massive freaking dragon. The soul will then instead jump to the Warden - which kills them both]].
* The [[http://www.youtube.com/watch?v=K5T67QfECoM&t=6m44s destruction]] of the [[ProudMerchantRace Bentusi]] upon encountering [[TheVirus the Beast]] in ''VideoGame/{{Homeworld}}: Cataclysm''. Although considering the Beast is somne kind of nanotech GreyGoo with a side of weapons-grade BodyHorror, there's a strong element of BetterToDieThanBeKilled in there too.
* ''VideoGame/{{Mother 3}}'' has an utterly [[TearJerker heartbreaking]] example. [[spoiler:Your main character, Lucas, has a twin brother named Claus. The two of them were the best of friends, until, shortly after the game starts, he goes missing in an attempt to avenge the death of his mother. [[DownerBeginning It's these events that kick off the game's plot]]. Three years later, Lucas starts on his adventure [[CosmicKeystones to pull seven "needles" scattered all over his home island in order to save the world]]. Porky, the BigBad happens to be after them as well, [[OmnicidalManiac in order to ''destroy'' the world]], and is using the [[TheDragon mysterious, masked commander of his army to do so]]. Many, many hours of gameplay later, after the BigBad has been [[SealedEvilInACan sealed away for all eternity]], Lucas and the Masked Man face each other in front of the final needle. The Masked Man is revealed to actually be Claus, [[BrainwashedAndCrazy with no memories or sense of identity, under the command of Porky]]. After one of the most painful [[IKnowYoureInThereSomewhereFight "I Know You're In There Somewhere" Fights]] in all of fiction, Claus slowly remembers who he is and electrocutes himself]]. The worst part is that we ''don't know for sure'' if this was a HeroicSuicide or not. While it's very possible he did it to free himself from [[spoiler:Porky]]'s control, it's also equally possible he simply did it [[DrivenToSuicide because he realized all the wrong he's done against his will]].
* At the end of ''VideoGame/{{RefleX}}'', the ZODIAC Ophiuchus takes the cores of the other 12 ZODIAC units and activates its seal program, shutting itself down in order to bring about a peaceful future safe from ZODIAC harm.
* In ''VideoGame/ShinMegamiTenseiIV''[='=]s Law ending, you and Merkabah reach the Yamato Perpetual Reactor one last time and activate it to have Tokyo obliterated once and for all, as the citizens of Tokyo, known as "Unclean Ones", are deemed unworthy of existence. Merkabah points out that you and him also must die, because they have been affected by the "Filth" of Tokyo. Indeed, you both perish in order to secure the utopian future of the Eastern Kingdom of Mikado: a kingdom where Filth and sin are not known and the peace lasts for all of eternity.
* In ''{{VideoGame/Persona 3}}'', [[spoiler:Shinjiro Aragaki's]] HeroicSacrifice bleeds into this; while he did shield [[AdorablyPrecociousChild Ken]] from being shot by Takaya, he was also, for a long period of time, taking Persona-suppressing drugs that have [[IllBoy degraded his immune system]], combined with an IncurableCoughOfDeath, to the point that even had he ''not'' been shot, he likely would have died not long after. The suicide portion, aside from the suppressants, also draws from the fact that the date of his death [[spoiler:(October 4)]] is the same day that he accidentally murdered Ken's mother via losing control of his Persona, and he [[TheAtoner wanted to atone]] for it.
** It even extends to gameplay: [[spoiler:He won't join you for the October Full Moon Operation, and after his funeral]], you can find his equipment in his room.

[[folder:Visual Novels]]
* In ''VisualNovel/LittleBusters'', [[spoiler:Kyousuke pulls off a successful non-permanent one in order to help Riki and Rin save the victims of the bus crash. In the fake world he created to build up Riki and Rin's strength, whenever he sleeps he finds himself at the moment of the crash and desperately tries to drag himself over to the oil leak so he can block it with his body before it catches fire and explodes, killing everyone. However, whenever he wakes up his position is reset. The day he finally reaches the leak, he realises what he has to do: reset his starting position. Since that is based on the moment he died, he needs to kill himself here so when he wakes up the next time he'll start there and be able to block it, saving everyone. He does it without hesitating, and it works.]]
* This is how [[spoiler: Sakura Oogami]] from VisualNovel/{{Danganronpa}} died. [[spoiler: She chose committing suicide instead of murdering other students (which would emotionally wreck her as she's very lawful and honorable ''and'' one of the students is her best friend Aoi) or letting her beloved dojo be destroyed (since Monobear is forcing her to be TheMole upon threatening said dojo).]]

* In ''Webcomic/{{Homestuck}}'' this is one way of reaching God Tier, which is the highest level a player can reach. For a player to achieve God Tier, they must [[spoiler:die on their quest bed]]. Obviously, a player usually chooses to reach god tier in pursuit of a heroic goal, and since this is one of the ways to go about it, it counts as a Heroic Suicide. It's implied that it's meant to test the player by challenging them to accept and overcome the fear of their own demise. So far, the only character we've seen knowingly attempt this is [[spoiler:Dave Strider.]] However, [[spoiler:he finds himself unable to go through with it]]
* In ''Webcomic/{{TheBeastLegion}}'' Njora sacrifices [[http://www.thebeastlegion.com/issue-09-page-20-a-heros-fall/ himself to his serpent transformed daughter]] so that Xeus can concentrate on saving Fyre.
* Hidden due to huge spoilers but in [[spoiler: DarwinCarmichaelIsGoingToHell Darwin lets himself be killed to prevent TheEndOfTheWorldAsWeKnowIt. Even though it would result in himself being sent to hell. The huge boost in Karma from this action makes it so he gets into Heaven anyway.]]