Moths eat animal products such as wool, leather, and felt. They will chew through synthetic fibers to get to animal stains like sweat.
Dryer sheets placed in a garbage bag with the clothing may also remove the odor. Do not machine dry the clothing until the smell is gone or else it will linger permanently.
Vinegar can also help you clean closets or other areas that smell like mothballs.
Don’t starch your clothing before storage. It’ll be food for the moths.
You may see some people swear by cedar scents or chests. The scents don’t work, and the chests only work because they function as sealed containers. [4] X Research source
Any mice or rats that have eaten poison and died in hidden areas can cause moths, so do make sure to clean everywhere.