In activated sludge, the antibiotic resistance genes (ARGs) can be present either in the intracellular (iDNA) or extracellular DNA fraction (exDNA). Recent advances in the exDNA extraction methodology allow a better profiling of the pool of ARGs. However, little is known about how stress conditions modify the distribution of ARGs between both DNA fractions. Here, we performed two batch tests for analyzing the effects of two different stress conditions, namely nutrient starvation and high concentrations of sulfamethoxazole (1, 10 and 150 mg L-1) in activated sludge. We tracked by qPCR the resulting relative abundances of four target genes, namely the universal 16S rRNA gene, the class 1 integron-integrase gene intI1, and the sulfonamide resistance genes sul1 and sul2 in both the iDNA and exDNA fractions. In the exDNA pool, unlike starvation, which provoked a decrease of 1-2 log10 [copies] ng DNA-1 in the concentration of sul1 and intI1, the presence of sulfamethoxazole did not influence the abundances of sul1 and sul2. However, high concentrations of sulfamethoxazole (150 mg L- 1) selected for microorganisms harboring sul1 and, more remarkably, sul2 genes in their iDNA during their exponential growth phase. The abundances of intI1 and sul1 were positively correlated in the exDNA fraction (r>0.7), whereas no significant correlation (p<0.05) between the abundance of these two genes was found in the iDNA fraction of the sludge. High SMX concentrations influenced the abundance of ARGs in the iDNA; their abundance in the exDNA was influenced by nutrient limitations. Further studies should consider the profiling of exDNA fractions because of the relationship between ARGs and mobile genetic elements. Besides, the surveillance of antimicrobial resistance is encouraged in wastewater treatment plants facing high antibiotic concentrations.