ImportanceIdentification of long-term post–COVID-19 symptoms among hospitalized and nonhospitalized patients is needed.ObjectiveTo compare the presence of post–COVID-19 symptoms 2 years after acute SARS-CoV-2 infection between hospitalized and nonhospitalized patients.Design, Setting, and ParticipantsA cross-sectional cohort study was conducted at 2 urban hospitals and general practitioner centers from March 20 to April 30, 2020, among 360 hospitalized patients and 308 nonhospitalized patients with acute SARS-CoV-2 infection during the first wave of the pandemic. Follow-up was conducted 2 years later.Main Outcomes and MeasuresParticipants were scheduled for a telephone interview 2 years after acute infection. The presence of post–COVID-19 symptoms was systematically assessed, with particular attention to symptoms starting after infection. Hospitalization and clinical data were collected from medical records. Between-group comparisons and multivariate logistic regressions were conducted.ResultsA total of 360 hospitalized patients (162 women [45.0%]; mean [SD] age, 60.7 [16.1] years) and 308 nonhospitalized patients (183 women [59.4%]; mean [SD] age, 56.7 [14.7] years) were included. Dyspnea was more prevalent at the onset of illness among hospitalized than among nonhospitalized patients (112 [31.1%] vs 36 [11.7%]; P < .001), whereas anosmia was more prevalent among nonhospitalized than among hospitalized patients (66 [21.4%] vs 36 [10.0%]; P = .003). Hospitalized patients were assessed at a mean (SD) of 23.8 (0.6) months after hospital discharge, and nonhospitalized patients were assessed at a mean (SD) of 23.4 (0.7) months after the onset of symptoms. The number of patients who exhibited at least 1 post–COVID-19 symptom 2 years after infection was 215 (59.7%) among hospitalized patients and 208 (67.5%) among nonhospitalized patients (P = .01). Among hospitalized and nonhospitalized patients, fatigue (161 [44.7%] vs 147 [47.7%]), pain (129 [35.8%] vs 92 [29.9%]), and memory loss (72 [20.0%] vs 49 [15.9%]) were the most prevalent post–COVID-19 symptoms 2 years after SARS-CoV-2 infection. No significant differences in post–COVID-19 symptoms were observed between hospitalized and nonhospitalized patients. The number of preexisting medical comorbidities was associated with post–COVID-19 fatigue (odds ratio [OR], 1.93; 95% CI, 1.09-3.42; P = .02) and dyspnea (OR, 1.91; 95% CI, 1.04-3.48; P = .03) among hospitalized patients. The number of preexisting medical comorbidities (OR, 3.75; 95% CI, 1.67-8.42; P = .001) and the number of symptoms at the onset of illness (OR, 3.84; 95% CI, 1.33-11.05; P = .01) were associated with post–COVID-19 fatigue among nonhospitalized patients.Conclusions and RelevanceThis cross-sectional study suggested the presence of at least 1 post–COVID-19 symptom in 59.7% of hospitalized patients and 67.5% of nonhospitalized patients 2 years after infection. Small differences in symptoms at onset of COVID-19 were identified between hospitalized and nonhospitalized patients. Post–COVID-19 symptoms were similar between hospitalized and nonhospitalized patients; however, lack of inclusion of uninfected controls limits the ability to assess the association of SARS-CoV-2 infection with overall and specific post–COVID-19 symptoms 2 years after acute infection. Future studies should include uninfected control populations.