Here are some ways to prevent pumpkins from rotting:
- Bleach: You can prevent uncarved or carved pumpkins from rotting by spraying them with bleach all over, including the inside. Use a solution of one tablespoon of bleach per quart of water.
- WD-40: Some suggest coating uncarved pumpkins in WD-40. To do this, simply spray WD-40 all over the surface of the pumpkin and wipe off the excess with a rag.
- Vinegar-water solution: Wipe down all surfaces of the pumpkin with a vinegar-water solution (1 part vinegar to 1 part water) to kill bacteria and fungal spores.
- Hot sauce and water: Mix hot sauce with water and spray on the pumpkin every few days or after it rains.
- Petroleum jelly: Applying petroleum jelly to the carved edges of your pumpkin helps retain moisture and prevent shriveling. Be sure to wash with the bleach solution first, then let dry before "moisturizing".
- Peppermint: Dilute one tablespoon of peppermint dish soap or peppermint essential oil in a quart of water. Pour the mixture into a clean spray bottle and lightly spray the inside of the carved pumpkin. Peppermint is a natural anti-fungal and will slow the decomposition process, significantly extending the life of your pumpkin.
- Acrylic spray: Acrylic spray is a moisture-resistant adhesive that will keep your pumpkin from rotting or getting moldy. Simply spray the adhesive on and it will create a barrier that will keep the pumpkin fresh.
Note that bleach is harmful to wildlife, including the insects who might munch on a pumpkin, and the animals who eat them.