The stack effect or chimney effect is the movement of air into and out of buildings through unsealed openings, chimneys, flue-gas stacks, or other containers, resulting from air buoyancy. Buoyancy occurs due to a difference in indoor-to-outdoor air density resulting from temperature and moisture differences. The result is either a positive or negative buoyancy force. The greater the thermal difference and the height of the structure, the greater the buoyancy force, and thus the stack effect. The stack effect helps drive natural ventilation, air infiltration, and fires (e.g. the Kaprun tunnel fire, King's Cross underground station fire and the Grenfell Tower fire).
Since buildings are not totally sealed (at the very minimum, there is always a ground level entrance), the stack effect will cause air infiltration. During the heating season, the warmer indoor air rises up through the building and escapes at the top either through open windows, ventilation openings, or unintentional holes in ceilings, like ceiling fans and recessed lights. The rising warm air reduces the pressure in the base of the building, drawing cold air in through either open doors, windows, or other openings and leakage. During the cooling season, the stack effect is reversed, but is typically weaker due to lower temperature differences.
In a modern high-rise building with a well-sealed envelope, the stack effect can create significant pressure differences that must be given design consideration and may need to be addressed with mechanical ventilation. Stairwells, shafts, elevators, and the like, tend to contribute to the stack effect, while interior partitions, floors, and fire separations can mitigate it. Especially in case of fire, the stack effect needs to be controlled to prevent the spread of smoke and fire, and to maintain tenable conditions for occupants and firefighters. While natural ventilation methods may be effective, such as air outlets being installed closer to the ground, mechanical ventilation is often preferred for taller structures or in buildings with limited space.