The function of ZDHHC20 (zDHHC palmitoyltransferase 20, Ensembl gene identifier ENSG00000180776) is as follows. Palmitoyltransferase that could catalyze the addition of palmitate onto various protein substrates (PubMed:27153536, PubMed:29326245, PubMed:33219126). Catalyzes palmitoylation of Cys residues in the cytoplasmic C-terminus of EGFR, and modulates the duration of EGFR signaling by modulating palmitoylation-dependent EGFR internalization and degradation (PubMed:27153536). Has a preference for acyl-CoA with C16 fatty acid chains (PubMed:29326245). Can also utilize acyl-CoA with C14 and C18 fatty acid chains (PubMed:29326245). May palmitoylate CALHM1 subunit of gustatory voltage-gated ion channels and modulate channel gating and kinetics. Palmitoylates TRIM28 and thereby plays an important role in the DNA damage repair response (PubMed:41109928). {ECO:0000250|UniProtKB:Q5Y5T1, ECO:0000269|PubMed:27153536, ECO:0000269|PubMed:29326245, ECO:0000269|PubMed:33219126, ECO:0000269|PubMed:41109928}. (Microbial infection) Dominant palmitoyltransferase responsible for lipidation of SARS coronavirus-2/SARS-CoV-2 spike protein. Through a sequential action with ZDHHC9, rapidly and efficiently palmitoylates spike protein following its synthesis in the endoplasmic reticulum (ER). In the infected cell, promotes spike biogenesis by protecting it from premature ER degradation, increases half-life and controls the lipid organization of its immediate membrane environment. Once the virus has formed, spike palmitoylation controls fusion with the target cell. .