To prepare this recipe gluten-free, substitute the all-purpose flour with a certified gluten-free flour blend that includes xanthan gum or a similar binding agent. Additionally, confirm that your baking powder and cocoa powder are certified gluten-free to avoid cross-contamination. The remaining ingredients are naturally gluten-free, but always check labels to ensure product safety.