Go Back

Gluten-Free Carrot Cake - Moist, Flavorful, and Easy to Make

Prep Time 20 minutes
Cook Time 35 minutes
Total Time 55 minutes
Servings 12 servings

Ingredients

  • For the cake:
  • 2 cups finely grated carrots (about 3–4 medium)
  • 1 3/4 cups gluten-free all-purpose flour blend (1:1 with xanthan gum)
  • 1 cup granulated sugar
  • 1/2 cup light brown sugar, packed
  • 1 teaspoon baking powder
  • 1/2 teaspoon baking soda
  • 1 teaspoon ground cinnamon
  • 1/4 teaspoon ground nutmeg
  • 1/2 teaspoon fine sea salt
  • 3 large eggs, room temperature
  • 3/4 cup neutral oil (such as avocado or light olive oil)
  • 1/4 cup unsweetened applesauce (adds moisture; optional but recommended)
  • 2 teaspoons pure vanilla extract
  • 1/2 cup crushed pineapple, well-drained (optional for extra moisture)
  • 1/2 cup chopped walnuts or pecans (optional)
  • 1/3 cup raisins (optional)
  • For the cream cheese frosting:
  • 8 ounces full-fat cream cheese, softened
  • 1/2 cup unsalted butter, softened
  • 2 1/2 to 3 cups powdered sugar, sifted
  • 1 teaspoon pure vanilla extract
  • Pinch of salt

Instructions

  • Prep the pans and oven. Heat the oven to 350°F (175°C). Grease two 8-inch round cake pans and line the bottoms with parchment. Lightly dust with gluten-free flour, tapping out the excess.
  • Whisk the dry ingredients. In a large bowl, combine the gluten-free flour, baking powder, baking soda, cinnamon, nutmeg, and salt. Whisk well to blend evenly.
  • Mix the wet ingredients. In another bowl, whisk the eggs, granulated sugar, brown sugar, oil, applesauce, and vanilla until smooth and slightly thickened, about 1 minute.
  • Combine wet and dry. Pour the wet mixture into the dry ingredients. Stir with a spatula until just combined. Avoid overmixing; a few small lumps are fine.
  • Fold in the add-ins. Gently fold in the grated carrots. If using, add the pineapple (well-drained), nuts, and raisins. The batter will be thick but scoopable.
  • Divide and bake. Split the batter evenly between the pans. Smooth the tops. Bake for 25–30 minutes, or until a toothpick comes out clean with a few moist crumbs.
  • Cool completely. Let the cakes rest in the pans for 10 minutes, then turn them out onto a wire rack. Peel off the parchment and cool fully before frosting.
  • Make the frosting. Beat cream cheese and butter together until creamy and fluffy, 2–3 minutes. Add vanilla and salt. Gradually add powdered sugar until the frosting is smooth and spreadable.
  • Assemble the cake. Place one layer on a serving plate. Spread a generous layer of frosting on top. Add the second layer and frost the top and sides. For a rustic look, leave the sides semi-naked.
  • Chill briefly, then serve. For cleaner slices, chill the cake for 20–30 minutes. Slice with a sharp knife, wiping the blade between cuts.