That damp, earthy, musty smell coming from a wall is more than an annoyance; it is your home telling you moisture and mold have moved in behind the drywall. Figuring out how to get rid of mold smell in walls means treating the cause, not just masking the odor with an air freshener that fades by dinnertime. The smell itself comes from microbial volatile organic compounds, gases that mold releases as it grows and feeds on the paper, wood, and dust inside your wall cavity.
The good news is that most musty wall odors are fixable with tools you already own or can buy for under $50, as long as the problem is caught before it spreads across whole rooms. This guide walks you through finding the moisture source, killing the mold, drying the cavity, and keeping the smell from ever coming back.
Track Down the Moisture Source First
Mold cannot grow without water, so the smell always points back to a moisture problem you need to solve before anything else. Start by inspecting the obvious suspects: a leaking pipe behind the wall, a roof or window that lets rain seep in, a basement that wicks up ground moisture, or a bathroom where poor ventilation lets steam soak the drywall day after day. Run your hand along the wall and feel for cool, damp spots, and look for bubbling paint, warped baseboards, or faint brown tide-line stains that mark where water has traveled.
A cheap moisture meter, about $25 to $40 at any hardware store, takes the guesswork out of it. Press the probes against the drywall in several places; readings above 15 to 17 percent signal excess moisture that feeds mold. If you find a plumbing leak, shut off the water and repair it, or call a plumber, before you spend a minute on the smell. Skipping this step guarantees the odor returns within weeks no matter how thoroughly you clean.
Confirm You Are Dealing With Mold
A musty smell with no visible growth usually means the mold is hidden inside the wall cavity or behind furniture. Sniff along the baseboards and electrical outlets, where cavity air escapes, and the smell will often grow stronger near the source. Remove an outlet cover, kill the breaker first for safety, and shine a flashlight into the gap; a foul odor or dark specks on the back of the drywall confirms hidden growth.
Look also for surface clues that betray what is behind the wall, such as discoloration, peeling wallpaper, or a chalky white efflorescence on masonry. If the affected area is smaller than roughly ten square feet, the EPA considers it a reasonable do-it-yourself job. Anything larger, or any sign that mold has spread into insulation or wall framing, warrants a professional remediation company, because disturbing a large colony can spread spores throughout your home.
How to Get Rid of Mold Smell in Walls Room by Room
Once the leak is fixed, protect yourself before you clean. Wear an N95 respirator, rubber gloves, and safety goggles, because scrubbing mold sends spores into the air. Open windows and set up a box fan blowing outward to exhaust spores rather than circulate them through the house. Cover nearby furniture and lay down a drop cloth to catch debris.
For surface mold on painted drywall, mix a cleaning solution and scrub the affected area thoroughly. A solution of one cup of borax dissolved in a gallon of warm water works well and, unlike bleach, leaves a residue that keeps mold from regrowing. White vinegar, applied undiluted from a spray bottle and left for an hour before wiping, kills roughly 80 percent of common mold species and neutralizes odor at the same time. Avoid chlorine bleach on porous drywall; it whitens the surface stain but its water content soaks into the paper and can actually feed regrowth beneath. If the drywall is soft, crumbling, or the mold has penetrated all the way through, that section must be cut out and replaced, since porous material cannot be fully cleaned once mold roots into it.
When growth is confirmed inside the cavity, you will likely need to open the wall. Cut out the damaged drywall a foot beyond the visible or smelled damage using a utility knife or drywall saw, bag the debris in sealed plastic, and treat the exposed studs and back surfaces with your borax or vinegar solution. Let everything dry completely before you even think about closing the wall back up.
Dry the Cavity Completely
Killing the mold does nothing if the cavity stays damp, because leftover moisture simply grows a fresh colony within days. This drying stage is where most DIY attempts fail. Run a dehumidifier in the room and aim to bring the indoor humidity down to between 30 and 50 percent, the range mold cannot thrive in. A hygrometer, about $15, lets you monitor the number so you are not guessing.
Point fans directly at the opened cavity and keep them running for two to three full days. In stubborn cases, a small amount of heat from a space heater speeds evaporation, but never leave one unattended near building materials. Recheck the framing with your moisture meter before closing the wall; you want readings back under 15 percent. Rushing this step is the single most common reason the musty smell comes right back, so give it the time it needs even when the wall looks dry on the surface.
Neutralize Lingering Odors
Even after the mold is dead and the cavity is dry, absorbed odor molecules can cling to surrounding materials. Set out bowls of white vinegar, or better, activated charcoal, which adsorbs odor compounds far more aggressively than baking soda. Place several open containers of activated charcoal near the treated area for a few days and the musty note fades noticeably.
For a stronger reset in an unoccupied room, an ozone generator can break down odor molecules the source cleaning missed, but only run it in an empty, sealed space and ventilate thoroughly for several hours before anyone reenters, since ozone is a respiratory irritant. Wiping down walls, trim, and nearby hard surfaces with a vinegar solution helps lift odor that settled on paint. Once the wall is sealed back up, priming with a mold-resistant, stain-blocking primer such as Kilz or Zinsser locks any residual odor behind the paint film.
Prevent the Musty Smell From Returning
Long-term success comes down to keeping walls dry. Fix the small leaks and drips you tend to ignore, and make sure bathrooms and kitchens have working exhaust fans vented to the outside, not just into the attic. Run those fans for at least 20 minutes after every shower. In humid climates or damp basements, a dehumidifier running through the muggy months is the cheapest insurance you can buy.
Improve airflow by leaving gaps behind large furniture on exterior walls, since trapped, stagnant air against a cool surface invites condensation and mold. Check your gutters and grading so rainwater drains away from the foundation instead of pooling against it. Do these things and the wall cavity stays too dry for mold to survive, which means the musty smell that sent you searching for answers stays gone for good rather than returning with the next rainy season.
When to Call a Professional
Some situations move beyond a weekend DIY project, and recognizing them protects both your health and your home. If the musty odor covers a large area, keeps returning after you have fixed the obvious leaks, or comes paired with visible growth spreading across more than ten square feet, bring in a licensed mold remediation contractor. Professionals carry commercial air scrubbers with HEPA filtration, negative-air machines that keep spores contained, and moisture-mapping tools that find hidden water you cannot reach behind finished walls.
Health is the other trigger. If anyone in the household has asthma, allergies, a weakened immune system, or has started coughing, sneezing, or getting headaches that ease when they leave the house, do not gamble on a DIY cleanup. Certain molds produce irritants that hit sensitive people hard, and disturbing a colony without proper containment can make symptoms worse. A professional inspection runs roughly $300 to $600, and full remediation of a contaminated wall section often falls between $1,500 and $5,000, money well spent when the alternative is a recurring problem that erodes both your air quality and your drywall.