Red cactus pear has significant antioxidant activity and potential as a colorant in food, due to the presence of betalains. However, the betalains are highly thermolabile, and their application in thermal process, as extrusion cooking, should be evaluated. The aim of this study was to evaluate the effect of extrusion conditions on the chemical components of red cactus pear encapsulated powder. Cornstarch and encapsulated powder (2.5% w/w) were mixed and processed by extrusion at different barrel temperatures (80, 100, 120, 140 °C) and screw speeds (225, 275, 325 rpm) using a twin-screw extruder. Mean residence time (trm), color (L, a, b), antioxidant activity, total polyphenol, betacyanin, and betaxanthin contents were determined on extrudates, and pigment degradation reaction rate constants (k) and activation energies (Ea) were calculated. Increases in barrel temperature and screw speed decreased the trm, and this was associated with better retentions of antioxidant activity, total polyphenol, betalain contents. The betacyanins k values ranged the-0.0188 to-0.0206/s and for betaxanthins ranged of-0.0122 to-0.0167/s, while Ea values were 1.5888 to 6.1815 kJ/mol, respectively. The bioactive compounds retention suggests that encapsulated powder can be used as pigments and to provide antioxidant properties to extruded products.