The piñata tradition is often traced back to around the 13th century. Its exact origins are debated, but the custom has existed for several centuries.
Over time, the piñata became especially popular in celebrations, where it is used as a festive activity filled with treats and surprises.