A squirrel repellant, either commercially available or prepared at home, is useful in keeping squirrels from eating pumpkins. An owl statue encourages squirrels to look elsewhere for food. If other attempts fail, a motion-activated sprinkler is effective at frightening the rodents away from the pumpkin patch.

Manufacturers prepare a product to protect crops from both squirrels and deer. They use scents that the pests find unattractive, such as rotten eggs. While the smell dissipates as the product dries, users often find it offensive during application. Homemade repellents include sprinkling dog hair around the area, spraying pumpkins with peppermint oil or coating them with petroleum jelly. Hair spray and spray lacquer are also effective, but they make the shell inedible. The hair spray requires frequent application.

Owls are predators for squirrels, and plastic owl replicas help to frighten them away from pumpkins. Moving the owl to a new location every few days helps to prevent the squirrels from realizing it is not real and ignoring it.

Motion-sensor sprinklers, like those used to keep cats out of flowerbeds, are also effective at keeping squirrels away from pumpkins. The automated device ensures the sprinkler sprays the squirrel each time he approaches the pumpkin, and the pest soon gets the idea that these pumpkins are off limits.