
This vegan cookie cake has the chewy center and golden edges of a chocolate chip cookie, baked as one shareable, sliceable dessert. You can mix it by hand with familiar pantry ingredients, then serve it in wedges once it has cooled.
A flax egg helps hold the dough together, while melted coconut oil keeps it tender without needing butter. The result is sweet and warmly vanilla-scented, with pockets of melted chocolate and a pleasantly soft middle. Make it today for a casual celebration, or whenever a big cookie sounds better than a batch of individual ones.
Why This Recipe Works
This dough uses melted oil rather than creamed butter, so there is no need for a mixer or a separate creaming step. Stirring the oil with the sugar gives the dough a cohesive base, and the flax egg adds binding once its meal has had time to absorb water. Letting that mixture gel for a few minutes is a small step that makes the dough easier to handle and the baked cake less crumbly.
A moderate oven temperature gives the edges time to turn golden while the center finishes baking without drying out. The cake will still feel a little soft in the middle when it comes out; it firms as it cools. Waiting before slicing is important: a warm cookie cake can break apart even when it is baked through.
Finally, folding in the chocolate chips after the flour is mixed keeps them distributed without overworking the dough. Mixing only until the dry ingredients disappear helps preserve a tender, chewy texture.
Ingredients
- 2 cups all-purpose flour, spooned into the measuring cups and leveled
- 1 teaspoon baking soda
- 1/2 teaspoon fine salt
- 1 cup coconut sugar or packed brown sugar
- 1/2 cup coconut oil, melted and cooled slightly, or neutral oil
- 1/4 cup almond milk or another non-dairy milk
- 1 tablespoon flaxseed meal
- 3 tablespoons water, for the flax egg
- 1 teaspoon vanilla extract
- 1 cup vegan chocolate chips or chopped dark chocolate
- 1/2 cup chopped walnuts or pecans, optional
- 1 teaspoon neutral oil or cooking spray, for preparing the pan
Ingredient Notes
Flour: All-purpose flour gives the cake enough structure to hold its shape when sliced. Measure it by spooning flour into the cup and leveling the top, rather than scooping straight from the bag, which can pack in extra flour and make the dough dry. A cup-for-cup gluten-free baking blend may work, but results vary by blend; use one formulated to replace wheat flour rather than a single-ingredient flour.
Baking soda: This leavener helps the cookie cake rise slightly and encourages browning. Measure it level, and check that it is not stale if it has been open for a long time.
Sugar: Coconut sugar gives a deeper, lightly caramel-like flavor and a darker cake. Brown sugar makes a familiar soft, chewy cookie flavor. Use either one, and pack brown sugar into the measuring cup. The recipe is designed for these sugars; swapping in a liquid sweetener would change the dough’s moisture and texture.
Oil: Melted coconut oil gives the dough a rich texture. Let it cool until warm rather than hot before mixing, so it does not make the other ingredients overly warm. A neutral oil such as canola or sunflower oil can replace it; the finished cake will have a slightly different flavor and may be a little less firm once cool.
Flax egg and non-dairy milk: The flaxseed meal and water form the binder in place of an egg. Stir them together and wait until the mixture thickens. Almond milk is one option, but oat, soy, or another non-dairy milk can be used. Choose an unsweetened version if you want to keep the cake’s sweetness close to the recipe as written.
Chocolate and nuts: Check that the chocolate is dairy-free if you need the cake to be vegan. Chopped dark chocolate makes larger melted pockets; chips hold their shape a little more. Walnuts or pecans add crunch, but the cake works just as well without them.
Instructions
- Prepare the pan and oven. Heat the oven to 350°F (175°C). Lightly grease a 9-inch round cake pan with the teaspoon of oil or cooking spray. Line the bottom with a round of parchment paper if available. The oven should be fully heated before the dough goes in so the edges begin setting promptly and bake evenly.
- Make the flax egg. In a small bowl, stir together 1 tablespoon flaxseed meal and 3 tablespoons water. Leave it for 5 to 10 minutes, until it looks thick and gel-like rather than watery. This gives the flax time to absorb liquid and helps bind the dough.
- Combine the dry ingredients. In a medium bowl, whisk the flour, baking soda, and salt until evenly combined, breaking up any flour lumps. Distributing the baking soda now helps avoid isolated bitter or overly risen spots in the finished cake.
- Mix the wet ingredients. In a large bowl, whisk the sugar, slightly cooled melted oil, non-dairy milk, thickened flax mixture, and vanilla until the mixture looks glossy and well combined. It may not become perfectly smooth, especially with coconut sugar; that is fine. If the oil is hot, let it cool briefly before adding it.
- Make the dough. Add the dry ingredients to the wet mixture and stir with a sturdy spoon or spatula just until no dry flour remains. Fold in the chocolate and, if using, the nuts. The dough should be thick and scoopable, not pourable. Stop mixing as soon as it comes together; extra stirring can make a flour-based dough tougher.
- Press the dough into the pan. Transfer the dough to the prepared pan and press it into an even layer, reaching the edges. Smooth the top lightly and add a few extra chocolate chips if you like. An even layer helps the center and edges bake at a similar rate.
- Bake. Bake at 350°F (175°C) for 20 to 24 minutes. Begin checking at 20 minutes. Look for lightly golden edges and a center that appears set on top but still feels soft when gently pressed. A toothpick may pick up moist crumbs or melted chocolate; it should not come out coated in raw-looking dough. Avoid waiting for the center to look fully firm in the oven, since it will continue to set as it cools.
- Cool before serving. Set the pan on a wire rack and leave the cookie cake to cool for at least 45 minutes, preferably until fully cool, before removing or slicing it. The edges should feel firm and the center should hold together when cut. Cooling lets the warm, soft center finish setting and makes cleaner wedges.
Tips for Success
- Measure flour lightly. Spoon it into the cup and level it off. Too much flour is a common reason cookie cake dough feels dry or bakes up dense.
- Let the flax mixture gel. Mixing it into the dough right away leaves less time for it to thicken and bind.
- Cool the oil a little. Warm is fine; hot oil can make the dough feel greasy and can soften the chocolate as soon as it is added.
- Expect thick dough. This is a press-in dough, not a pourable cake batter. Use clean hands or a spatula to spread it evenly in the pan.
- Check early, then use the visual cues. Ovens and pans vary. A golden edge and a just-set center matter more than forcing the cake to bake for the full upper end of the time range.
- Let it cool in the pan. Slicing while warm can make the center seem underbaked and cause the wedges to crumble. Give it time to firm up before cutting.
Troubleshooting
The dough is crumbly and will not press together: First check that the flour was measured without packing it into the cup and that the flax mixture was allowed to thicken. If the dough is still dry, stir in non-dairy milk 1 teaspoon at a time, stopping as soon as it holds together. Different flour brands and measuring methods can affect how much liquid the dough needs.
The dough seems oily: The coconut oil may have been too warm, or the dough may simply look glossy before the flour is fully incorporated. Stir in the dry ingredients and let the dough sit for a couple of minutes. If there is visible pooling of oil after mixing, add flour 1 tablespoon at a time until the dough is cohesive, noting that the final texture may be a little firmer.
The edges are dark but the middle looks very soft: Check that the pan is centered in the oven and that the oven temperature is accurate. If the edge is browning quickly, loosely cover the pan with foil for the remaining bake. The center should be set on top, not liquid, and will become firmer as it cools.
The cake is dry or crumbly after baking: It may have baked too long, or the dough may have contained too much flour. Next time, begin checking at 20 minutes and remove it when the edges are golden and the middle is just set. Cool completely before judging the final texture.
The cake sticks to the pan: Grease the pan thoroughly and line the bottom with parchment. Let the cake cool before loosening the edge with a thin knife. If you plan to serve it directly from the pan, parchment is still useful for easier portioning and cleanup.
Variations
For a nut-free version, leave out the walnuts or pecans and check the chocolate packaging for allergen information. You can replace the nuts with an additional 1/2 cup chocolate chips, or simply omit them for a more classic chocolate chip cookie cake.
For a different flavor, add 1/2 teaspoon ground cinnamon to the dry ingredients, or use a mix of dark and semisweet vegan chocolate. A small pinch of flaky salt scattered over the top after baking gives a salty-sweet finish. Keep additions modest so the dough still holds together and bakes evenly.
You can bake the dough in a 9-inch square pan instead of a round pan. The shape will differ, and the baking time may vary slightly, so use the same golden-edge and set-center cues rather than relying only on the clock. A larger pan makes a thinner cake that will bake faster; start checking early.
What to Serve With It
Serve slices plain, or pair them with a scoop of non-dairy vanilla ice cream for a warm-and-cold dessert. Fresh berries add a bright, tart contrast to the sweet chocolate. For a simple celebration cake, let the cookie cake cool fully, then decorate the top with a dairy-free frosting or a drizzle of melted vegan chocolate. Add frosting only after the cake is completely cool so it does not melt into the surface.
Make-Ahead, Storage and Reheating
You can mix the dough, press it into the prepared pan, cover it, and refrigerate it for up to 24 hours before baking. The dough may bake a little more slowly when chilled, so check the center and edges and allow extra time if needed. For the most even bake, let the pan sit at room temperature while the oven heats, but do not leave perishable toppings out for extended periods.
Once baked and fully cooled, keep the unfrosted cookie cake in an airtight container at room temperature for up to 3 days for best texture. If you need to keep it longer, refrigerate it and use within 3 to 4 days. Bring refrigerated slices toward room temperature before serving, or warm an individual slice briefly in the microwave until just softened. Avoid overheating, which can make the edges tough and the chocolate very hot.
To freeze, wrap the fully cooled cake or individual slices tightly, then place them in a freezer-safe container. Freeze for up to 2 to 3 months for best quality. Thaw wrapped slices in the refrigerator or at room temperature, then warm briefly if desired. If the cake has a perishable frosting or topping, refrigerate it and follow the storage time appropriate for that topping.
Recipe Card
Servings: 8 to 10 slices
Prep time: 15 minutes
Cook time: 20 to 24 minutes
Cooling time: At least 45 minutes
Total time: About 1 hour 25 minutes to 1 hour 30 minutes
Ingredients
- 2 cups all-purpose flour, spooned and leveled
- 1 teaspoon baking soda
- 1/2 teaspoon fine salt
- 1 cup coconut sugar or packed brown sugar
- 1/2 cup melted coconut oil, cooled slightly, or neutral oil
- 1/4 cup almond milk or another non-dairy milk
- 1 tablespoon flaxseed meal
- 3 tablespoons water
- 1 teaspoon vanilla extract
- 1 cup vegan chocolate chips or chopped dark chocolate
- 1/2 cup chopped walnuts or pecans, optional
- 1 teaspoon neutral oil or cooking spray, for the pan
Condensed Instructions
- Heat oven to 350°F (175°C). Grease a 9-inch round cake pan and line the bottom with parchment if available.
- Stir the flaxseed meal and water together; let stand 5 to 10 minutes until thickened.
- Whisk flour, baking soda, and salt in a medium bowl.
- Whisk sugar, cooled melted oil, non-dairy milk, flax mixture, and vanilla in a large bowl.
- Stir in the dry ingredients just until combined. Fold in chocolate and optional nuts.
- Press dough evenly into the pan. Bake for 20 to 24 minutes, until the edges are lightly golden and the center looks set but remains soft.
- Cool in the pan for at least 45 minutes before slicing so the center can firm up.
Frequently Asked Questions
Can I make this cookie cake without coconut oil?
Yes. Use the same amount of a neutral oil such as canola or sunflower oil. Coconut oil firms as it cools, so a cake made with liquid oil may stay a little softer at room temperature. Let it cool fully before slicing.
Can I use brown sugar instead of coconut sugar?
Yes. Use 1 cup packed brown sugar. It gives the cake a familiar chewy cookie flavor and may make the color a little lighter than coconut sugar.
Do I need to chill the dough?
No. You can press the dough into the pan and bake it right after mixing. Chilling is useful only if you want to prepare the pan ahead; refrigerated dough may need a little more time in the oven.
How do I know the cookie cake is done?
Look for lightly golden edges and a top that appears set, with a center that is still soft. A toothpick can show moist crumbs or melted chocolate, but it should not be coated in raw-looking dough. The cake will firm as it cools.
Can I bake this as individual cookies?
This dough is formulated for a pan-baked cookie cake, so individual cookies may spread or bake differently. If you try it, leave plenty of space between portions and check them early; remove them when the edges are set and lightly golden.
Can I make the cookie cake gluten-free?
You can try a cup-for-cup gluten-free flour blend made to replace all-purpose flour. Since blends differ in how they absorb liquid and provide structure, the dough texture and finished cake may vary. A single-ingredient flour such as almond or coconut flour is not a direct substitute.
Why does the cake need to cool before slicing?
The center is soft when hot, and the flour-and-sugar structure needs time to set. Cutting too soon can make slices collapse or crumble. For the neatest wedges, cool it completely in the pan.
Can I frost it?
Yes. Let the cookie cake cool completely, then add a dairy-free frosting or another topping that suits your needs. Keep any frosting that requires refrigeration chilled, and store the decorated cake according to the topping’s storage needs.
