->''"NoGoodDeedGoesUnpunished."''
-->-- '''Clare Booth Luce'''

A story where no matter how well-meaning, reasonable and cautious a character is, everything he does has awful repercussions for him and makes him look like a horrible person. Attempts to set things right just blow up in his face and aggravate the situation further, and generally the story ends when things are at their worst. Often this all happens because the people around him are over-sensitive and stupid with a HairTriggerTemper, but just as often it'll be thanks to plain old bad luck.

The afflicted characters are held to be entirely to blame for their own misfortune. Despite this, they are otherwise decent, nice and perfectly pleasant people who would be well-liked and respected... if they didn't have the misfortune to be living in a Kafka Komedy. Here, [[CantGetAwayWithNuthin the universe punishes]] even the whitest lie or mildest of indiscretions with completely out-of-proportion ruthlessness.

It doesn't help that in a lot of these comedies the people around the protagonist seem [[NoSympathy incapable]] of feeling any kind of sympathy or empathy for them at all, despite how blindingly obvious it should be that this person isn't (entirely) responsible for the hideous chain of misfortunes crashing down around them, and would never be responsible for the horrible things they've been mistakenly accused of.

The trope is [[TropeNamer named]] after Creator/FranzKafka, whose characters are well-meaning, reasonable, and cautious, but horrible things happen to them not only despite but usually ''because'' of their perfectly-nice actions. Whether or not Kafka's work qualifies as ''funny'', on the other hand, is a matter of taste and [[SeriousBusiness serious academic debate]]. Kafka himself read chapters of his books to his close friends, and the comedy aspect was a big part of the readings.

Of course, this trope doesn't necessarily have to be used for comedic purposes. It can also be used to turn the recipient of the abuse into TheWoobie. At the same time, it can also be used to turn the audience against the character who blames the recipient of the abuse for problems, turning them into TheScrappy.

The subtrope of BlackComedy least likely to involve death. Contrast with PlagueOfGoodFortune, where ''good'' things keep inexplicably happening to the character's chagrin, and SpringtimeForHitler, where a character deliberately does something bad but is met with ''greatness'' for it, or KarmaHoudini where the villain gets off scot-free. May occasionally overlap with SomebodyDoesntLoveRaymond and definitely ButtMonkey and SadistShow. See also CantGetAwayWithNuthin.

Not to be confused with ''[[FinalFantasyVI Kefka]]'' [[OmnicidalManiac Kom]][[TheEndOfTheWorldAsWeKnowIt edy]].
----
!!Examples:

[[foldercontrol]]

[[folder:Anime & Manga]]
* Ranma Saotome of ''[[RanmaOneHalf Ranma ]]'' has this happen in many stories, often revolving around potential cures for his curse.
** It's not just his curse. The whole ''series'' is a Kafka Komedy. Ranma's problems frequently happen because of the machinations of other people (his father engaged him to multiple women before he was old enough to know what was going on, and VIOLENT women at that, he's frequently blamed for panty thefts committed by Happosai, etc.), but all the responsibility for solving the mess gets shoved on Ranma. All of this is because of the creator's sense of humor. If you're not watching the show or reading the manga with an ''extremely big'' sense of humor, it's very easy to write off almost everyone as a cast of complete monsters. A lot of the darkest fanfiction for this series came from fans who didn't realize this was supposed to be a ''comedy'' and therefore ''not taken literally''. The only other meliorating factor that's meant to make the series funny is that Ranma himself can be insulting and rude, and can't make up his mind about his "fiancee problem". Whether Ranma's jerkass behavior justifies everyone else's or not, Kafka Komedy still applies.
* ''SayonaraZetsubouSensei'' - An interesting... Variation, of sorts, of this trope can be found in the anime, where eternally pessimistic teacher Itoshiki Nozomu's attempts at, [[ChewingTheScenery in the most dramatic way possible]], explaining what is currently [[DrivenToSuicide driving him to commit suicide]], as well as explaining why it is doing so, usually goes rather well for him... That is, until [[ThePollyanna impossibly optimistic]], [[StepfordSmiler or whatever it is]] [[BewareTheNiceOnes she really is]], Fuura Kafuka, ([[MeaningfulName notice anything about that name?]]) decides to explain her point of view, and/or put her spin, on things, at which point reality becomes unhinged and comes tumbling down in a chaotic mess with the accuracy of a precision strike and one single target: Itoshiki Nozomu.
** One prime example could be when she, after Nozomu had ranted about how clumsy people got away with little to no consequences, helpingly(?) tried to teach [[ControlFreak Kitsu]] [[AxCrazy Chiri]] how to be a proper [[TheKlutz klutz]]. By the end of the day, Chiri had tipped a bucket full of acid in front of the passing by Nozomu, [[ItMakesSenseInContext cooked a man when mistaking salt and sugar]], gone overkill when she was supposed to burn the food and burned down the entire school instead, and [[ComedicSociopathy stabbed Nozomu with a knife, believing he was somebody else]].
* A theme in the anime ''LoveHina'' is that Keitaro, assumed by Naru and Motoko to be a lecherous pervert, is, in fact, simply catastrophically unlucky; if he trips, almost inevitably his hand [[AccidentalPervert accidentally gropes a breast, pulls down clothing, or lands him on top of the nearest girl]]. If he enters the area of the hot springs, one or more girls are present, most often Naru. Should Keitaro give an innocent hug, they assume molestation. Despite his frantic protestations of innocence, these lead to their violent retribution, often in the form of a MegatonPunch.
** The above is also an example of just how horribly, ''horribly'' socially ''broken'' the majority of these young women are. By the end of the series, they're not as broken, and it shows.
* ''Manga/GirlsBravo'' uses this for some of its humor.
* ''DetroitMetalCity''. The main character lives a double life as an aspiring pop musician (which he loves, but sucks at) and being the songwriter, lead guitarist and front man for a DeathMetal band under a false name and identity (a role he hates, but is ''extremely'' good at). However much he wants to quit doing the latter, he is unable to do so because he's ''too'' good at being said DeathMetal frontman. The metal persona also ends up surfacing at the most inopportune at times in his normal life as well.
* ''Manga/NoMatterHowILookAtItItsYouGuysFaultImNotPopular''. Poor poor Tomoko.
** Actually, the whole series revolves around the fact that Tomoko is socially awkward and just convinces herself that she is not responsible for anything. While she tries to be more sociable, she never really gets punished for the effort and just gives up too soon.
[[/folder]]

[[folder:Film]]
* Creator/BusterKeaton's 1922 two-reeler "Film/{{Cops}}" takes this trope UpToEleven -- the protagonist's attempt to earn an honest buck ultimately leads to his being chased by what appears to be ''the entire LAPD.''
* In the film ''TheGraduate'' the entire plot is a Kafka Komedy since any and all actions he makes are against authority figures but he never intends to do anything bad. He begins the movie loved by those around him and by the end of the movie he's despised by almost everyone who once liked him.
* In the Scorsese comedy ''Film/AfterHours,'' the protagonist [[spoiler: already pursued by an angry mob that thinks he's a burglar,]] looks through a window and sees [[spoiler: someone get shot]]. "I'll probably get blamed for that," he says.
* The protagonist of ''Film/TheTenant'' (in both the Roland Topor novel and the Roman Polanski film) is mercilessly tormented by his neighbors to comedic effect.
* ''Film/ASeriousMan''. Poor Larry Gopnik just wants to find some spiritual satisfaction in life when everything in his life is going to hell.
* Bill Murray's character in ''Film/QuickChange'' spends the entire film dealing with this sort of thing. Of course, he did commit a bank robbery - but he's a decent enough guy despite this.
* Practically all the jokes in films such as ''FatherOfTheBride'', ''Just Married'', ''MeetTheParents'' and ''Duplex'' are based on everything going wrong for the protagonists and ''schadenfreude''.
* ''Film/{{Brazil}}'' has a lot of Kafkaesque elements, many of which are presented as comedy - even if they end up PlayedForDrama.
* ''Film/TheMachinist'' is pretty much one part Kafka Komedy, two parts Creator/FyodorDostoevsky drama.
* The 1962 film of ''The Trial'' is, [[WordOfGod according to director]] Creator/OrsonWelles, a literal example. He found it to be extremely funny, and considered it one of his best works.
* The beginning of the film ''Film/AngerManagement'' is a prime example of this; the more Adam tries to apologize for his mistakes the more everyone gets upset. [[spoiler: Deconstructed in the end, since nearly all of these circumstances are revealed to be an act to test his character, except the guy with a taser, [[BadMoodAsAnExcuse who was just in a bad mood]].]]
[[/folder]]

[[folder:Literature]]
* The works of Creator/FranzKafka are [[MindScrew maddening]], nightmarish, and deeply depressing. Kafka's friends recorded that he used to roar with laughter when he read them his writings.
* ''Literature/{{Fame}}'' by DanielKehlmann is a pure Kafka Komedy.
* ''Literature/CloudAtlas'' has ''The Ghastly Ordeal of Timothy Cavendish'' which involves a book publisher being tormented by a bunch of east end thugs, his older brother and an evil nurse. This is also the lightest segment of the book, thanks to its playful narration and its absurdity.
[[/folder]]

[[folder:Live Action TV]]
* ''Series/ThirtyRock'' inverts this trope with Tracy Jordan after he earns respect from his peers for making a really artistic film but doesn't want it. He tries to act like a JerkAss in order to go back to being in comedy TV but everyone mistakes his awfulness for humility, clever artistic commentary, and bravery.
** Often played straight in Liz's storylines, however. Whenever Liz tries to do something nice, someone will inevitably take issue with some part of it and everyone will act like she's the worst person in the world.
* The standard for this type of plot is ''CurbYourEnthusiasm'', in which everything Larry David does costs him money, destroys his aspirations and generally makes people revile him. While Larry is sometimes an awful person, he's often hated for his acts that are intended to be benevolent, like placing an obituary or indulging a little girl playing with her doll.
** Two of the most egregious cases occur in the same episode. Larry buys an effeminate young boy a gift and, after asking the kid what he wants, buys him a sewing machine. The mother reacts badly and Larry gets chewed out by his friends for buying the kid something that he clearly wanted. Later in the episode, Larry is explaining to his manager the replacement gift he bought the kid. Michael J. Fox is delivering a speech at the time and Larry, unable to be heard, mimes playing a violin. Due to his earlier confrontations with Fox, this is misconstrued as belittling his condition and leads to an entire crowds turning on Larry and the Mayor of New York kicking him out of the city. Most episodes usually make Larry's downfall a product of his own behaviour but this episode seemed unusually, and unfairly, mean to him.
* The plot is also favored by ''Series/{{Seinfeld}}'' and ''Series/{{Frasier}}''.
* In ''Series/FatherTed'', after Ted offends the Chinese community of Craggy Island, his attempts to prove to them that he is not a racist meet with increasingly more extravagant failure.
* Doug and Carrie of ''TheKingOfQueens'', especially Carrie, are cynical and often uncaring of their surrounding (IE, typical New Yorkers). As a result, whenever they try to go out of their way to help someone, it only makes things worse.
** In one episode, Doug and Carrie [[SomebodyDoesntLoveRaymond have the feeling of not being very popular at their respective workplaces]], and they both go to hilarious extremes to rectify the situation. At the episode's end, [[spoiler:it's revealed that said hilarious extremes were "rewarded" with restraining orders]].
* An entire character relationship is founded on this in ''Series/{{Scrubs}}'', between JD and the psychotic janitor who takes everything JD says or does as a taunt or insult.
** For a period of time, it expanded to everything JD ''did''. Because JD is the show's ButtMonkey, this is PlayedForLaughs. And when JD (justifiably) complains about how bad his life has become, the show treats him as a whiny loser who needs to learn how to stand on his own two feet.
* A recurring character played by Colin Mochrie on ''TheDrewCareyShow'' took this to the extreme, as ''everything'' he said offended whoever he was talking to -- even "Hello".
** IIRC, he even tried just being silent, and ended up having THAT taken as a terrible insult by his boss
** In one episode, he remained silent, everyone thought he was great, he even got promoted without speaking a word. However, upon promotion, he said "Thanks!" which was somehow taken the wrong way by Mr. Wick and he fired him.
* Every episode of ''TheWorstWeekOfMyLife'' is like this for [[TheChewToy hapless protagonist]] Howard Steel; he can't even get away with things that he ''didn't'' do because people [[NoSympathy automatically assume the worst of him]], and his attempts to explain matters and clear the air only end up making things seem ''worse''. With some people -- like his father-in-law, who detests him immensely anyway -- this is understandable, but even people (such as his wife) who should know better seem primed to automatically think the worst of him at times.
* [[ButtMonkey Josh]] from ''Series/DrakeAndJosh''.
* Chris from ''EverybodyHatesChris''.
* Lister from ''Series/RedDwarf''.
* ''GreenAcres'' is often mentioned to have Kafka-esque elements. One of the most frequent plotlines has Oliver trying to improve life for the people of Hooterville, only to have it backfire at every single step until he is driven to near-insanity. The townspeople generally react with anything from hostility to lukewarm sympathy of the "gee, that's too bad" variety. Despite it all, Oliver never learns to stop doing this.
* Basil Fawlty, John Cleese's character in the British sitcom ''Series/FawltyTowers'', embodies this trope. Despite being generally rude and sarcastic, he comes across as an otherwise sympathetic character who is always scheming to get himself out of a minor jam but only succeeds in making it increasingly worse.
* It's common in ''Series/MontyPythonsFlyingCircus'', too; probably the best example would be poor Mr. Horton, [[http://www.youtube.com/watch?v=FgAoGf84-3A&NR=1&feature=fvwp who makes people laugh uncontrollably]] despite his attempts at being serious and miserable plight.
* This often happens to FishOutOfWater Lacey in ''Series/CornerGas'', to the point that during one entire episode she refuses to get involved - ''and everyone else involves her anyway'', either by misinterpreting what she says when she declares that she doesn't want to be involved, or by simply assigning her a position [[StrawmanPolitical because she's from Toronto]].
* Some of the plotlines in ''{{Series/Extras}}''.
* Victor Meldrew of ''OneFootInTheGrave'' is usually seen as an irrationally angry man, but series creator David Renwick always said he was a perfectly ordinary person, in a universe that seemed specifically designed to make his life as difficult and unpleasant as possible.
* ''Series/TheIncreasinglyPoorDecisionsOfToddMargaret'' is an interesting variation of the trope. While Todd is a pretty unpleasant person, and a lot of his problems stem from his poor decisions, he still doesn't deserve most of what the show puts him through, like being sentenced to be drawn and quartered for crimes against humanity. The second season gradually reveals that [[spoiler: most of the misfortune was actually planned as a part of an elaborate revenge-scheme.]]
* Pretty much every moment in every episode of ''Series/ArrestedDevelopment'', mostly surrounding Michael. He's always trying to do what's best for the family, and he's pretty much the only person working to keep everything from falling apart. But every time he tries to get cooperation from his family members he's met with more irresponsible behaviour, animosity, and sometimes outright hostility. They constantly mock him for being the 'good' brother, and they spend all their time either ignoring him, walking all over him, or leaving him to deal with the fallout of their bad behaviour.
* Leslie Knope in ''Series/ParksAndRecreation''; she loves her town but often misses the mark on what they want. For instance, she nixes a new fast food restaurant, only to find out later in the season that many citizens of Pawnee were upset by this move.
[[/folder]]

[[folder:Newspaper Comics]]
* Much of ''ComicStrip/{{Peanuts}}'' was one big Kafka Komedy devoted to tormenting Charlie Brown, but even more so in the TV specials.
* ''ComicStrip/{{Garfield}}'''s Jon Arbuckle. The only good thing that's ever happened to him is hooking up with Liz after years of rejection, but other than that he's an extreme ChewToy.
* Exactly the same stuff above also goes for Peter Fox from FoxTrot. He is a ButtMonkey taken to the extreme. A notable example is an arc where Peter punches a guy at school for making a joke about his relationship with Denise. Although Peter was provoked into punching him, he is given 2 weeks of detention, clean-up detail and 3 months of probation as punishment. He then accidentally spills the beans to Andy when he gets home, and then the story ends.
** Even better is when he tells his girlfriend that he got into a fight, and she thinks he was childish. Once he reveals that the guy made fun of her, suddenly it's "And you JUST punched him?!"
* ''ComicStrip/{{Dilbert}}'' and several other sources of office humor have been described as Kafkaesque.
[[/folder]]

[[folder:Theater]]
* The play and subsequent film versions of ''EasyVirtue''.
[[/folder]]

[[folder:Video Games]]
* [[PhantasyStar Phantasy Star 2]] Pretty much runs on this. Try to rescue the daughter of a man robbing people to pay her ransom and reunite them? He kills her because he can't recognize her and won't pay him. Try to stop an outbreak of monsters? The girl who's practically your sister gets killed for it and the world floods. Thinking about stopping those floods? Off to a prison in space, that gets [[ColonyDrop hurled into]], [[EarthShatteringKaboom and destroys]], another planet because you were there. Try to kill off the people who did all this to you? [[BolivianArmyEnding Well...]]
* John Marston, the main character in ''RedDeadRedemption'' is often the butt of this. He stops to help a distressed bystander? They steal his horse. He frees an indentured servant so he can reunite with his fiancee in his home country? He never makes it back because of his opium addiction. He saves a woman from an abusive relationship? She quickly goes back to her abuser, only to be murdered for leaving him in the first place. He tries to help an eccentric inventor build the world's first flying machine? The inventor is killed in the first test flight. The list goes on.
* The Indy Game "The Visit" by exotworking is a trolling epitome of this. A man is trying to visit his girlfriend, and his trip is plagued by crabs that all have death wishes, scrambling around, getting underfoot. It's nearly impossible to avoid stepping on one. And when you do, suddenly the police surround you, and you find yourself on trial and convicted of murder, treated as a monster, and rotting away in jail.
[[/folder]]

[[folder:Webcomics]]
* ''NobodyScores''
[[/folder]]

[[folder: WebOriginal]]
* ''WebVideo/YouSuckAtPhotoshop''. Donny is not a very nice person at all, though it's clear a lot of his unpleasantness is an act for his web show, but his attempts to be decent usually create much more pain for him than his dreadful behaviour. By the end of the series, due to misunderstandings and bad coincidences, everyone he knows has vowed to kill him, including his online friend [=sn4tchbucl3r=] and his girlfriend, who until that point were the only people who cared for him at all.
[[/folder]]

[[folder:WesternAnimation]]
* The entire plot of ''TheSimpsons'' episodes "Homer Badman" and "Bart-Mangled Banner" revolve around Homer and Bart (later the whole family) respectively being publicly demonized for something they really didn't do. Thanks to any form of media assuming their guilt to keep with the public favor and maintain ratings, anything they say or do is [[TwistingTheWords twisted to be as incriminating as possible]] and [[TVNeverLies accepted as gospel truth by a credulous public]] even if it's obviously fake, like Homer's interview on "Rock Bottom" having sound-bites edited into a confession (even though you can see the clock and scenery in the background keeps jumping around).
** Of course, both these episodes rely upon some pretty insane circumstances that sound silly to begin with. In the former, Homer is accused of grabbing the babysitter's butt, when in reality he was trying to retrieve a piece of candy that was stuck to her pants. In the latter, Bart accidentally ends up mooning the American flag during the national anthem (a goat ate his shorts and he was temporarily deaf so he didn't know the anthem was playing), leading people to think he hates America. Things get exacerbated when the family goes on a Fox News parody to explain their case and the loudmouthed host annoys Marge so much that she sarcastically says she hates America.
*** This also occurs in the season 8 Simpsons episode "Homer's Enemy" involving Frank Grimes: "the man who had to struggle for everything he got in life."
** Bart in the infamous episode "The Boys Of Bummer". He drops a fly ball costing the Springfield the Little League Championship and what follows is a KickTheDog HumiliationConga by everyone with a [[DrivenToSuicide nearly fatal end]]. Even Meg Griffin never got this much abuse.
* An episode of ''TheFairlyOddParents'' begins with the main character doing various difficult good deeds for the people in his life like doing as much yard work as he can and painting a backdrop for a guy trying to run a play. Regardless of how good a job he does, the person would pick one thing they didn't like about it and immediately scold him for it (the guy said everything was ruined because the shade of blue he used for the sea was off). [[WithFriendsLikeThese With friends like these]], it's less of a wonder he immediately returns to JerkAss mode the next episode.
* ''TomGoesToTheMayor'': Tom comes up with ideas, and the Mayor's incompetence ruins them.
* This seems to be Meg's only role on ''FamilyGuy'' to the point that [[{{Peanuts}} Charlie Brown]] would have to feel pity for her.
** When most of the cast [[ComedicSociopathy feel a need for a reason to]] [[ButtMonkey hate her anyway.]] Brian is also a victim to this trope at it's most extreme, constantly managing to get caught in the events of the story by inadvertently offending or provoking another (usually more obnoxious) being around him. A recurring gag in newer episodes involves him managing to inadvertantly offend [[SomebodyDoesntLoveRaymond Quagmire]] in particular (outside the one point [[TheReasonYouSuckSpeech he expressed rather valid reasons]] [[TakeThatScrappy for resenting Brian]]).
* This also happens a lot in ''{{Duckman}}''. Granted, most of the misery that befalls Duckman is the result of his being an [[JerkAss ignorant, self-righteous prick]], but even when he tries to do good he's still treated as if he [[KickTheDog kicked someone's dog]].
* [[IneffectualSympatheticVillain Plankton]] and [[JerkassWoobie Squidward]] from ''SpongebobSquarepants'' have been [[UnintentionallySympathetic unintentional]] examples of this ever since TheMovie.
* Inverted on the new ''The Hub'' series ''DanVs'', where the titular character thinks that everything that happens to him is the fault of some obscure thing, when in reality he's just a JerkAss ([[WeirdnessMagnet most of the time]]).
** Oddly enough, 90% of the time, he's right. The first episode alone has him chasing down a real live werewolf, after roughly half the episode his friend [[OnlySaneMan understandably]] tries to convince him that a werewolf [[ItMakesSenseInContext didn't scratch his car]].
* The segments of ''WesternAnimation/{{Animaniacs}}'' featuring Buttons the dog chasing Mindy, the little daughter of his owner, always feature Buttons busting his butt trying to save Mindy from a different hazard every two seconds, and succeeding, but in the end he tends to be blamed for whatever Mindy was doing or otherwise punished. Thankfully, he finally [[EarnYourHappyEnding earns his happy ending]] in "Wakko's Wish".
* One ''PepperAnn'' episode had the title character stuck in a GroundhogDayLoop where [[FailureIsTheOnlyOption the only way to get out of it was to do everything wrong]].
** Not really. The loop had ended when she finally took a test she was trying to duck out of but when she thought the loop was still going, she snapped. However, this trope was in effect when, after spending the entire day making up for it, she found herself in [[HereWeGoAgain ''another'' loop]].
* {{Doug}} fell victim to this trope when he and the rest of his class were doing volunteer work at a local nursing home. He tried to be nice to the lady he was working with, Mrs. Whackhammer, but she chewed him out on his first day there. The next day, at his mother's suggestion, he brought her milk and oatmeal cookies. She ended up chewing him out again. As it turned out, she couldn't have dairy and oatmeal made her queasy.
* Dib from ''InvaderZim'' is like a magnet for these stories, since he's basically the only person on Earth with no WeirdnessCensor. Frequently falls victim to SelectiveEnforcement, CassandraTruth, ProperlyParanoid, and YouHaveToBelieveMe. His dad thinks he's crazy, his sister doesn't but still hates him, and he's frequently made a fool of in front of [[AgentMulder the few people who would believe him]].
* This is every episode of ''TheLifeAndTimesOfTim'', though Tim sometimes brings it on himself to some degree.
* Usually ''{{Spliced}}'' is a karma-based show, but it tends to turn into one of these whenever [[TheChewToy Fuzzy]] shows up.
* Frizz and Nug lean somewhat as victims of this in ''TheDreamstone''. While they are villains, they are [[MinionWithAnFInEvil incredibly unwilling and docile ones]], and spend almost every episode trying to get out of another nasty mission, which usually involves abuse from Zordrak, slave dragging from Sgt Blob and Urpgor, merciless punishments from the heroes (who for the large part are convinced they are genuinely nasty pieces of work) and pretty much everything else they interact with, living or not, causing them pain or scaring them silly somehow.
* Some (actually, most) episodes of ''[[RockosModernLife Rocko's Modern Life]]'' exemplify this. Rocko is a kind-hearted, well-meaning individual who constantly gets beat-up, screwed over, and cheated. Of course, even his temper has its limits. The majority of the first season drives this home.
* No matter how much [[{{Futurama}} Zoidberg]] tries to help someone, it always blows up in both his and their face somehow. Especially if he's trying to save their life.
[[/folder]]

----