That depends on if the pie contains eggs and dairy products or not. But if you have to leave the fudge pie out at room temperature, don’t do it for more than two hours just to be safe. This is different from pies that don’t contain eggs or dairy products. These can be stored for up to a week outside of the fridge.