To make this recipe gluten free, substitute the chocolate cake mix with a certified gluten-free chocolate cake mix of equal size. Ensure that the cocoa powder, powdered sugar, and pecans are labeled gluten free, as cross-contamination can occur during processing.