4 Ingredient Chocolate Cake (No Flour, Refined Sugar, Dairy, Butter or Oil)
This chocolate cake is soft and moist. It only needs 4 ingredients and doesn’t require any flour, refined sugar, dairy, butter or oil. It can be made ahead of time and is easy to customize.
This chocolate cake is made with healthier ingredients but will still satisfy chocolate cake cravings.
Ingredients
- Cocoa powder
- Eggs
- Pineapple
- Coconut sugar
Cocoa powder: Cocoa powder gives this cake a rich cocoa flavor. Make sure to use Dutch process cocoa powder which is less bitter and less acidic than natural cocoa powder. This cake does use a high amount of cocoa powder so I recommend a high quality cocoa powder because you do taste the cocoa.
Eggs: Eggs are used to provide structure and add richness to the cake.
Pineapple: Pineapples are very sweet right now. They also are great in this cake, adding texture and natural sweetness. You can use fresh, sweet ripened pineapples or you can use canned pineapple rings or chunks sweetened in pineapple juice. If using canned, you will need to drain the pineapple pieces from the juice.
Coconut sugar: Some coconut sugar is added to help sweeten the cake. You can also use regular granulated sugar if you don’t need the cake to be refined sugar free.
How to Make Chocolate Cake
- The pineapple is blended in a high powered blender until smooth. You do need to blend a few minutes to blend up the pineapple fibers. Add in eggs, coconut sugar and blend again.
- Add in the cocoa powder and blend until the batter is uniform in color. Transfer the batter to your prepared cake pan.
- Bake the cake for about one hour or until set. Allow the cake to fully cool before releasing it from the cake pan. If desired, you can decorate the cake. This cake is decorated with chocolate ganache frosting and chocolate curls.
Expert Tips
- If using fresh pineapple, use a very ripe and sweet one. This recipe can also be made with canned pineapple slices sitting in pineapple juice. Avoid using canned crushed pineapple or canned pineapples sweetened with syrup.
- You can add a little more coconut sugar if you prefer a sweeter cake.
More Chocolate Cake Recipes
- 4 Ingredient Chocolate Raspberry Cake
- 2 Ingredient No Bake Chocolate Pear Cake
- 4 Ingredient Chocolate Apple Cake

4 Ingredient Chocolate Cake
Ingredients
- 1 1/4 cups (291g) pineapple puree, see note before starting
- 2 large eggs + 2 egg yolks
- 1/2 cup (65g) coconut sugar
- 1/2 cup + 2 Tbsp (62g) Dutch process cocoa powder
Instructions
- Preheat the oven to 350°F (175°C). Grease a 6-inch round springform pan with non-stick cooking spray. Line the bottom with a parchment round and cut a long strip to line the inner sides of the pan.
- See notes section for more details on making the pineapple puree. To make pineapple puree, add pineapple chunks or slices to a high-powered blender and blend until fully smooth. While the pineapples will blend into a liquid quickly, you will need to blend a minute or two longer to blend up the pineapple fibers.
- Add the eggs, yolks, and coconut sugar to the blender. Blend on high until completely smooth, stopping to scrape down the sides as needed. Add in the cocoa powder and blend until smooth and uniform in color, scraping down the sides of the blender as needed.
- Transfer the batter into the prepared cake pan and try your best to smooth the top with a spatula. Bake for 60-70 minutes or until completely set. The cake will turn very dark in color on the surface, this is normal. The cake should be puffed and lightly cracked on the surface when done and a toothpick inserted should come out clean.
- Let the cake cool completely before releasing it from the cake pan. The cake will shrink a little and the surface will level as it cools. This cake is very moist and fudgy. I recommend letting the cake set for several hours before removing. You can also place it into the fridge for a few hours to help it set more firm and to help the flavors develop better. If desired, frost cake before serving (optional frosting recipe provided in the recipe notes). Store uneaten leftover cake in an airtight container in the fridge or freezer.
Notes
- Pineapple note: This recipe can be made with fresh pineapple (choose a sweet and ripe one) or canned pineapple chunks or rings that are sitting in pineapple juice and not syrup. If using canned pineapples, you will need to drain the pineapple chunks or rings from the liquid before using and will need 1 (20 oz) can.*
- I used a Nutribullet* to make the puree. You do need to puree for a few minutes to blend out the tough pineapple fibers so the cake is not stringy.
- If you have a scale, you can just measure 291 grams of pineapple chunks for the recipe. If you don't have a scale, blend enough pineapple to measure out 1 1/4 cups for the recipe. It is best to use a scale for more accuracy. I use this scale.*
- I made this with Wholesome coconut sugar*
- *These product links are affiliate links. This means I earn a commission from qualifying purchases.
- Cocoa powder: This recipe works best with Dutch process cocoa powder. Natural cocoa powder is too bitter. I use Rodelle cocoa powder.
- This recipe uses 2 eggs plus two additional egg yolks. Do not use 4 eggs because it will make the cake too eggy.
- Optional chocolate frosting:
- ½ cup dark chocolate chips
- ¼ cup (2 ounces) canned coconut milk (can substitute with heavy cream if you don't need dairy-free)
- Add chocolate chips to a medium bowl and set aside. Heat coconut milk in a small pot or pan over medium low heat. Heat until simmering. Pour hot coconut milk over chocolate chips. Let sit for 60 seconds then gently mix until chocolate is completely melted. Frost over surface of the cake.
- You can make 1.5 times the frosting if you desire a thicker layer of frosting.
- Estimated nutrition is for the cake only and does not include optional frosting.



