Updated October 21, 2026

Illustration: Quartz
Every October 31, millions of American children knock on the doors of people they barely know and are handed free candy by adults who seem to have agreed to the arrangement in advance. The history of trick-or-treating explains how that got normalized, and it is messier than most tidy origin stories allow. There is no inventor and no founding city. The origins are genuinely murky, with fragments surfacing in ancient Celtic festivals, early Catholic holy days, medieval village custom and 17th century English politics. The practice is better understood as an accumulation of borrowed habits than as one tradition handed down intact.
The layers are easy to separate once you know they are there. The Celtic festival of Samhain supplied the date and the belief that the night of October 31 demanded a response from the living. Costumed villagers and food set out for spirits supplied the basic exchange. Medieval mumming added performance as the price of a meal. Christian All Souls' Day produced souling, in which poor neighbors collected soul cakes in return for praying over a household's dead. Guising in Scotland and Ireland dropped the prayer and kept the song, the joke and the disguise. England's Guy Fawkes Night, which grew out of the 1605 Gunpowder Plot, put masked children on the streets with straw effigies, soliciting "a penny for the Guy."
Those fragments crossed the Atlantic with 19th century immigrants, chiefly the Irish who left during the 1840s famine, and then nearly came apart. By the 1920s the trick had overtaken the treat, and Depression-era Halloween mischief escalated into vandalism and violence. World War II sugar rationing shut the whole thing down for several years.
What rebuilt it was the postwar baby boom, new suburbs with walkable blocks, national candy advertising and two pieces of pop culture: a 1951 Peanuts comic strip and a 1952 Disney $DIS cartoon titled "Trick or Treat." Halloween spending in the U.S. now reaches roughly $13.1 billion a year by the National Retail Federation's count, trailing only Christmas among American commercial holidays. These 10 slides trace how it happened.
Samhain and the Celtic roots of Halloween

Illustration: Quartz
Halloween's calendar date comes from Samhain, a pre-Christian Celtic festival observed on the night of October 31, when the Celts believed the dead came back to earth. The Celts lived some 3,000 years ago across Central and Western Europe, and their beliefs about that night form the oldest identifiable layer beneath modern trick-or-treating.
Samhain fell at the close of the harvest and the start of the cold half of the year, a hinge point in a calendar organized around planting, grazing and survival. The Celts treated that seasonal boundary as porous in more than one sense. The line separating the living from the dead was understood to thin, which made October 31 a date that demanded a response rather than quiet observance.
That response was communal and built around fire. Communities lit large bonfires, made sacrifices and honored the dead believed to be walking among them. The fires organized the night, serving as both a seasonal marker and a form of protection as the darkness lengthened.
Two attitudes coexisted in the observance, and both survive in diluted form. One was reverence: the dead were honored, not only feared. The other was wariness, a sense that not every returning presence meant well and that a household might need to manage the encounter. That split between honoring and warding off runs through nearly every custom later attached to the date.
Nothing about Samhain resembled a candy exchange. The written record is thin and filtered through much later accounts, which is one reason the origins of trick-or-treating remain murky in histories of the holiday, including HISTORY.com's. What Samhain reliably supplied was the date itself, plus a premise: that October 31 is a night when ordinary rules are suspended and the living owe the dead something. Every later layer — the disguises, the door-to-door visits, the implied threat in the word trick — was built on top of that premise rather than replacing it.
Costumes and food offerings meant to appease wandering spirits

Illustration: Quartz
Two Samhain customs sit directly beneath modern trick-or-treating: villagers disguised themselves in animal skins to scare off phantom visitors, and households set out food on prepared banquet tables to keep unwelcome spirits satisfied. A costume and a plate of food, offered on October 31 to avoid harm, is the whole transaction in embryo.
The disguises were defensive equipment, not entertainment. Hides and pelts turned a recognizable human into something else, which mattered if you believed the dead were moving through the village that night. A figure who did not read as living might escape notice, or might look menacing enough to send a phantom elsewhere. None of that resembles the modern idea of dressing as a favorite character for an evening.
The food worked on the same logic from the other direction. Rather than hiding from spirits, a household could pay them. Setting out a meal acknowledged the visitor and fed it, and — in the belief behind the practice — satisfied it before it could turn toward the livestock, the grain store or the family itself. The banquet table was a form of insurance.
What survives into the 21st century is the structure rather than the belief. A masked figure arrives at a door on the last night of October, and the household hands over food so the evening passes without trouble. Between the Celts and the modern doorstep, the reason for the exchange gets rewritten several times — spirit appeasement into Christian charity, charity into neighborhood performance, performance into a bowl of fun-size chocolate bars — but the shape holds.
The evidence here supports a narrower claim than it might appear to. The record describes these practices as occurring during some Samhain celebrations, not as a uniform rite performed identically by every Celtic community across Europe. Halloween's deep history is regional, patchy and reconstructed from fragments. Reading the animal-skin disguise and the laid banquet table as universal Celtic law overstates what is known; reading them as early instances of a pattern that recurs for 3,000 years does not.
Medieval mumming and performing for food

Illustration: Quartz
Mumming supplied trick-or-treating with its basic transaction. People in the Middle Ages dressed as ghosts, devils and monsters, traveled from house to house putting on a bit of a show, and were paid in food and drink for it. The custom is widely considered an antecedent of the modern practice.
The shift it represents is easy to miss but fundamental. Samhain costuming was defensive, a disguise meant to confuse or repel the dead. Mumming aimed the same frightening get-up at the living instead. The figure at the door was a person in a mask, and both sides of the exchange knew it.
What mummers delivered was spectacle rather than prayer or protection. Their antics covered a broad range of rough entertainment — noise, dancing, comic routines, mock menace, informal plays staged in a doorway or a kitchen. Details varied by region and by century, and no single script or standardized form governed the custom across Europe. The constant was the bargain. A household got a brief performance, and the performers got fed.
That bargain is the structural link to what American children do now. Strip away the candy and the fixed date, and trick-or-treating is a costumed visitor arriving unannounced at a door, making a short claim on the household's attention, and leaving with something edible. Mumming established that sequence as a recognized folk practice centuries before the word "trick" attached itself to it.
The custom also did something souling never did: it cut the costume loose from religious meaning. A mummer did not need to belong to a parish, promise anything spiritual or mark a particular holy day. The disguise was the ticket and the performance was the payment.
Mumming was not tied to Halloween alone, either. Costumed performers went house to house at several points in the year, midwinter especially. Its attachment to October 31 came later, as that date gathered up customs from separate European traditions.
All Souls' Day and the practice of souling

Illustration: Quartz
Souling was a medieval begging custom: the poor called at wealthy households around All Souls' Day and left with small spiced pastries known as soul cakes, having pledged prayers on behalf of the family's deceased relatives. It is the point where Halloween's pagan inheritance merged with sanctioned Christian practice.
The groundwork was laid by the ninth century, when Christianity had reached Celtic territory and began absorbing older seasonal rites rather than stamping them out. By 1000 A.D. the church had fixed All Souls' Day on the second of November, giving the dead a formal place on the Christian calendar. What that holiday looked like in England owed a great deal to the Samhain observances underneath it, bonfires and masquerade included.
The soul cake itself was a small baked good, traditionally scored with a cross, handed over as payment for intercession. Under the Catholic theology of the period, prayers from the living were understood to ease a soul's passage through purgatory, which gave a prosperous household a practical reason to welcome callers at the door. The exchange ran both ways: food for the poor, spiritual benefit for the family handing it out.
Souling did not stay an adult practice. Children took it up over time, and as they did the religious core of the transaction thinned out. Young soulers worked their way along a street asking for whatever a household would part with, including food, money and ale, rather than limiting themselves to cakes offered strictly in return for prayer.
Two things make this stage matter to trick-or-treating's lineage. It established seasonal door-to-door solicitation as an accepted, even pious, community activity rather than a nuisance. And it put children in the role of the caller centuries before any American child demanded candy on a front step. The prayer obligation eventually fell away entirely. The structure underneath it — a young visitor arriving at a stranger's door at a fixed point in the autumn calendar, offering a small gesture and leaving with something edible — survived, and passed into guising and then into the custom Americans practice now.
Guising in Scotland and Ireland

Illustration: Quartz
Guising was a Scottish and Irish custom in which young people in costume called at houses and earned their reward by performing — a song, a poem, a joke or some other small "trick." The payment was usually a piece of fruit, a handful of nuts or a few coins.
That last point is what separates guising from souling, the custom built around All Souls' Day. A souler's side of the bargain was spiritual: prayers for a household's dead relatives in return for a soul cake. A guiser owed nothing but a performance. The exchange was secular, immediate and settled at the door.
The name points to the costume's function. Guising shares a root with disguise, and the costume was the condition of entry rather than decoration. Someone who turned up without one was not guising at all, merely knocking.
Of all the European customs feeding into the American holiday, guising comes closest to the transaction behind the phrase children now use at the door. The structure is already whole in it: a trick offered, a treat handed over, on one night of the year, by young people in disguise. Where and when "trick or treat" was coined is unknown, and the phrase would not fix itself in the U.S. until much later, but the bargain it describes was ordinary practice in Scottish and Irish villages long before that.
No precise start date for guising survives in the historical record. No founding year is documented, no originating town is credited and no individual can be named as its source. The custom developed the way folk practices generally do — locally, gradually, with regional variation that left little paper trail behind it.
Where it traveled is easier to establish. Scottish and Irish families carried guising with them during the emigration waves of the 19th century, and it was this version of the exchange — costume plus performance, treat on delivery — that eventually reached American doorsteps.
Guy Fawkes Day and the origins of "a penny for the Guy"

Illustration: Quartz
Guy Fawkes was executed on November 5, 1605, for his part in the Gunpowder Plot, and the English holiday built around that execution produced a begging custom of its own: masked children collecting coins in the street with the cry "a penny for the Guy." It is the one strand of trick-or-treating's ancestry drawn from politics rather than religion or the harvest calendar.
The conspiracy was Catholic-led. Its organizers meant to blow up Parliament during a session attended by James I, the Protestant king they wanted removed so Catholicism could be restored to the English throne. The scheme failed, and Fawkes, the best-remembered of the plotters, was put to death.
What followed was commemorative and pointedly sectarian. Towns lit communal fires known as "bone fires," feeding them effigies along with bones that stood in for the Catholic pope. November 5 became an annual fixture in England, kept as Guy Fawkes Day or Bonfire Night — separate from Halloween, yet near enough on the calendar that the two eventually traded atmosphere, imagery and habits.
By the early 19th century the holiday had acquired a street ritual run by children. They covered their faces, hauled homemade Fawkes figures stuffed into cast-off clothing around their neighborhoods on the evening of November 5, and asked passersby for coins that went toward that night's fire and fireworks.
That custom matters to the larger story for reasons unrelated to Samhain or soul cakes. A second European tradition had arrived independently at nearly identical mechanics: disguised children, a fixed late-autumn date, a direct request made to adults who were expected to pay up. Guising in Scotland and Ireland and the Guy Fawkes rounds in England ran on parallel tracks, and neither produced the other. Both were settled features of British and Irish life well before emigrants carried any of it across the Atlantic, and both fed the mixed pool of customs American communities later drew on.
Irish immigration brings Halloween customs to America

Illustration: Quartz
Halloween took hold in the U.S. largely because of mid-19th century immigration, above all the wave of arrivals fleeing the Irish Potato Famine of the 1840s. Before that period, Halloween was not a widely observed American holiday.
The famine pushed enormous numbers of people out of Ireland as repeated crop failures produced starvation, eviction and economic collapse. Those who reached American ports settled heavily in East Coast cities. They arrived carrying a full cultural inventory: language, music, religious practice, foodways and the seasonal customs that marked their year. Among those customs were the October 31 observances descended from the old Celtic calendar, by then detached from any active belief in returning spirits and carried instead as inherited folk habit.
Scottish immigrants contributed their own share. The regional customs they brought ran parallel to the Irish ones rather than duplicating them, and the two streams mixed in American neighborhoods where both communities lived near one another. What crossed the Atlantic was never one unified tradition but a set of related practices that had already diverged across different parts of the British Isles.
Adoption was slow and patchy. Halloween did not become an American holiday the moment famine ships docked. It spread unevenly by region across decades, shaped by where immigrant communities concentrated and how far their customs traveled beyond those communities. No central authority promoted the holiday, and no organization standardized how it was marked.
What this period settled was groundwork rather than a finished custom. Halloween gained a place on the American calendar and an association with costumes, house visits and seasonal performance. Candy, suburban sidewalks and the specific phrase shouted at the door were still decades away. The customs immigrants carried over included souling, guising and related folk habits. Those practices would resurface in Irish and Scottish American communities in the early 20th century, well after the famine generation had settled.
Early 1900s revival and the rise of Halloween pranks

Illustration: Quartz
Irish and Scottish immigrant communities brought souling and guising back into practice in the U.S. in the early 1900s, but by the 1920s pranking had largely replaced the costumed exchange as the way rowdy young Americans spent October 31. The trick arrived in America well before the treat did.
The revival itself was a continuation rather than an invention. Immigrant families and their American-born children carried forward the door-to-door structure their parents and grandparents had known in Ireland and Scotland, with the costume, the visit and the small reward intact. Nothing about the early-1900s version required candy; the reward could be food, coins or a baked treat, as it had been across the Atlantic. Halloween in those neighborhoods, in the first years of the 1900s, still looked recognizably European.
What followed pulled the holiday in a different direction. The performance-for-treat bargain thinned out and the mischief side expanded. By the 1920s, groups of young people treated October 31 primarily as a license for pranks aimed at neighbors, businesses and property. The treat half of the exchange did not vanish, but it stopped defining the night.
The disguise element cut both ways. Halloween already carried a long association with masks, and a face covering that once kept a guiser unrecognized at a neighbor's door also kept a prankster unidentified in the street. The holiday handed young people one night of anonymity, and plenty of them used it.
This detour matters for understanding how the modern custom took shape. The path from medieval Europe to American suburbs was not a steady softening of an old ritual into a children's candy run. It bent sharply the other way first, into a decade when American Halloween meant pranks and property damage more than costumed visits.
That 1920s pattern also set up what came next. The pranking culture established during the decade did not stay contained, and the harder economic years that followed pushed it past what many communities were willing to tolerate.
The Great Depression, organized trick-or-treating and wartime rationing

Illustration: Quartz
The Great Depression pushed Halloween pranking past the point where towns could treat it as harmless — property destruction, attacks on people and scattered outbreaks of violence. One theory holds that the scale of the damage led American communities to adopt an organized, neighborhood-based version of trick-or-treating in the 1930s, handing out treats to keep young people occupied. That explanation is a theory, not settled history.
The distinction matters, because the usual retelling presents candy as a deliberate bribe invented by civic leaders on a fixed date. No founding city, state or named organizer appears in the record. What the 1930s show instead is a gradual, decentralized shift happening in many places at once, as the prank-heavy Halloween of the previous decade met the economic strain of the Depression and produced disorder towns had reason to want contained.
The appeal of the trick-or-treating solution is structural. A child promised candy in advance has a reason to knock rather than tip over a fence, and the exchange gave adults a sanctioned way to take part in a night they had previously spent guarding their property. The older European customs already supplied the template — costume, visit, reward — so nothing had to be invented from scratch.
Whatever momentum the practice built in the 1930s stalled almost immediately. The outbreak of World War II brought sugar rationing, and with sugar classified as a controlled commodity, households had little to hand out and candy production slowed alongside it. The custom was curtailed for the plain reason that there was almost nothing to give.
That pause is easy to overlook, but it sits at the center of the timeline. The practice had only begun to settle into its recognizable American form when the war interrupted it, which means the version most Americans think of as traditional did not run continuously from the 1930s onward. It needed the end of rationing, and the economic conditions that followed the war, before it could resume and spread across the country.
The postwar boom standardizes trick-or-treating

Illustration: Quartz
Trick-or-treating became standard practice for American children during the postwar baby boom, once wartime sugar rationing ended and candy companies could produce and advertise freely again. The custom regained its footing in the late 1940s and 1950s, spreading through cities and the newly built suburbs that were reshaping where American families lived.
Candy manufacturers saw the opening and built national advertising campaigns around the holiday. That marketing push accomplished something the older European customs never had: it made commercially produced candy, rather than fruit, nuts, coins, ale or homemade cakes, the expected reward at the door. Industry standardized the treat side of the exchange.
Pop culture locked in the vocabulary at the same moment. No one knows who coined the phrase "trick or treat," or exactly where and when it entered use, but it was fixed in American popular culture by 1951, the year the Peanuts comic strip depicted trick-or-treating for a national newspaper readership. Disney $DIS followed in 1952 with an animated short called "Trick or Treat," built around Donald Duck and the nephews Huey, Dewey and Louie, putting both the phrase and the ritual in front of millions more.
The timing mattered as much as the marketing. Postwar suburban development produced dense blocks of single-family homes on walkable streets, close enough together that a child could reach dozens of doors in an evening. That layout made door-to-door candy collection practical at a scale earlier generations of guisers and soulers never approached, and the baby boom supplied an enormous population of children to do it.
The combination held. Americans now spend an estimated $13.1 billion a year on the holiday, counting costumes, decorations, candy and events, which works out to roughly $114 for each person who celebrates, according to a current National Retail Federation estimate. Only Christmas outranks Halloween among commercial holidays in the U.S. The version of the night most Americans recognize is barely 75 years old, assembled from far older fragments and then finished off by suburban geography, television and the candy aisle.
