While building codes differ from municipality to municipality, many codes now mandate intake and exhaust ventilation for attics. It’s easy to see why. A properly ventilated attic can save on energy usage and rid the home of excess moisture, preventing mold and mildew.