How to get rid of pantry moths в“ step 3: wash all containers and pantry surfaces with soap and hot water (or vinegar). clean around baseboards, ceiling corners, and spice racks. use bay leaves, clove, or lavender as a natural deterrent. never mix old and new food in the same container.