Store only clean and dry fabrics in the closet; moths are also attracted to the odors, oil, and moisture in fabrics that are soiled with food or grime. Store out-of-season clothes and linens in airtight containers where moths can't reach them. Instead of stacking in-season clothes, hang them on clothing rods.