Palmitoyltransferase that could catalyze the addition of palmitate onto various protein substrates (PubMed:18794299, PubMed:19299482). Palmitoyltransferase for HTT and GAD2 (PubMed:19299482, PubMed:20548961). May play a role in Mg(2+) transport (PubMed:18794299). hexadecanoyl-CoA + L-cysteinyl-[protein] = CoA + S-hexadecanoyl-L-cysteinyl-[protein] Interacts (via ANK repeats) with CLIP3 (PubMed:26198635). Interacts (via ANK repeats) with DNAJC5 (via C-terminus) (PubMed:25253725, PubMed:26198635). Interacts (via ANK repeats) with HTT (PubMed:26198635). Interacts (via ANK repeats) with MAP6 (PubMed:26198635). Interacts (via ANK repeats) with SNAP23 (PubMed:26198635). Interacts (via ANK repeats) with SNAP25 (PubMed:25253725, PubMed:26198635). May interact (via ANK repeats) with SPRED2 (PubMed:28882895). Low extracellular Mg(2+) induces increase in Golgi and in post-Golgi vesicles. Expressed in most adult tissues, but at low levels in the liver, skin, and lung. Expressed most highly in the liver, lung, and brain at posnatal day 2 (P2). In contrast, expressed most highly in skin at P8 in the epithelium surrounding the hair follicles. Up-regulated by low extracellular Mg(2+). The DHHC domain is required for palmitoyltransferase activity. Knockdown of the expression in mice through ENU-induced stop codon in the gene or targeted knockout of the gene result is similar phenotypes (PubMed:20548961). Mutant mice are normal at birth, but by postnatal day 7 appear smaller (PubMed:20548961). They display generalized hypotrichosis and hair loss with altered skin that is loose with wrinkling and folding (PubMed:20548961). Kyphosis and osteoporosisis are also observed (PubMed:20548961). Finally, a generalized amyloid deposition results in early death (PubMed:20548961). Belongs to the DHHC palmitoyltransferase family. AKR/ZDHHC17 subfamily.