Jump to Recipe Print Recipe
4.82 from 11 votes

If you’re craving a rich, gluten-free chocolate cake with raspberry filling, this layered cake delivers all the flavor of a bakery-style dessert, without gluten and dairy. Each bite is moist, tender, and packed with deep chocolate flavor, tangy seedless raspberry jam, and silky chocolate frosting. It’s a decadent cake perfect for birthdays, holidays, or anyone who loves the classic chocolate + raspberry combo.

A frosted gluten free chocolate raspberry cake topped with fresh raspberries.

This gluten-free chocolate cake with raspberry filling is fudgy, moist, and layered with seedless raspberry jam and chocolate frosting. It’s completely dairy-free and perfect for birthdays or celebrations. You’ll love the bakery-style flavor and how easy it is to make ahead or freeze!

Reader Review

“Tried this recipe out with a little skepticism because I have been trying to hone my gf and df baking skills, and Pinterest just hasn’t been a good place for quality recipes. BUT WOW. This was wonderful. My whole GF DF family was very impressed and even made it their self-proclaimed favorite cake since they have been on the diet. It was gone in 2 days. Thanks
Natalie
Blog comment

❤️ Sandi’s Summary

  • This gluten-free chocolate cake with raspberry filling is soft, moist, and full of rich chocolate flavor.
  • It makes a beautiful birthday, groom’s cake, or any celebration cake!
  • I include raspberry jam between each layer. It boosts flavor and keeps the cake moist!

It is another birthday month in our house, and that means making a birthday cake! It was Mr. Fearless Dining’s turn…he wanted chocolate and raspberries. This gluten-free chocolate birthday cake with raspberries checked all of his requests. If you love chocolate as much as we do, check out my best gluten-free chocolate dessert recipes!

Allergen Information:

This chocolate raspberry cake is:

  • gluten-free
  • soy-free
  • nut-free.
  • The cake itself is already dairy-free, so use dairy-free butter for the frosting.
Photos of the chocolate raspberry cake ingredients.

Ingredient Notes:

For the full list of ingredients and amounts, please go to the recipe card below.

  • Gluten Free Flour Blend – I have tested this recipe with King Arthur Measure for Measure and Bob’s Red Mill 1 to 1.
  • Xanthan Gum – If your gluten free flour blend doesn’t contain a binder such as Xanthan Gum or Guar Gum, please add 3/4 teaspoon.
  • Cocoa Powder – Use regular cocoa powder or Dutch-process cocoa powder.
  • Sugar – Cane sugar adds just the right amount of sweetness.
  • Baking Soda or Powder
  • Chocolate Pudding Mix – I used Jello brand, a gluten-free pudding. I used the cook type, but instant pudding also works to keep this cake moist.
  • Eggs – Large eggs help with binding.
  • Cooking Oil – Use a light oil or coconut oil for a hint of sweetness.
  • Non-Dairy or Regular Milk – I used almond milk, but any non-dairy or regular milk works in this cake recipe.
  • Raspberry Jam – Be sure to get seedless jam, or your cake will turn out with crunchy bits.

Note From The Kitchen: If you’re new to gluten-free baking, don’t worry, this cake is beginner-friendly. The pudding mix adds moisture and structure, helping the cake stay soft and tender. For a dairy-free version, choose a good vegan butter with a high fat content for the frosting. If you’re baking for a party, you can freeze the unfrosted layers in advance to save time.

How to Make a Chocolate Raspberry Cake (Step-By-Step)

Photos mixing the wet and dry ingredients.

Step 1: Whisk together the dry ingredients in one bowl and the wet ingredients in another. Avoid overmixing to keep your cake soft and fluffy.

Step 2: In a separate bowl, beat the eggs, oil, milk, and vanilla until well combined.

Email This Recipe To Me!

I will email this recipe to you, so you can come back to it later!

Photos mixing the wet and dry ingredients into a smooth cake batter.

Step 3: Pour the wet mixture into the dry ingredients and gently stir until just mixed. The batter should be thick but pourable; add a splash more milk if needed. Every gluten-free flour blend varies in moisture needs. If the cake batter is runny, add more flour, a tablespoon at a time.

Step 4: The picture above shows the ideal consistency of my gluten-free chocolate cake batter.

Step 5: Spray cake pans with gluten-free baking spray. Divide the batter between greased cake pans and smooth the tops. Bake at 350ºF until a toothpick inserted in the center comes out clean. Let the cakes cool in the pans for 10 minutes, then transfer to a wire rack to cool completely.

Step 6: Remove the cake pans from the oven and gently transfer the cake to a cooling rack. To test for doneness, insert a toothpick into the center of the cake. If the toothpick comes out clean, it is done baking. If you see batter or crumbs, the cake needs to be baked for a longer period.

Make sure the cake halves are completely cool before frosting.

Assemble The Cake:

Step 1: Put the bottom cake layer onto a cake stand. If the cakes domed in the oven, use a serrated knife to trim them flat before assembling.

Step 2: Add the frosting ingredients to a stand mixer with a whisk attachment. Whip your frosting until creamy and smooth. If dairy-free, use a high-fat vegan butter such as Miyokos or Earth Balance for the best texture.

Step 3: Place one cake layer on a stand or plate. Spread seedless raspberry jam across the top, leaving a 1-inch border. Add a thin layer of frosting on top of the jam.

Step 4: Add some frosting on top of the raspberry jam. Spread it out, then place another layer of cake on top of the frosting.

Step 5: Add frosting to the sides of the cake using a cake spatula and spread it evenly along the sides. Scoop chocolate frosting on the top and spread it out. Add fresh raspberries on top.

Storage and Freezing Tips:

  • This cake will last up to 3 days in an airtight cake container in the refrigerator or for up to 4 months in the freezer.
  • I would recommend freezing the cake unfrosted. Wrap the cooled cake halves in plastic wrap, then slide them carefully into a freezer-safe zipper bag.
  • To thaw, take the cake halves out of the freezer and let them come to room temperature on the counter.

Frequently Asked Questions and Troubleshooting:

Can I use frozen raspberries in the cake?

No, frozen raspberries will be too wet and can make the cake soggy.

Can I use raspberry preserves instead of jam?

Yes, but check the label for seeds. Seedless jam works best for a smooth filling.

Why did my cake not rise?

If your cake didn’t rise, check the expiration date of the leaveners. Also, don’t open the oven door while the cake is baking, as this can cause it to sink.

What do you do if the cake cracks?

Assemble the cake as best you can. In this instance, the cake didn’t break into parts. Use your frosting to fill the cracks, helping to solidify the cake.
Add layers and frost!

Can I make this cake ahead of time?

Yes! Bake the layers in advance and freeze them unfrosted. Wrap tightly and freeze for up to 4 months.

How do I keep the cake from drying out?

The pudding mix in the cake helps lock in moisture. Storing the frosted cake in an airtight container in the fridge also helps.

For more help, read my Gluten-Free Cake Troubleshooting Tips. I also discuss the tools I use to make and decorate cakes in my Cake Tools Guide.

A slice of chocolate raspberry cake on a white plate.

This Keto Fluffy Chocolate Mousse makes a tasty filling.

Love This Recipe?

💬 Did you make this gluten-free chocolate raspberry cake recipe? I’d love to hear how it turned out, and which pan or flour blend you used! Your feedback helps others (and helps me keep improving these recipes for you). ⭐⭐⭐⭐⭐

A frosted gluten free chocolate raspberry cake topped with fresh raspberries.

Gluten-Free Chocolate Cake with Raspberry Filling (Dairy-Free)

4.82 from 11 votes
This rich and fudgy gluten-free chocolate cake with raspberry filling is the perfect dairy-free celebration cake! Raspberry jam adds a sweet-tart contrast to the moist chocolate layers. Great for birthdays or holidays.
Prep Time 25 minutes
Cook Time 30 minutes
Total Time 55 minutes
Servings: 20 slices
Calories: 406

Ingredients
  

  • 2 cups gluten free flour blend * see note
  • 1 ½ cups cane sugar
  • ½ cup cocoa powder * see note
  • 1 box chocolate pudding
  • ½ teaspoon salt
  • ½ cup light oil
  • 1 ¼ cups non-dairy milk * see note
  • 2 large eggs
  • 1 teaspoon pure vanilla extract
  • 1 cup hot water
  • 1 teaspoon baking powder Use if using Dutch Process baking powder.
  • 1 teaspoon baking soda Use if using regular cocoa powder.
Frosting:
  • 14 ounces seedless raspberry jam
  • 4 cups powdered sugar
  • 16 tablespoons unsalted butter or non-dairy butter softened
  • ½ cup cocoa powder
  • 1 teaspoon pure vanilla extract
  • ¼ cup non-dairy or regular milk
Cake Topper
  • 1 cup fresh raspberries

Equipment

Method
 

  1. Preheat the oven to 350º F. Use the bake setting, not the convection setting. Place the oven rack in the middle of the oven.
  2. In a large mixing bowl, add 2 cups gluten free flour blend, 1/2 cup cocoa powder, 1 1/2 cups cane sugar, 1 teaspoon baking powder (aluminum-free) or 1 teaspoon baking soda, 1/2 teaspoon salt, and 1 box chocolate pudding whisk until thoroughly combined. 
  3. Combine 2 large eggs, 1 teaspoon pure vanilla extract, 1 1/4 cups non-dairy milk, 1/2 cup light oil, 1 cup hot water in a mixing bowl and whisk until mixed. Pour the wet ingredients into the dry ingredients and mix until just combined. Do not overmix or your cake may turn out dense.
  4. The cake batter should be thick, but pourable. Every flour blend varies so add more hot water or flour if needed.
  5. Grease the layer cake pans with gluten-free baking spray. Pour the cake batter into the two pans. Spread the batter evenly in the pans.
  6. Bake for 25-30 minutes until the cakes are done baking. Insert a toothpick into each cake. If it comes out clean, the cakes are finished baking.
  7. Remove the cakes from the oven. Let them sit in the cake pans for 5 minutes, then carefully tip them out of the pans onto a cooling rack. Do not frost the cake until they are fully cooled.
Frosting:
  1. In a mixer, add 4 cups powdered sugar, 1/2 cup cocoa powder, 16 tablespoons unsalted butter or non-dairy butter, 1 teaspoon pure vanilla extract, and 1/4 cup non-dairy or regular milk . Mix up until it is creamy like frosting.
  2. When the cakes are cool, use a knife to remove any domed surface so the top of each layer is flat.
  3. Add chocolate cream and frost the first layer. Add some raspberry jam and spread it out over the frosting.
  4. Add the next cake layer and repeat the process.
  5. When you get to the top layer, skip the raspberry. Frost the top layer and sides with the chocolate buttercream frosting. 
  6. Put the cake into the refrigerator for 30 minutes minimum to chill.
  7. Top with fresh raspberries.

Nutrition

Serving: 1servingCalories: 406kcalCarbohydrates: 66gProtein: 3gFat: 17gSaturated Fat: 7gPolyunsaturated Fat: 1gMonounsaturated Fat: 7gTrans Fat: 0.4gCholesterol: 42mgSodium: 137mgPotassium: 147mgFiber: 3gSugar: 50gVitamin A: 342IUVitamin C: 4mgCalcium: 56mgIron: 1mg

Notes

  1. I have tested this recipe with King Arthur Measure for Measure GF and Bob’s Red Mill 1 to 1 GF blend. 
  2. If your gluten free flour blend doesn’t contain a binder such as Xanthan Gum or Guar Gum, please add 3/4 teaspoon.
  3. I highly recommend using seedless raspberry jam.
  4. To make the frosting dairy-free, substitute the butter for vegan butter.
  5. Other dairy-free kinds of milk and regular milk will work but I do not recommend canned coconut milk.
  6. Allow the cake layers to cool before adding frosting and building the cake.
  7. This cake will keep up to 4 days in an airtight container, or up to 4 months in the freezer.

Nutritional Disclaimer

Nutritional information is an estimate provided to you as a courtesy. You should calculate the actual nutritional information with the products and brands you are using with your preferred nutritional calculator.

Tried this recipe?

Let us know how it was!
QR Code
4.82 from 11 votes (11 ratings without comment)

Leave a Reply

Your email address will not be published. Required fields are marked *

Recipe Rating




12 Comments

  1. Tried this recipe out a little skeptical because I have been trying to hone my gf and df baking skills and Pinterest just hasn’t been a good place for quality recipes. BUT WOW. This was wonderful. My whole GF DF family was very impressed and even made it their self proclaimed favorite cake since they have been on the diet. It was gone in 2 days
    Thanks

    1. Hi Kelli, Thank you so much for your note. I clarified the directions a little more. I hope this helps.

  2. This looks amazing. Can you please break out the frosting recipes? I only see listed certain types of different icings but no directions and quantities for each broken out, hope this makes sense.

    And thanks for sharing the bloopers- saves many people a lot of aggravation.

    1. Hi Martine, I broke it out and clarified the instructions around making the frosting. I also bolded FROSTING next to frosting ingredients. I hope this helps :-). I am glad you liked the included blooper, I really should add those more often. Have a great weekend!