-> '''Xander:''' [[WhatCouldPossiblyGoWrong As long as nothing really bad happens between now and then]], [[TemptingFate you'll be fine]].\\
'''Buffy:''' Are you crazy? [[YouJustHadToSayIt What did you say that for?]] [[GenreSavvy Now something bad is gonna happen.]]\\
'''Xander:''' What do you mean? Nothing's gonna happen.\\
'''Willow:''' [[TemptingFate Not until some dummy says, "As long as nothing bad happens."]]\\
'''Buffy:''' It's the ultimate jinx!\\
'''Willow:''' ''What were you thinking?!'' Or were you even thinking at all?\\
'''Xander:''' You don't know... Maybe this time it'll be different...
-->--''Series/{{Buffy the Vampire Slayer}}'', "School Hard" [[spoiler: It isn't.]]

The inevitable question asked when another character's rash plan or reckless behavior results in disaster or near-disaster. Asked upon discovery of the mayhem caused by said recklessness, or after picking up the pieces, and is usually asked by their superior, a concerned parent, or simply a friend or ally.

Popular answers include "[[IdiotBall I wasn't]]!", "[[IndyPloy I don't know]]!", "ItSeemedLikeAGoodIdeaAtTheTime!", and "IDidWhatIHadToDo." If someone answers "ForScience!" it's a good bet that he's a lost cause.

Can follow a MyGodWhatHaveIDone for a KickTheDog moment. A DealWithTheDevil is almost always followed by this, [[ViewerStockPhrases if only from the audience]]. Not to be confused with WhatTheHellHero, which has less to do with recklessness and more to do with [[KickTheDog kicking]] or [[ShootTheDog shooting the dog]], though it can overlap. If someone is asking ''himself'' (or herself) this, it's DidntThinkThisThrough.

Compare WhatAnIdiot and WhatTheHellHero.
----
!!Examples:

[[foldercontrol]]

[[folder: Anime and Manga ]]
* In ''Manga/{{Saiyuki}}'''s "Kami-sama" arc, Sanzo attempts to break a barrier that he thought was created by will power by shooting at it, on the "rationale" that the bullets are infused with ''his'' will power, and thus the two will cancel out...yeah, no. Instead, the bullets ricochet back and everyone dives for cover, with Hakkai yelling, "What are you DOING, Sanzo??"
* These exact words are used in ''Manga/RanmaOneHalf'' when the Tendos, particularly [[BewareTheNiceOnes Kasumi]], [[WhatTheHellHero call Genma out]] for taking his son to the cursed training ground of Jusenkyo. To the annoyance of some readers, though, this is only in the very first chapter of the manga, and nobody so much as raises an eyebrow when Genma later reveals he taught Ranma the [[HarmfulToMinors Nekoken]] because he was too lazy to read the next page, [[NowYouTellMe which warned]] that the technique [[SanityHasAdvantages invariably drove trainees insane]] and was [[UselessUsefulSpell too stupid to use, anyway]]. [[AlternateCharacterInterpretation Although]], it's entirely possible that people stopped asking this of him because they realized [[WhatAnIdiot it just wouldn't do any damned good.]]
* Yuna Roma Seiran gets this from the ORB military officers in ''Anime/GundamSEEDDestiny'', for hiding war criminal Lord Djibril in ORB and denying it, then acting all surprised when ZAFT sees through his obvious lies and invades in full force. Apparently, he thought that since ORB had successfully hidden [[CoolShip the Archangel]] from them two years ago, but not even in anime do politics bend to the RuleOfCool...
* In ''LightNovel/FullMetalPanic'', Kaname tends to yell this whenever Sousuke does something insane. More often than not, he proceeds to explain the ridiculously complicated terrorist plot that he foiled to justify his actions. Sometimes the plot is even real.
[[/folder]]

[[folder: Comic Books ]]
* From the ''StarWars: Clone Wars'' comics, during the battle of Kamino:
-->'''Commander Merai''': What were they ''thinking'', defending a [[SingleBiomePlanet water world]] with ships that can't submerge?
[[/folder]]

[[folder: Film ]]
* ''Film/TheGoonies''. Stef barks this at Andi when she hits the wrong notes on the musical lock, causing part of the floor to collapse.
-->'''Stef:''' What were you thinking?\\
'''Andi:''' I hit the wrong note! I'm not Liberace you know!
* ''Film/TheFastAndTheFurious'': Dominic Toretto asks this of Jesse after he races Johnny Tran for pink slips.
* The captain asks ''CoolHandLuke'' what he thought defacing parking meters would get him. Luke replies that, [[AlcoholInducedIdiocy being drunk at the time, he probably wasn't thinking.]]
* ''HappyFeet'': Gloria asks a version of this after she discovers that him singing to her at the mating season is really him lip-synching and letting someone else sing (Mumble can't sing).
-->'''Gloria''': "Mumble, what could you possibly be thinking?"
-->'''Mumble''': "I...I don't know what else to do!"
* In the feature film adaptation of Shane Acker's ''[[WesternAnimation/{{Nine}} 9]]'', 7 asks 9 this [[spoiler:after 9 put the talisman into the machine, causing it to wake up and kill 2.]]
* In ''[[OhGod Oh God! You Devil]]'', when Bobby literally finds God near the end of the film, the Almighty agrees to help him out of the predicament he's in, but not without giving Bobby a (for God) gentle rebuke.
-->'''God:''' "You made a [[DealWithTheDevil deal with the Devil]]. How dumb could you be?"
[[/folder]]

[[folder: Literature ]]
* Zoe Heller's novel ''NotesOnAScandal'' (later made into a film of the same name) was released under the (patently absurd, given the novel's tone) title of ''What Was She Thinking? Notes On a Scandal'' in the US.
[[/folder]]

[[folder: Live Action TV ]]
* [[TurnInYourBadge Elliot Stabler]] frequently hears this on ''Series/LawAndOrderSpecialVictimsUnit'': when he drove a paranoid-schizophrenic to a breakdown to get information, when he tried to convince the parents of a girl beaten up by his friend's son not to testify, when he made his daughter's DUI disappear, the infamous "What possessed you to tell the shrink in your psych evaluation that you fantasized about killing suspects?!" Or the time when he told the father of a murdered girl that the Suspect might [[KarmaHoudini get away with it]]...
** Captain Cragen also said this to Olivia Benson when she gave a reporter confidential information about an investigation involving Anthrax.
** Fin Tutuola heard this from John Munch and his ex-wife in the episode when he handled a case against his son poorly.
* [[LawAndOrder Adam Schiff]] does this to Jack [=McCoy=] when he cuts a very favorable deal for a mob hit man in "House Counsel" because he wants to beat the mobster's attorney, who happens to be an intense rival of [=McCoy's=] from law school.
-->'''Schiff:''' What are we running here, Benny's Bargain Basement? Today's special - cop to four murders, and serve only five years.
-->'''[=McCoy=]:''' I didn't think-
-->'''Schiff:''' You didn't think because the blood was too busy rushing from your brain to somewhere south of the border!
* A lot of people screamed this at Mohinder from ''Series/{{Heroes}}'' when he [[spoiler: injected himself with a SuperSerum he'd invented mere hours ago from studying a woman who cries death, while outside in a bad part of town. And also wanted to ''distribute it to the general public'', despite the fact that a remarkable proportion of those with powers kill people a lot or even try to destroy the world]].
* {{Lampshaded}} in ''[[AmericasFunniestHomeVideos America's Funniest Home Videos]]'' during the Daisy Fuentes season, where she gives a little speech about the three primary audience reactions: "hahahaha", "[[ShareTheMalePain owwwww...]]" and "what were they thinking?"
%% Zero content example: * ''DoctorPhil'', anyone?
* Used in ''Series/BuffyTheVampireSlayer'', see the page quote.
* Used verbatim in ''[[FlashForward2009 Flashforward]]'', regarding Mark Benford's [[WhatAnIdiot actions]] in the last episode.
* Used in an episode of EverybodyHatesChris, in which Julius is laid off and has to take care of the house, cooking, and cleaning while Rochelle tries to find a job. After being insulted by Rochelle for most of the episode, Julius makes the mistake of saying that taking care of the house, which Rochelle usually does, isn't that hard. Cue Rochelle, who is known for cursing people out, launching a positively ''horrifying'' hour-long tirade that had Julius cowering in the corner, ending with Rochelle yelling "HAVE YOU ''LOST'' YOUR MIND!??!"
* Used in ''{{The League Of Gentlemen}}'' when a [[TooDumbToLive minor member of a]] [[CannibalClan gentleman's club]] of... [[MacGuffin purveyors of Special Stuff]] (which makes even [[ImAHumanitarian human flesh]] seem upstanding and moral) run by [[TheButcher Hilary Briss]] decides to bring his wife to a secret meeting:
--> '''Briss''' Right…now we’re all finally convened. As my special customers, you’re no doubt aw…
--> Maurice's wife enters
--> '''Eunice''' Hiya, I was just parking the car.
--> '''Briss''' Right, Eunice! An unexpected pleasure! Sam, would you like to get Eunice a drink?... Maurice,…do you have a moment?
--> Briss leads him to one side
--> '''Briss''' Are you out of your [[PrecisionFStrike fucking]] mind?
* Pops up in ''MysteryScienceTheater3000'' on occasion, such as Joel to Crow for letting [[EvilTwin Timmy]] on board, or (much later) Crow to Mike after he's [[MikeNelsonDestroyerOfWorlds just blown us his third planet]].
* Jay Leno famously asked Hugh Grant after the latter's [[NoSuchThingAsBadPublicity sex scandal]]: "What the ''hell'' were you thinking?"
** Creator/DenisLeary said the same thing about Marv Albert's scandal in his stand-up special, ''Lock and Load.''
* Late in the ''Band of Brothers'' miniseries, Easy Company passes some surrendering Germans traveling in the other direction, troops marching and officers on wagons. Webster leans out of a troop transport and starts berating them: "You stupid bastards, look at you! You have ''horses''! ''What were you thinking?!''"
** For added irony, they are on the autobahn. The Americans in trucks on the road, the Germans walking the other way in the median.
[[/folder]]

[[folder: Professional Wrestling ]]
* Comes up quite a lot in WWE, either from skits backstage after a loss (or near-loss) because of a tag team partner, or when a commenter wonders what a high-flyer was thinking after attempting a high risk move successfully (or unsuccessfully) and losing the match.
* {{Wrestling/Kane}} buried TheUndertaker...[[DeathIsCheap again]]. He decided to hold a funeral in respect of him...and then AlbertoDelRio interrupted. Now, given that Alberto has only been on Smackdown for a few months, and Kane is a veteran who ''just took out TheUndertaker'', and that Alberto interrupted his "funeral" just to challenge Kane, the audience, Kane, and pretty much anyone else who may have been watching all exclaimed...
-->--"ARE YOU OUT OF YOUR MIND?"
** ...the funny thing is, Alberto then proceeded to [[OhCrap slap Undertaker's urn]] from PaulBearer's hand, dodge Kane's punch and ''[[DidYouJustPunchOutCthulhu kick him across the face.]]''
* Some fans exclaim this when a promotion has a good angle or rivalry going and then proceeds to screw it up somewhere along the line. WWE tends to get this ''a lot''. For example, dropping the US Title rematch of DanielBryan vs {{Sheamus}} from Wrestlemania 27, considering that they're two of WWE's most consistent workers and could have put on an awesome match.
[[/folder]]

[[folder: Music ]]
* Folk singer Christine Lavin's song "What Was I Thinking", originally written in the late 1990s, features such examples as a poor choice of formal dress, hair style, and [[RippedFromTheHeadlines poor choice of White House intern]].
* "What Were You Thinking" by CountryMusic group Little Texas, a breakup song:
-->What were you thinkin'\\
When you turned your back and walked away\\
Who do you think you're leavin'\\
Did you think I'd let it end this way\\
What were you thinkin'?
[[/folder]]

[[folder: Newspaper Comics ]]
* ''{{Zits}}'' has Mom convey an expression that says this phrase without using words to react to Jeremy's antics. Likely she doesn't say it because Jeremy will likely react with some quip.
-->'''Mom:''' What were you thinking!\\
'''Jeremy:''' Everything's cause-and-effect with you, isn't it.
[[/folder]]

[[folder: Video Games ]]
* Take an RPG, any RPG, and one character will inevitably say this to another.
** And most likely, the player was thinking about [[StupidityIsTheOnlyOption why they had to do that to continue.]]
* In ''FateStayNight'', Shirou gets this a lot, because what he does tends to get him disemboweled or otherwise grievously harmed while the person he was helping probably would have been okay, or whoever he was trying to save was clearly beyond help. Unusually for this trope, Shirou fully realizes that what he's doing is mind-bogglingly stupid ''even as he's doing it'', [[HonorBeforeReason but he's so dependent on his "save everyone" philosophy that he refuses to compromise it in any way]], [[DeathSeeker even if it means his own life.]]
* In ''VideoGame/MaxPayne 3'', Max thinks about asking this of Giovanna and [[spoiler: the now deceased]] Marcello, but stops and reminds himself that his long list of failures gives him no right to criticise.
[[/folder]]

[[folder: Webcomics ]]
* [[http://explosm.net/comics/1582/ This]] ''Webcomic/CyanideAndHappiness'' comic.
* [[Webcomic/{{Homestuck}} Sollux:]] [[http://www.mspaintadventures.com/?s=6&p=003978 Fling stars specibus-ward.]]
* In ''BobAndGeorge'', [[http://www.bobandgeorge.com/archives/000803c you built dangerous robots and let the bad guy take them to conquer the world.]] Followed by the StockPhrase.
[[/folder]]

[[folder: Web Original ]]
* "What were they ''thinking''!?" is one of WebVideo/TheAngryVideoGameNerd's many {{catchphrase}}s, used for an asinine flaw with a bad game.
* Mike Mozart of JeepersMedia uses this catchphrase when he comes across a toy with a... [[FreudWasRight suggestive]] design flaw.
* There is actually an entire blog dedicated to asking this question about old comics. It's even titled [[http://luchins.com/wwtt/ What Were They Thinking?]]
* Some editors in ThisWiki tend to use this at times as a reaction... and {{Pothole}} it to this very page.
* During WebVideo/TheCinemaSnob's crossover with {{Phelous}}[[note]]Neither has brought anything to review, so Brad is looking at a clothes iron held by Phelan[[/note]]:
-->'''Phelous:''' Um...clothes...wrinkly...\\
'''Cinema Snob:''' Doesn't look to terribly b-\\
''He reaches out and touches the plugged in iron''\\
'''Cinema Snob:''' OW! [[AtomicFBomb FFFUCK!]]\\
'''Phelous:''' ...did you think would happen?
[[/folder]]

[[folder: Western Animation ]]
* Spoofed in the ''WesternAnimation/EdEddNEddy'' episode "Cry Ed", where, after Ed drops a ''house'' on Eddy in response to Eddy's scheme to get himself injured and gain sympathy, the following exchange occurs:
-->'''Edd''': Ed! What in heaven's name were you ''thinking''?!\\
'''Ed''': Absolutely nothing, Double-Dee.
* ''WesternAnimation/AvatarTheLastAirbender'': Zuko frequently hears this from his uncle- "Of all the foolish things you've done in your sixteen years, Prince Zuko, this is the most foolish!", "You never think these things through!" In response to short-sighted things such as when he went through a great deal of life-threatening dangers to get the Avatar and would have died if Aang's friends hadn't come and decided to SaveTheVillain.
* Parodied in an episode of ''TheSimpsons''
-->'''Marge:''' This is the worst thing you've ever done!\\
'''Homer:''' You've said that so often the words have lost all meaning.
** Apu gets an even more spectacular one:
-->'''Skinner:''' Now I... I finally have time to do what I've always wanted: write the great American novel. Mine is about [[Film/JurassicPark a futuristic amusement park where dinosaurs are brought to life through advanced cloning techniques.]] I call it "[[ABoyAndHisX Billy and the Cloneasaurus]]."
-->'''Apu:''' Oh, you have got to be kidding sir. First you think of an idea that has already been done. Then you give it [[FailOSuckyname a title that nobody could possibly like]]. Didn't you think this through... (timeskip fade) ... it was on the bestseller list for eighteen months! Every magazine cover had... (timeskip fade) ... one of the most popular movies of all time, sir! ''What were you thinking?!'' (pause) I mean, thank you, come again.
* ''FostersHomeForImaginaryFriends'', "Mac Daddy": Bloo says this about Mac having apparently conjured up "Cheese". Mac's response: "Exactly, I wasn't thinking."
** "World Wide Wabbit" has Frankie ask this to Bloo when he starts a website based on Herriman's embarrassing "funny bunny" video that got ''20 million hits.''
-->'''Bloo:''' I just thought it was funny.
* ''{{The Spectacular Spider-Man}}'s'' Norman Osborn solidifies his GenreSavvy credentials by asking [[spoiler: his son Harry this when he learned he had been drinking the Green Goblin serum.]]
* ''TransformersAnimated'': Megatron kidnaps [[GeniusDitz Bulkhead]] to complete his space bridge, and Bulkhead is so sick of people assuming he can't do anything that he makes it work. When Professor Sumdac calls him on this, Bulkhead points out that Sumdac was the guy who ''rebuilt Megatron'' (although he had no idea about the evil tyrant thing).
** This line often pops up verbatim in ''WesternAnimation/TransformersPrime''. Miko nearly got herself (and others) killed several time in the series premiere alone. Her friend Jack said the line word for word each time, until he got tired of repeating himself so much.
* [[VideoGame/DonkeyKongCountry Cranky Kong]] asks this of Donkey Kong when he learns that DK has given the [[MacGuffin Crystal Coconut]] to [[BigBad King K.Rool]], being told to give up everything to know everything;
-->'''DK:''' I wanted to know all the secrets...
-->'''Cranky:''' So you gave the Crystal Coconut to King K. Rool!? What were you thinking!?
* In ''WesternAnimation/JusticeLeague'', Hawkgirl chews out Fire for dropping Flash into the sea after Flash told her to do it so she could help Hawkgirl, reminding Fire that Flash can't fly. Fire feebly responds that she figured she could trust a founding member of the Justice League to have a plan, not knowing that Flash didn't have one. Fortunately, Flash was able to think of something in the nick of time. Hawkgirl immediately switched targets to Flash and [[AngerBornOfWorry furiously ordered him to never scare her like that again.]]
[[/folder]]
----
[[TVTropesRuinedYourLife You Let TV Tropes Ruin Your Life]]? '''''[[SelfDemonstratingArticle What Were You Thinking?!!!!!!]]'''''
----