Rapamycin preserves cardiac function in autoimmune myocarditis by reprogramming Cxcl9+ macrophages via the mTORC1–C/EBPβ–OSM axis. This evidence concerns the gene CEBPB and autoimmune myocarditis.