Preheat the oven to 350°F. Grease two 8 ½-by-4 ½-inch loaf pans with cooking spray.
In a medium bowl, whisk or sift together the flour, baking soda, cinnamon, baking powder, kosher salt, ginger, nutmeg, and allspice.
In a large bowl, use an electric mixer to beat together the sugar, eggs, oil, and vanilla extract until well combined. Add the flour mixture; mix just until combined. Add the carrots and pineapple; mix well. Fold in the raisins and nuts.
Divide the batter evenly between the two prepared pans.
Bake, rotating the pans halfway through, until a toothpick inserted in the center comes out clean, about 50 minutes. Let the bread cool in the pans for 5 minutes, then carefully turn out the loaves to finish cooling on a wire rack.
Notes
Grease or spray the pans really well with non-stick spray so that the bread doesn’t stick. I like to use a baking spray with flour in it. You can also grease the pans and line with parchment paper, leaving an overhang so that you can easily lift the bread out of the pans.
Always use freshly grated carrots that you grate yourself at homewith a box grater. These will be very wet, which is a great way to keep your carrot cake bread moist. Do not use packaged pre-shredded carrots from the grocery store.
To check if the loaf is done, insert a toothpick deep into the center of the bread and make sure that it comes out clean. Don’t cook the loaves for too long, or they may dry out.
For a less-sweet loaf of bread, reduce the granulated sugar to 1 cup.
If you like more mix-ins in every slice, increase the nuts and raisins to 1 cup each. You can also stir in shredded coconut.
This recipe is adapted from The Kitchen on Food Network.