While there is no federal law that requires a pest inspection when buying a home, your mortgage lender may require one. For example, you usually need a pest inspection if you’re getting a VA loan. Or if a home inspection shows signs of pests, it’s likely that further professional inspection will be required.