Trick-or-treating is a traditional Halloween custom for children and adults in some countries. During the evening of Halloween, on October 31, people in costumes travel from house to house, asking for treats with the phrase "trick or treat". The "treat" is some form of confectionery, usually candy/sweets, although in some cultures money is given instead. The "trick" refers to a threat, usually idle, to perform mischief on the resident(s) or their property if no treat is given. Some people signal that they are willing to hand out treats by putting up Halloween decorations outside their doors; houses may also leave their porch lights on as a universal indicator that they have candy; some simply leave treats available on their porches for the children to take freely, on the honor system.
The history of trick-or-treating traces back to Scotland and Ireland, where the tradition of guising, going house to house at Halloween and putting on a small performance to be rewarded with food or treats, goes back at least as far as the 16th century, as does the tradition of people wearing costumes at Halloween. There are many accounts from 19th-century Scotland and Ireland of people going house to house in costume at Halloween, reciting verses in exchange for food, and sometimes warning of misfortune if they were not welcomed. In North America, the earliest known occurrence of guising - children going from house to house for food or money while disguised in costume - is from 1911, when children were recorded as having done this in the province of Ontario, Canada. The interjection "trick or treat!" was then first recorded in the same Canadian province of Ontario in 1917. While going house to house in costume has long been popular among the Scots and Irish, it is only in the 2000s that saying "trick or treat" has become common in Scotland and Ireland. Prior to this, children in Ireland would commonly say "help the Halloween party" at the doors of homeowners.
The activity is prevalent in the Anglospheric countries of the United Kingdom, Ireland, the United States, Canada, and Australia.