A computer model for predicting ammonia release rates from manure pits in pig buildings is presented. The model couples ammonia diffusion and generation in the manure with ammonia release from the manure surface. Ammonia release rates and concentration profiles in the manure are computed over a storage period for given pit designs, manure properties, and pit environmental conditions. As an example, computer simulations were performed for a pit designed with a final manure depth of 1.0 m in finishing pig buildings, operated at 1.8% initial total solids content in the manure, 2 temperatures (20 and 30 degrees C), and 3 velocities 2 cm above the manure surface (0, 0.2 and 0.5 m s-1). The results show that air velocity and manure temperature have significant effects on ammonia release rates. Lower layers of manure in the pit have lower pH and contain more ammoniacal nitrogen and nutrients than the higher layers.