Cupboards can develop a musty smell over time. This is usually caused by a lack of air flow that can contribute to the growth of mold and bacteria. Dampness and dust can also create a musty odor in cupboards, which can make your clothes or linens smell and if left untreated, can grow until it fills the entire room and eventually your home.
Empty the cupboards of all the contents. Put your clothes or dishes somewhere out of the way.
Remove any shelf paper and throw it away. Wipe any dust off of the shelves with a damp cloth or paper towel.
Mix a mild solution of bleach and water, dip a sponge into the solution and wipe off the shelves. Dry with paper towels or a rag. Alternatively, you substitute a half a cup of baking soda for the bleach.
Leave the cupboard doors ajar for several hours to air them out.
Line the cupboard shelves with shelf liner. Trim the edges of the paper if necessary. Reassemble the contents of the cupboards. Place an open container of baking powder in the cupboard, if it is used to store dishes, otherwise put a sachet on one of the shelves to prevent the musty smell from returning.
Put down bug traps. Dead bugs can contribute to unpleasant odors.