01 -
Preheat your oven to 375°F (190°C). Line a 12-cup muffin tin with paper liners or grease the cups lightly.
02 -
In a large mixing bowl, whisk together the flour, sugar, baking soda, baking powder, salt, and cinnamon until well combined.
03 -
In a separate bowl, whisk together the vegetable oil, eggs, and vanilla extract until smooth.
04 -
Stir in the grated carrots, crushed pineapple, and shredded coconut into the wet mixture.
05 -
Pour the wet ingredients into the dry ingredients and stir until just combined. Be careful not to overmix – it's okay if there are a few lumps. Gently fold in the raisins or walnuts if using.
06 -
Divide the batter evenly among the muffin cups, filling each about 2/3 full.
07 -
Bake in the preheated oven for 18-20 minutes, or until a toothpick inserted into the center of a muffin comes out clean.
08 -
Allow the muffins to cool in the pan for 5 minutes before transferring them to a wire rack to cool completely.