Due to the rising use of antibiotics and as a consequence of their concentration in the environment an increasing number of antibiotic resistant bacteria is observed. The phenomenon has a hazardous impact on human and animal life. Sulfamethoxazole is one of thesulfonamides commonly detected in surface waters and soil. The aim of the study was to detect sulfamethoxazole resistance genes inactivated sludge biocenosis by use of in situ PCR and/or hybridization. So far no FISH probes for the detection of SMX resistance genes have been described in the literature. We have tested common PCR primers used for SMX resistance genes detection as FISH probes as well as a combination of in situ PCR and FISH. Despite the presence of SMX resistance genes in activated sludge confirmed via traditional PCR, the detection of the genes via microscopic visualization failed.