The outdoor cattle keeping permits changing the air exchange intensity to prevent hazards during the day. It is important to organize such air exchange during the outdoor run which would provide the required air quality, including the CO2 concentration in the internal airspace by the moment of the cattle’s return to the stalls. The analytical solution of the problem of determining the changes in the average airspace CO2 concentration for a certain period of time at predetermined air exchange intensity is considered in the article.