Cocamidopropyl betaine (CAPB) isa synthetic detergent and surfactant that's used in many personal care products and household cleaners: CAPB is a mixture of organic compounds derived from coconut oil and dimethylaminopropylamine (DMAPA).It's a thick, pale yellow liquid with a bland odor. CAPB is used in products like: