Wastewater surveillance plays an important role in the monitoring of infections of SARS-CoV-2 at the community level. We report here the determination of SARS-CoV-2 and differentiation of its variants of concern in 294 wastewater samples collected from two major Canadian cities from May 2021 to March 2023. The overall method of analysis involved extraction of the virus and viral components using electronegative membranes, in situ stabilization and concentration of the viral RNA onto magnetic beads, and direct analysis of the viral RNA on the magnetic beads. Multiplex reverse transcription quantitative polymerase chain reaction (RT-qPCR) assays, targeting specific and naturally selected mutations in SARS-CoV-2, enabled detection and differentiation of the Alpha, Beta, Gamma, Delta, and Omicron variants. An Omicron triplex RT-qPCR assay targeting three mutations, HV 69−70 deletion, K417N, and L452R, was able to detect and differentiate the Omicron BA.1/BA.3, BA.2/XBB, and BA.4/5. This assay had efficiencies of 90−104% for all three mutation targets and a limit of detection of 28 RNA copies per reaction. Analyses of 294 wastewater samples collected over a two-year span showed the concentrations and trends of Alpha, Beta, Gamma, Delta, and Omicron variants as they emerge in two major Canadian cities participating in the wastewater surveillance program. The trends of specific variants were consistent with clinical reports for the same period. At the beginning of each wave, the corresponding variants were detectable in wastewater. For example, RNA concentrations of the BA.2 variant were as high as 10 4 copies per 100 mL of wastewater collected in January 2022, when approximately only 50−60 clinical cases of BA.2 infection were reported in Canada. These results show that the strategy and highly sensitive assays for the variants of concern in wastewater are potentially useful for the detection of newly emerging SARS-CoV-2 variants and other viruses for future community biomonitoring.