3Peppermint oil; Mice hate the smell of peppermint oil. Add a few drops to a cotton ball and wipe it on the baseboards in your kitchen and pantry. Add a little more oil to the cotton balls and leave them in the corners of cabinets or shelves where food is stored.