A ceiling patch that looked clean when it was painted can start to smell musty a few weeks later. Homeowners often read the smell as paint curing, or as the house being closed up, and they wait. Sometimes that is right. Often it means water is still reaching the drywall, or it reached the framing and insulation before the patch went up and never fully dried. The smell is a clue about the attic, not the ceiling, so the next step is to go look at the space above the stain.
Leak and repair
Start with the attic, in daylight, with a flashlight and a pair of old gloves. Find the area directly above the patched spot. Look at the underside of the roof deck, which is the plywood or OSB you see between the rafters. Dark staining that follows the grain, soft or spongy wood when you press a screwdriver into it, and white crusty deposits on the nail tips all point to water that came through and stayed. Check the insulation too. Batts that are matted, gray, or damp to the touch have been wet, and blown-in insulation that clumps when you squeeze it has been holding moisture. Smell is useful here. If the attic smells sour or like wet cardboard at the stain location and not elsewhere, the water source is likely close to that spot.
Next, check the timing. Go into the attic during or just after the next rain, and bring a helper and a second light. Water that is moving will show up as a drip, a darkening streak, or wet sheathing that is still shiny. If nothing moves in a steady rain, the leak may be intermittent, which is common when the path is through a lifted shingle tab or a small gap at a flashing. Mark the wet area on the deck with a pencil and write the date beside it. A dated mark is more useful to a roofer than a memory of which storm it was.
St. Louis adds two things to this picture. The first is the freeze-thaw cycle. A small gap at a flashing or under a shingle course can open in a hard January freeze, let water in during the next thaw, and then look dry again by spring. The second is condensation. In a cold attic with poor ventilation, moisture from the house can frost on the nails and drip back onto the insulation in the morning. That water can stain the underside of the deck and soak a patch below, and it looks a lot like a roof leak. The difference is that condensation tends to show along the bottom of the roof in cold mornings and dries by afternoon, while a true leak follows rain. Both are worth knowing about before a crew starts cutting into a roof.
If the attic check shows staining or soft wood, the patch below is not the whole problem. The drywall was only the place where you could see it. The deck under the leak may need to be cut out and replaced in a section, and the insulation above the patch will need to come out and be replaced once the wood is dry. Do not close the ceiling again until the deck has been checked and the insulation has been replaced or confirmed dry. A new coat of paint over a damp board only hides the next stain, and the smell will come back.
What it costs
The cost of this kind of repair depends on how much deck is damaged, how many rafter bays the water crossed, and whether the leak source is a single flashing or a longer run such as a valley. A small section of soft sheathing is a limited job. A longer stretch of rot along a rafter line, or water that ran along the top of a wall plate, is a larger one, and the scope has to say which. Insulation replacement is a separate line. So is any drywall repair after the attic work, which should be priced after the attic is dry, not before. Ask for the cost of replacing one sheet of plywood or OSB as a unit price, so you can see how the total grows if the crew finds more soft wood than expected. A roofer who gives you only a lump sum for an unknown amount of decking has not told you what happens if the number changes.
Also ask whether a permit is required for the deck work. In St. Louis County, roof permits are handled through the municipal permit desk for the city where the house sits, and the rules can differ from one municipality to the next. A small section of sheathing replacement may or may not need a permit depending on the scope and the local office. Call the desk for your address before the work starts, and ask the roofer whether they will pull the permit and what it covers.
What to ask
Ask the roofer to look at the attic before the ceiling is closed up again. A good question is where they expect the water entered, and what they found on the deck and insulation directly above the stain. If they say they will not open the attic, ask who will, because the answer decides whether the next smell is a warning or a finished problem.
Ask what the written scope will show. Keys documents damage and puts a written scope with photos and measurements in the homeowner's hands, so you can compare what was found with what was done. Ask for the photos of the deck and insulation before and after replacement, and ask that the measurements of any soft area be written down in square feet and by location, not just described.
Ask whether the crew will return after the next heavy rain to confirm that the leak has stopped. A repair that has been checked only in dry weather has not been tested. Ask who the homeowner calls if the smell returns, and get the office number in writing. Keys can be reached at (314) 220-2333.
Finally, ask what the crew will do about moisture while the attic is open. Wet insulation should be removed and bagged, not pressed back into place. A fan or dehumidifier may be needed in the attic for several days, and the crew should say who sets it up and who checks it. A musty smell has a source, and the source is usually above the ceiling, where a patch cannot reach it.