Nirmatrelvir-ritonavir reduced the risk for long COVID in adults aged 50 years and older but not in adolescents.