Earwigs hate dry conditions the most, as they prefer moist environments to thrive. They also dislike certain natural substances that can be used as repellents. Diatomaceous earth, a natural powder, dehydrates and kills earwigs, making it an effective deterrent. Use essential oils such as eucalyptus, peppermint, and tea tree oil, as they also repel earwigs.You can make a spray by mixing these essential oils with water and applying it around areas where earwigs are likely to enter or hide. Keeping your home dry and using these natural repellents can help keep earwigs at bay.