The Important Exception: Store-Bought Pumpkin Pies With Preservatives
There is one significant exception that changes this entire conversation, and it is the reason your mom might have been doing this for years without anyone getting sick. Many commercially produced pumpkin pies — particularly those sold unrefrigerated at large supermarkets, big-box stores like Costco, or national grocery chains — are manufactured with preservatives and anti-microbial stabilizers that make them genuinely shelf-stable at room temperature.
These pies are cooked at higher temperatures during production and formulated with ingredients specifically designed to extend their safe shelf life without refrigeration. They will typically have a sell-by date printed on the package, and that date tells you how long the pie is safe to eat stored at room temperature. If your family has been leaving a store-bought supermarket pumpkin pie on the counter and nobody has ever gotten sick, there is a reasonable chance the pie contained these preservatives — and it was actually shelf-stable.
However, this exception does not apply to homemade pumpkin pie, pies from small local bakeries, or fresh-baked pies from grocery store bakery departments that do not contain commercial preservatives. Those pies should always be treated as perishable and refrigerated promptly.