Stink bug odor can last up to an hour outdoors and longer inside of a home, depending on the ventilation. Stink bugs produce this odor when frightened by a predator or when crushed.