Due to the active usage of antibacterial drugs in animal husbandry, antibiotic residues and antibiotic-resistance genes enter the soil when it is fertilized with manure and compost. In this work, we estimated the spread of antibiotic-resistance genes in the soil when it was fertilized with composts containing oxytetracycline (OTC) and tetracycline-resistance genes. The following mixtures were studied for 35 days: the soil with "clean" compost, the soil with compost and 300 mg kg(-1) OTC, the soil with compost and antibiotic-resistance genes. In the soil treated with composts, the number of bacteria and fungi increased, with the greatest changes in the number of bacteria observed for the soil with compost containing OTC. The addition of compost with the antibiotic and the resistance genes tet(M) and tet(X) to the soil led to the formation of antibiotic resistance in soil microorganisms with the highest number of gene copies for 5-7 days: an average of 3.31.10(6) and 7.77.10(6) copies g(-1), respectively. Both genes, tet(M) and tet(X), but in smaller numbers, were detected in the soil with "clean" compost on days 14-21, respectively.