Cocamidopropyl betaine (CAPB) is a surfactant used as a thickening or foaming agent. It has some antimicrobial effect. Its use has increased because of its nontoxic, low irritancy features.