GO:0004095: carnitine O-palmitoyltransferase activity
Catalysis of the reaction: palmitoyl-CoA + L-carnitine = CoA + L-palmitoylcarnitine.