The spread of methicillin-resistant Staphylococcus aureus (MRSA), in which the mecA gene mediates resistance, threatens the treatment of staphylococcal diseases. The aims were to determine the effect of wastewater treatment processes on mecA gene concentrations, and the prevalence of S. aureus and MRSA over time. To achieve this a municipal wastewater treatment plant was investigated for the mecA gene, S. aureus and MRSA, using real-time PCR assays. Water samples were collected monthly for one year, at eight sites in the plant, reflecting different aspects of the treatment process. The mecA gene and S. aureus could be detected throughout the year at all sampling sites. MRSA could also be detected, but mainly in the early treatment steps. The presence of MRSA was verified through cultivation from inlet water. The concentration of the mecA gene varied between months and sampling sites, but no obvious seasonal variation could be determined. The wastewater treatment process reduced the mecA gene concentration in most months. Taken together our results show that the mecA gene, S. aureus and MRSA occur over the year at all sites investigated.