The short answer
Carpenter ants showing up around wood that's wet on and off aren't a coincidence. Damp wood is soft wood, and soft wood is easy to tunnel.
The 'intermittent' part is the useful clue. Ants that come and go are usually tracking moisture that comes and goes, like a leak that only weeps under pressure or a wall that only sweats after a shower.
Here's the order that actually works: confirm they're carpenter ants, find the water, fix the water, then treat the nest. Skip the moisture step and they'll be back within weeks.
Most single-nest cases are DIY-friendly, running roughly $20–$80 in supplies. A pro visit with inspection and treatment usually lands between $150 and $600 in 2026.
What's really going on
Carpenter ants need a spot that stays workable. Sound, dry framing is too hard for them to excavate efficiently, so they hunt for wood that moisture has already started to break down.
That's why the classic spots are so predictable: under-sink cabinet bases, the wall behind a shower, window jambs, door frames, roof-edge fascia, and the sill plate near a leaky foundation.
The nest you find indoors is often a satellite. The main colony, with the queen, may live outside in a dead tree limb or old stump, sending workers along a moisture trail into your house.
So when someone says 'I killed a bunch of them and they came back,' that's usually because they hit foragers and left the moisture and the real nest untouched.
The single most common driver techs find is a slow plumbing leak that only wets the wood during use. It's maddening to spot because the wood is dry by the time you go looking.