[[folder: Main Characters]]
Insofar as a comic like Webcomic/{{xkcd}} can ''have'' main characters, that is...

* TheBlank: None of them have visible faces – although they nonetheless manage to be surprisingly expressive.
* NoodlePeople: Well, they ''are'' stick figures...
* OddFriendship: Why do the eccentric-but-decent Megan and “Cueball” still hang around with the downright-psychopathic Black Hat Guy and his girlfriend?

!!“Cueball” AKA Rob
Probably the most commonly-recurring character of the strip – although it's hard to tell because he's distinguished from the others by his complete ''lack'' of distinguishing features. Randall Munroe's AuthorAvatar. Used as the default character for any strips that don't specifically require someone else.

%%* AuthorAvatar
* BaldOfAwesome: Presumably, since his head remains completely unadorned even after we start seeing hair drawn onto random bit-characters.
%%* TheEveryman
* [[IllGirl Ill Boy]]: Has some unnamed “disease” [[http://xkcd.com/828/ here]] which he has seemingly gotten over by [[http://xkcd.com/836/ eight strips later]].
%%* LovableNerd
* NoNameGiven: Initially. Later his name was [[http://xkcd.com/782/ suggested]] to be 'Rob'. This was seemingly [[http://xkcd.com/1168/ confirmed]].
* OfficialCouple: With Megan – even though they are occasionally shown to temporarily be not together.
* StraightMan: Occasionally acts as this towards Black Hat Guy.

Cueball's [=girlfriend/wife/statistically-significant other=]. Distinguished by her shoulder-length dark hair. Used whenever a female or more sensible character is required, or as a sort of {{Foil}} to Cueball.

* ADayInTheLimelight: The “Choices” story arc.
* AmbiguouslyBi: She's in a relationship with Cueball, but she's also apparently made out with [[ScrewYourself a parallel version of herself]].
* DistaffCounterpart: Serves as one to Cueball in many ways, but she is eventually shown to have a few different personality traits.
%%* [[TheEveryman The Everygirl]]
* IllGirl: [[http://xkcd.com/881/ Appears]] to have [[http://xkcd.com/931/ or have had]] cancer, much like her [[RealLifeWritesThePlot real-world counterpart]].
%%* ManicPixieDreamGirl
* NerdsAreSexy: Or at least, 'Nerds Are Found Sexy By Other Nerds'.
* OfficialCouple: With Cueball. 'Megan' is also the name of Randall Munroe's RealLife LoveInterest.
* [[OnlySaneMan Only Sane Woman]]: Easily the most well-balanced of the recurring cast. See [[http://xkcd.com/1014/ here]] for a perfect demonstration.
* [[StraightMan Straight Woman]]: Often plays this role to Cueball.
* WomenAreWiser: Despite her own nerdy eccentricities, she seems to be more down-to-Earth than Cueball, and she's ''definitely'' saner than Black Hat Guy or the Beret Existentialist.

!!“Black Hat Guy”
Cueball's friend (and possibly onetime flatmate, since several early strips seem to show them living together). Distinguished by his unique, black, boater-like hat. Turns up whenever a joke requires someone to do something evil (or very very ChaoticNeutral).

* AffablyEvil: He's quite nice to those he considers friends...
* BetaCouple: With his girlfriend.
* CardCarryingVillain: Self-identifies as a “classhole” – an asshole with class.
* ComedicSociopathy: His sense of humour ''runs'' on this.
* CynicismCatalyst: [[NoodleIncident Whatever happened]] in [[http://xkcd.com/792/ March of 1997]], it caused him to, by his own admission, "not believe in much of anything anymore."
* ADayInTheLimelight: The “Secretary” arc.
* EvenEvilHasLovedOnes: His relationship with his girlfriend (and possibly with Cueball and Megan).
** He does seem to be more benevolent towards Cueball than to the average person. [[http://xkcd.com/1455/ He would even promise]] to pull a lever to save Cueball's life – for only a dollar...
* EvenEvilHasStandards: The 'classhole' thing. Also, he has shown hatred for people who [[http://xkcd.com/169/ communicate badly on purpose]], [[http://xkcd.com/322/ belittle women]], [[http://xkcd.com/562/ park across two spaces]] or [[http://xkcd.com/496/ expect him to quarter troops in his house]].
* ForTheEvulz: He usually gets nothing out of his exploits except a bizarre sense of gratification at making the world a more 'interesting' place.
* HumanoidAbomination: See the RealityWarper section. Also, one What If? entry has him encouraging people to drop a mountain from so high it causes utter devastation. The AltText indicates that not only did he survive, he's immortal.
* JerkAss: He's a self-described "[[EvenEvilHasStandards classhole]]".
* NiceHat: [[http://xkcd.com/405/ And if you steal it from him, heaven help you.]]
* NoNameGiven: His real name is never revealed. Even ''Randall'' just calls him “Hat Guy”. He even jokes about it at the end of the “Secretary” arc – no-one can take legal action against him because no-one knows his name.
* NumberOneDime: He ''likes'' his hat.
* MasochismTango: His relationship with his girlfriend.
* PersonWithTheClothing: [[CaptainObvious Duh.]]
* PetTheDog: He was once caught speaking all lovey-dovey to his girlfriend – although he did immediately murder the guy who caught him. His version of white knighting in [[http://xkcd.com/322/ this strip]] is also strangely cute. And he has a journal filled with things he'd say to girls “if he was nice like [Cueball]”.
** Though the AltText of that comic says that he burns it when it gets filled up. When asked why, he says [[ForTheEvulz "How can I not? It's like shooting lonely, angsty fish in a barrel]]."
* RealityWarper: As seen in [[http://xkcd.com/1094 this strip.]]
** [[http://xkcd.com/412/ What?]]
* RefugeInAudacity: Among others, he once turned a Senate chamber into a ball pit. While the senators were in it. [[ItMakesSenseInContext And proceeded to steal Tron Paul's light cycle and escape on Cory Doctorow's hot air balloon.]]
* SickeninglySweethearts: With his girlfriend (but [[http://xkcd.com/515/ no one must know]]).
* SlapSlapKiss: He met his girlfriend when he tried to destroy her self-confidence and she retaliated by stealing his hat. He got his hat back by [[DisproportionateRetribution almost-hitting her with a nuclear submarine]]. She placed mines on her driveway before he arrived at her house. [[OutGambitted He moved them to her garage before she blew them up]]. ''Then'' they got together.
%%* TokenEvilTeammate
* UnholyMatrimony: [[http://xkcd.com/432/ With]] [[http://xkcd.com/433/ his girlfriend.]]

!!"Beret Guy"
A possibly-insane philosopher whose connection to the others is unclear. Distinguished by his white beret. Turns up whenever a {{Cloudcuckoolander}} is required.

%%* TheAntiNihilist:
* BewareTheNiceOnes[=/=]BewareTheSillyOnes: [[http://xkcd.com/677/ Holy crap.]]
%%* BlitheSpirit
* ContemplateOurNavels: He likes philosophy, although he's unusually energetic about it.
* {{Cloudcuckoolander}}: [[http://www.xkcd.com/1115/ It's contagious, too.]]
** He also does things occasionally incomprehensible to other people. For example, when Ponytail broke up with him, he spent the ''entire night'' painting a key on the side of her car, and woke her up to ask her what she thought, beaming with pride.
-->'''Cueball:''' I... is he playing revenge mind games?
-->'''Ponytail:''' I genuinely can't tell if he remembers that we broke up.
** [[AltText He then proceeded to do the same thing to]] [[Literature/{{Carrie}} Carrie Underwood]] [[AltText and mail Ponytail a scone.]]
* CrouchingMoronHiddenBadass: Insult him once, he'll take your criticism on board and change his habits. Insult him a second time, he'll ''smack you with an excavator''.
* EldritchLocation: [[https://www.xkcd.com/1293/ His]] [[https://www.xkcd.com/1812/ business]].
* TheFool: He is apparently quite successful as a businessman despite being completely out of touch with reality.
* {{Immortality}}: Going by the AltText of [[http://xkcd.com/1493/ this strip.]]
%%* {{Keet}}
* LiteralMinded: Often how his {{Cloudcuckoolander}} tendencies manifest (ie. "keying" Ponytail's car [[http://xkcd.com/1030/ by painting a very detailed key on the side of it]]).
* MissingMom: “[[TearJerker Pull harder, Mom.]] [[http://xkcd.com/502/ I miss you.]]”
* NiceGuy: He's almost always the most optimistic and friendly person in the strip, if a bit off his rocker.
%%* NiceHat:
%%* NoNameGiven
%%* PersonWithTheClothing
* RealityWarper: Several examples.
** His hat always stays on his head, [[http://xkcd.com/291/ regardless of gravity]]. (Well, that or he can staple things to his hair, as implied by the AltText.)
** Apparently, he has [[http://xkcd.com/1099/ infinite wings]].
** He can inflate a laptop [[http://xkcd.com/1395/ by blowing into the power cord]].
** He's somehow a businessman, despite the fact that [[http://xkcd.com/1032/ his cards just say "This is my business card"]], [[https://www.xkcd.com/1493/ his customers don't seem to exist]], and [[https://www.xkcd.com/1772/ his company literally doesn't do anything]].
* TheBartender: Appears to have been his job early on in the strip, as he has been observed ObsessiveCompulsiveBarkeeping on several occasions. That said, he has a far less common philosophy than other barkeepers.
%%* ThePhilosopher
* TrademarkFavoriteFood: Scones.

!!Black Hat Guy's Girlfriend / “Danish”
The second newest addition to the recurring cast, since she entered a relationship with Black Hat Guy. Distinguished by her long, wavey, dark hair. Essentially a female Black Hat Guy.

* BetaCouple: With Black Hat Guy.
* BullyingADragon: She tends to be the dragon. It's possible that she intentionally tries to make herself look vulnerable so as to attract assholes whom she can beat at their own game.
** In fact it's how [[http://xkcd.com/377/ she and Black Hat Guy met]]
%%* DarkMistress
%%* DistaffCounterpart
%%* ForTheEvulz
* MasochismTango: Her relationship with Black Hat Guy.
* SlapSlapKiss: How she met Black Hat Guy.
* TheReasonYouSuckSpeech: [[http://xkcd.com/1027/ She ''excels'' at this.]]
* UnholyMatrimony: With Black Hat Guy.

!!White Hat Guy
The newest addition to the recurring cast, a figure occasionally seen talking with Cueball. Distinguished by his hat, which resembles that of Black Hat Guy but is white instead of black. Seems well-meaning but pretentious.

* {{Foil}}: In most strips he appears in, he pretty-much serves as someone Cueball can argue with so as to get across a point Randall wants to make.
%%* NiceHat
* KnowNothingKnowItAll: In one strip he's persuaded to look up what he's saying (that normal matter contains anti-quarks) on his phone, and immediately convinces himself that he hadn't been saying that at all, his ''actual'' point was...
%%* PersonWithTheClothing
%%* {{Socialite}}
* StrawCharacter: His usual role in the strip is to make logical fallacies to help advance Randall's point.
* WineIsClassy: Doesn't understand how Cueball can drink cheap wine.

!!Blonde Girl/"Ponytail"
A recurring character. Used sometimes as a RecurringExtra, or a female companion to Megan. Is sometimes implied as Rob's ex.

%%* [[TheEveryman The Everywoman]]
%%* OddFriendship: With Megan
* LoveTriangle: She has one with Rob and Megan in a few strips.
* PsychoExGirlfriend: Is sometimes this to Rob
* [[TheSmartGuy The Smart Girl]]: Usually either she or a character who looks very much like her can be seen working on science projects, or even as Megan's doctor.
%%* VitriolicBestBuds

[[folder: Other Recurring Characters]]
!!The Boy in the Barrel
The very first character xkcd featured. A young boy inexplicably floating around in a barrel.

* ArtShift: It was only after the Boy in the Barrel's debut that the art shifted from 'semi-realistic' to 'stick-figures', making him the only non-stick-figure recurring human.
* TheBusCameBack: [[spoiler:No really. In "Click & Drag" he's drawn as a bald stick figure like everyone else, but he's there, go as far right as you possibly can before you get to the flat blackness. He has a balloon now.]]
* EarlyInstallmentWeirdness: Seriously, what is his personal arc even ''about''?
* MissingMom: “None of the places I floated had mommies”.
* {{Robinsonade}}: He somehow survives drifting through the sea in a barrel on his own.

!!The Flying Ferret
A ferret with tailor-made wings.

* BigDamnHeroes: Turns up just in time to save the Boy in the Barrel.
* StationaryWings: But he can somehow fly anyway.
* WeaselMascot: Presumably was one to the guy who built his wings.

!!Armchair Nihilist
An occasionally-recurring character who turns up when the joke calls for some straw existential nihilism. Resembles Megan, but is distinguishable from her by both her personality and the fact she almost never leaves her chair.

%%* ContemplateOurNavels
* CoolChair: She presumably thinks it's cool, since she spends so much time in it.
* {{Foil}}: While they have yet to appear alongside each other (except [[http://what-if.xkcd.com/6/ here]]), she's basically a perfect inversion of the Beret Existentialist.
%%* TheEeyore
* NewJobEpisode: When she eventually leaves the chair, she becomes a [[http://xkcd.com/1111/ reporter]]. Turns out she's not very well suited to it.
* StealthPun: She's an ''armchair philosopher''.
%%* StrawCharacter
%%* StrawNihilist

A fictionalised version of the real person, who lives in a hot air balloon in the blogosphere. Distinguished by his red cape and black goggles.

%%* BadassCape
* BigDamnHeroes: Rescued Black Hat Guy at the end of the “Secretary” arc.
** And he joined forces with Richard Stallman to rescue Elaine Roberts from two thugs from the MPAA and RIAA in the 1337 arc.
%%* TheCameo
* CoolAirship: His hot-air balloon has a ''retractable gun turret''.
* InformationWantsToBeFree: His motivation, presumably.

!!Richard Stallman
Again, a fictional version of the real person. He lives in fear of Microsoft sending their lackeys to do him in. Distinguished by his long hair and beard, and the fact that he wields two katanas.

* BigDamnHeroes: He rescued Elaine Roberts at the end of the 1337 arc.
%%* TheCameo
* InformationWantsToBeFree: The reason he and Doctrow were following the two thugs chasing the Roberts'.