The application of wastewater from pig farming is an alternative to fertilize crops using the effluent produced in the activity. However, in addition to nutrients capable of meeting the needs of crops, this effluent also has residues of antibiotics for livestock use in its composition, which can interfere with the activity of soil microorganisms and reduce the enzymatic activity, leading to nitrogen losses into the atmosphere. Hence, this study evaluated ammonia volatilization behavior after adding swine wastewater with tetracycline-class antibiotics. Pots containing soil received doses of raw and digested wastewater (0.06 and 0.09 L), combined or not with doses of tetracycline (35 µg L-1), chlortetracycline (40.9 µg L-1), and doxycycline (14.9 µg L-1 volatilized NH3 was collected by foam absorbers containing phosphoric acid solution on the soil, which were changed every 48 h, totaling 11 collections at a time. The NH3 volatilization significantly increased when the swine wastewater (raw or digested) was added. The presence of antibiotics reduced NH3 losses, showing that they can inhibit urease activity. Our findings showed that tetracycline-class antibiotics can inhibit urease activity, contributing to the continuity of nitrogen in the soil.