Palmitoyltransferase that catalyzes the addition of palmitate onto various protein substrates and is involved in a variety of cellular processes. Has no stringent fatty acid selectivity and in addition to palmitate can also transfer onto target proteins myristate from tetradecanoyl-CoA and stearate from octadecanoyl-CoA (By similarity). hexadecanoyl-CoA + L-cysteinyl-[protein] = CoA + S-hexadecanoyl-L-cysteinyl-[protein] L-cysteinyl-[protein] + tetradecanoyl-CoA = CoA + S-tetradecanoyl-L-cysteinyl-[protein] L-cysteinyl-[protein] + octadecanoyl-CoA = CoA + S-octadecanoyl-L-cysteinyl-[protein] Monomer. Homodimer. The monomeric form has a higher catalytic activity. Translocates to postsynaptic density when synaptic activity decreases. Probably maternally supplied, the zygotic expression is detected early during development at the 512-cell stage but decreases after 7.5 hpf. The DHHC domain is required for palmitoyltransferase activity. Autopalmitoylated. Belongs to the DHHC palmitoyltransferase family.