Correction to: Nature Immunology https://doi.org/10.1038/s41590-025-02371-9, published online 8 January 2026.

In the version of this article initially published, there was a labelling error in the Fig. 7f color key, where the label for the gray box, now reading “WT donor DCs > B2m−/− thymus,” appeared originally as “B2m−/− donor DCs > WT thymus.” The label is now amended in the HTML and PDF versions of the article.