Prashant Dhingra
Wave 1 · Halloween Origins, Traditions & Folklore

Trick-or-Treating Explained: How the Halloween Tradition Began and Evolved

A door, a costume, a phrase and a handful of candy. The ritual seems timeless, but it took about a thousand years : and one very American century : to get here.

Key takeaways

  • Souling : trading prayers for the dead for soul cakes : and Scottish guising are trick-or-treating's clearest ancestors.
  • The phrase "trick or treat" first shows up in print in Alberta, Canada, in 1927.
  • Trick-or-treating paused under WWII sugar rationing, then boomed in the 1950s suburbs.
  • Today's twists include UNICEF boxes, teal pumpkins for allergy-safe treats and trunk-or-treat events.

Every October 31, millions of children walk up to strangers' front doors, ring the bell and recite three words that adults instantly understand. In the United States, the National Retail Federation reports that handing out candy is the single most popular Halloween activity : 61% of people planned to do it in 2026. But this nationwide ritual is younger than you might think, and its roots stretch back through very different customs.

Souling: prayers for cakes

In medieval Britain and Ireland, the days around All Saints' and All Souls' (November 1 and 2) were devoted to praying for the dead. Poorer people, often children, went from house to house "souling" : offering prayers for a household's departed relatives in exchange for soul cakes, small round breads often spiced and marked with a cross.

Souling songs survived in parts of England into the 20th century. The exchange : a visit, a ritual performance and a food reward : is the basic shape of trick-or-treating.

Guising and mumming

In Scotland and Ireland, young people practiced guising on Halloween night. Wearing disguises : blackened faces, masks, old clothes or straw costumes : they visited neighbors and performed a song, a poem, a joke or a little play. In return they received fruit, nuts, cake or coins. The disguises were sometimes explained as protection from the spirits roaming that night.

Guising remained common in Scotland well into the modern era, and Scottish children still sometimes call trick-or-treating "guising," with the expectation that you perform before you're rewarded. Related traditions of mumming : costumed visits with performances : took place at Christmas and other festivals across Britain.

The American melting pot

Irish and Scottish immigrants brought guising to North America in the 1800s, where it mixed with other costumed begging customs. In some cities children masked up and asked for pennies on Thanksgiving in what were known as ragamuffin parades, and Pennsylvania German communities had their own Christmas-season traditions of costumed visiting.

Meanwhile, Halloween in early 20th-century America had a reputation for mischief. Pranks ranged from soaping windows to overturning outhouses and dismantling wagons. Some historians argue that households began offering treats partly as a peace offering : a bribe to be spared the tricks.

"Trick or treat!" in print

The earliest known printed use of the phrase comes from 1927, in a newspaper report from Blackie, Alberta, in Canada, describing young pranksters going door to door demanding "trick or treat." By the 1930s the expression appeared in American newspapers and magazines, and civic leaders promoted organized trick-or-treating as a way to curb vandalism.

War, rationing and the 1950s boom

Sugar rationing during World War II put the brakes on trick-or-treating, and some communities discouraged it altogether. After the war, everything changed at once:

By the late 1950s trick-or-treating was a defining part of American childhood.

UNICEF and good causes

In 1950, a Philadelphia Sunday school group collected coins for children overseas instead of candy. The idea spread into Trick-or-Treat for UNICEF, and the small orange collection boxes became a fixture of the holiday for decades, raising money for children's health and education around the world.

The candy-scare era

From the 1970s onward, fear of poisoned or tampered candy changed how parents approached Halloween. Hospitals offered to X-ray candy, and many families stopped accepting homemade treats or fruit.

The fear was much bigger than the threat. Sociologists who reviewed decades of reports found no confirmed case of a stranger randomly poisoning children's Halloween candy. The notorious 1974 Texas case involved a father who poisoned his own son. Today, checking wrappers and throwing away anything unsealed is common-sense practice, but safety experts point out that traffic is the real danger on Halloween night. See Halloween Costume Safety for practical advice.

New twists on an old ritual

Trick-or-treating keeps evolving:

Etiquette for the modern door

A few unwritten rules keep the night friendly:

  1. Porch light on means "come on up." Lights off usually means the house isn't participating.
  2. Say it, then say thanks. "Trick or treat!" at the door and "Thank you!" on the way out.
  3. Take one or two, unless the host says otherwise.
  4. Stay on sidewalks and paths rather than cutting across lawns and decorations.
  5. Respect age. There's no official cutoff, but many teens shift to helping younger siblings or handing out candy.

For hosts, Best Practices for a Trick-or-Treat-Friendly Home covers lighting, candy stations and accessible walkways.

From soul cakes to fun-size bars

Trick-or-treating is a thousand-year-old idea in a seventy-year-old form. The prayers have been replaced by a rhyme, the soul cakes by miniature chocolate bars, and the threat of tricks by little more than a giggle. What remains is the core of the custom: a community opening its doors, one night a year, to children in disguise.

Questions & answers

When did trick-or-treating start?

Door-to-door customs at Halloween go back centuries in Britain and Ireland, but trick-or-treating in its modern American form began in the 1920s and 1930s and became a national ritual in the 1950s.

What does 'trick or treat' actually mean?

It is a playful threat: give the visitor a treat, or they will play a trick on you. It reflects early 20th-century Halloween, when pranks were common and households handed out treats partly to avoid them.

What is a teal pumpkin?

A teal pumpkin signals that a house offers non-food treats such as stickers, glow sticks or small toys, so children with food allergies can join in. The Teal Pumpkin Project was launched in 2014 by the nonprofit Food Allergy Research & Education (FARE).

Is Halloween candy tampering common?

No. Researchers who studied decades of reports found no confirmed case of a stranger randomly poisoning trick-or-treat candy. It is still sensible to check wrappers, but the bigger risk on Halloween night is traffic.

More from Halloween Origins, Traditions & Folklore

Part of a 50-article Halloween series by Prashant Dhingra.