Cocoa pod husks are a waste generated during the processing of cocoa beans. We aimed to explore the enzymatic extraction of pectin using cellulases. The extraction process was optimized using a central composite design (CCD) and analyzed by response surface methodology (RSM). The parameters optimized were feedstock concentration (%), enzyme dosage (µL/g), and time (h). Three dependent variables were studied: pectin yield (g/100 g dry husk) (R2 = 97.02), galacturonic acid content (g/100 g pectin) (R2 = 96.90), and galacturonic acid yield (g/100 g feedstock) (R2 = 95.35). The optimal parameters were 6.0% feedstock concentration, 40 µL g−1 of enzyme, and 18.54 h, conditions that produced experimentally a pectin yield of 10.20 g/100 g feedstock, 52.06 g galacturonic acid/100 g pectin, and a yield 5.31 g galacturonic acid/100 g feedstock. Using the chemical extraction method, a yield of 8.08 g pectin/100 g feedstock and a galacturonic acid content of 60.97 g/100 g pectin were obtained. Using assisted sonication, a pectin yield of 8.28 g/100 g feedstock and a galacturonic acid content of 42.77 g/100 g pectin were obtained. Enzymatically optimized pectin has rheological and physicochemical features typical of this biomaterial, which provides an interesting alternative for the valorization of cocoa husks.