Attached to the cell envelope is a layer of ceramide lipids that repel water. Because the lamellar lipid bilayer also repels water, water molecules are held between the cell envelope lipids and the lipid bilayer. This helps maintain the water balance in the stratum corneum by trapping water molecules instead of letting them absorb into the lower layers of the epidermis.

