Wastewater treatment plants (WWTPs) are an important reservoir in the development of drug resistance phenomenon and they provide a potential route of antibiotic resistance gene (ARGs) dissemination in the environment. The aim of this study was to assess the role of WWTPs in the spread of ARGs. Untreated and treated wastewater samples that were collected from thirteen Polish WWTPs (applying four different modifications of activated sludge–based treatment technology) were analyzed. The quantitative occurrence of genes responsible for the resistance to beta-lactams and tetracyclines was determined using the real-time PCR method. Such genes in the DNA of both the total bacterial population and of the E. coli population were analyzed. Among the tested genes that are responsible for the resistance to beta-lactams and tetracyclines, blaOXA and blaTEM and tetA were dominant, respectively. This study found an insufficient reduction in the quantity of the genes that are responsible for antibiotic resistance in wastewater treatment processes. The results emphasize the need to monitor the presence of genes determining antibiotic resistance in the wastewater that is discharged from treatment plants, as they can help to identify the hazard that treated wastewater poses to public health.