It depends on the type of air freshener, the size of the space, and how much air moves through it. Passive fresheners that release scent slowly tend to last longer than sprays, which fade within hours. Heat, direct sunlight, and strong drafts make fragrance evaporate faster, so placing an air freshener in a cool, sheltered spot helps the scent last as long as possible.