The two honest channels: inspection findings and stigma
Ask ten people whether pests hurt a home's resale value and most will say yes without being able to say exactly how. There are, in fact, two specific and different mechanisms, and they behave very differently depending on which pest is involved.
The first is structural and procedural: wood-destroying-insect activity — subterranean termites, carpenter ants, powderpost beetles — is a standard checkpoint in a home sale. Many mortgage lenders require a dedicated wood-destroying-insect inspection before closing, and a confirmed finding becomes a concrete negotiation item — treat-before-close, price adjustment, or a seller credit for repair. This channel is well documented because it's baked into how real-estate transactions and financing already work.
The second is psychological and market-based: stigma. The peer-reviewed literature on stigmatized properties finds a general consensus that disclosed stigmas — a documented pest history among them — reduce a property's sale potential and lengthen time-on-market, even where no physical damage remains. This is real, but it's a softer, harder-to-quantify effect than an inspection line item, and it applies differently to a termite history than to, say, a resolved ant problem nobody would ever ask about.

