Yes. A roof leak is one of the most common causes of attic mold. Mold needs three things: moisture, something to feed on, and time. A leaking roof supplies the moisture, and the wood roof deck and paper backed insulation supply the food.
EPA guidance is to dry wet building materials within 24 to 48 hours to prevent mold growth. In an attic, nobody is watching, so a small leak can stay wet for weeks.

Here's the thing: an attic is dark, rarely visited, and full of wood. On top of that, airflow is often poor, so moisture hangs around.
Slow leaks are actually worse than big ones. A big leak drips onto your ceiling and you call someone fast. A slow leak around a vent pipe or chimney might just soak the same patch of decking every time it rains, and nobody notices until the smell shows up.
Most attic leaks don't come from the middle of a shingle. They start where the roof changes direction or something pokes through it:
Here's something many people don't realize: the water can travel along a rafter or the underside of the deck before it drips. So the moldy spot may be a few feet away from the actual hole. A good inspection traces the water trail back uphill to its source, then checks the shingles and flashing above that spot from the outside.
Grab a flashlight and check the attic after a heavy rain. Look for:
Downstairs, you may notice a stained ceiling first. (Not every stain is the roof, by the way. Here's why your ceiling can be stained when the roof isn't leaking.) For the outside view, check these signs of a leaking roof.

Not all attic mold comes from a leak. The pattern tells you which one you're dealing with:
This matters because the fixes are different. A leak needs a roof repair. Condensation needs better ventilation and air sealing. Learn more about preventing roof condensation and what a ridge vent does.
Mold can trigger allergies, asthma, and breathing irritation, especially for kids, older adults, and anyone with lung problems. Attic air can also leak down into the house through light fixtures and the attic hatch.
The bigger worry for your house is rot. Wood that stays wet loses strength. Over time, a long term leak can soften the roof decking enough that it needs to be replaced.
Alright, let's talk about doing this in the right order. Clean the mold before fixing the leak, and it just grows back.
One tip: don't just paint over moldy wood. Sealing over active mold without cleaning and drying first only hides the problem.
Of course, none of this comes free. Broad ranges for planning, not quotes:
Price swings with attic size, access, and how far the mold spread. Catching it early keeps it on the low end.
Weather can push the roof repair back a few days. And if decking is replaced as part of a bigger job, your town may require a permit. Check before work starts.
A few planning surprises worth knowing about. Shingle colors get discontinued, so a patch on an older roof may not match perfectly. Some attics are too tight to work in safely, which adds labor time. And if you're selling the house, a buyer's inspector will likely spot old mold stains, so keep your repair receipts and any cleanup paperwork handy. (If you're on the buying side, here's why a roof inspection before buying a house is worth it.)
Many homeowners policies cover sudden damage, like a storm tearing off shingles. They often don't cover slow leaks, wear and tear, or mold from long term moisture. Mold coverage is often limited or excluded, so read your policy carefully.
Take photos, write down dates, and report storm damage quickly. Here's what to know about whether homeowners insurance covers roof leaks.
A leaking roof can absolutely cause attic mold, and slow leaks are the sneakiest. Stop the leak first, dry the attic, remove the mold, and replace anything that's wet or rotted.
What should you consider next? Take a look in your attic this week. If you see stains, wet insulation, or dark spots on the wood, call a roofing company to find the leak and check the decking. If the roof is near the end of its life, a roof replacement may fix the leak, the decking, and the ventilation all at once.