Wastewater treatment plants (WWTPs) are one of the main transmission sources of pathogenic bacteria and antibiotic-resistance genes in the natural environment. In this study, the presence of specific markers of Bacteroides fragilis group (BFG), B. dorei and genes encoding resistance to beta-lactams (cepA, cfxA), tetracyclines (tet(Q)), macrolides, lincosamides and streptogramins (MLS) mechanism (ermF, linA) was analyzed by standard PCR in the inflows and outflows from three wastewater treatment plants with the activated sludge process. Genetic material was isolated from wastewater samples with the use of two commercial kits for genomic DNA extraction, the Fast DNA SPIN Kit for Soil and the Genomic Micro AX Bacteria Gravity Kit. The quality of the isolated genetic material differed between the tested isolation kits. The Fast DNA SPIN Kit for Soil was more effective in detecting cfxA, ermF and linA genes. However, both extraction kits effectively identified tet(Q), bfr and HF183/BacR287 genes in all wastewater samples. The results of the study indicate that genes specific to BFG and B. dorei, and genes encoding resistance to MLS and tetracyclines are not completely eliminated during the wastewater treatment process.