In molecular biology, palmitoylation is the covalent attachment of fatty acids, such as palmitic acid, to cysteine and less frequently to serine and threonine residues of proteins, which are typically membrane proteins.