Objectives: Military training centers and seagoing vessels are often environments at high risk for the spread of COVID-19 and other contagious diseases, because military trainees and personnel arrive after traveling from many parts of the country and live in congregate settings. We examined whether levels of SARS-CoV-2 genetic material in wastewater correlated with SARS-CoV-2 infections among military personnel living in communal barracks and vessels at US Coast Guard training centers in the United States. Methods: The Coast Guard developed and established 3 laboratories with wastewater testing capability at Coast Guard training centers from March 2021 through August 2022. We analyzed wastewater from barracks housing trainees and from 4 Coast Guard vessels for the presence of SARS-CoV-2 genes N and E and quantified the results relative to levels of a fecal indicator virus, pepper mild mottle virus. We compared quantified data with the timing of medically diagnosed COVID-19 infection among (1) military personnel who had presented with symptoms or had been discovered through contact tracing and had medical tests and (2) military personnel who had been discovered through routine surveillance by positive SARS-CoV-2 antigen or polymerase chain reaction test results. Results: Levels of viral genes in wastewater at Coast Guard locations were best correlated with diagnosed COVID-19 cases when wastewater testing was performed twice weekly with passive samplers deployed for the entire week; such testing detected ≥1 COVID-19 case 69.8% of the time and ≥3 cases 88.3% of the time. Wastewater assessment in vessels did not continue because of logistical constraints. Conclusion: Wastewater testing is an effective tool for measuring the presence and patterns of SARS-CoV-2 infections among military populations. Success with wastewater testing for SARS-CoV-2 infections suggests that other diseases may be assessed with similar approaches.