Here, we demonstrated that the palmitoylation of MAVS at cysteine 79 (C79), which is catalyzed mainly by the palmitoyl S-acyltransferase ZDHHC12, was essential for MAVS aggregation and antiviral innate immunity upon viral infection in macrophages. This evidence concerns the gene MAVS and viral infectious disease.