Molecular size and affinity. Lauric acid, which makes up roughly half of coconut oil, is a relatively small, straight, saturated chain with a high affinity for hair protein, so it can pass between the cuticle scales and into the cortex rather than sitting on the surface. Larger and more branched oils remain on the outside, which is why coconut oil is used specifically for reducing protein loss.