There are several theories or methods of how to preserve a carved pumpkin beyond the typical 3-4 days. They all recommend soaking the pumpkin overnight or longer in a water and bleach solution. This kills the fungi and bacteria that rot the pumpkin. Then pull it out and let it air dry. There is disagreement over what to do next.