In North America, trick-or-treating has been a Halloween tradition since the late 1920s. In Britain and Ireland the tradition of going house-to-house collecting food at Halloween goes back at least as far as the 16th century, as had the tradition of people wearing costumes at Halloween.