We demonstrate in models of ovarian cancer, melanoma, and glioblastoma that infusions of nanoparticles formulated with mRNAs encoding interferon regulatory factor 5 in combination with its activating kinase IKKβ reverse the immunosuppressive, tumor-supporting state of TAMs and reprogram them to a phenotype that induces anti-tumor immunity and promotes tumor regression. Here, IRF5 is linked to melanoma.