To make this recipe gluten free, substitute the Nilla wafer cookies with certified gluten-free vanilla wafers or a similar gluten-free cookie. Ensure all other ingredients, particularly the instant pudding mix and mini marshmallows, are labeled gluten free to avoid cross-contamination.