When I was tasked with making gluten-free, dairy-free cupcakes for my daughter’s graduation party, I did what many of us do when accommodating dietary needs for a crowd: I went to the grocery stores first.
I needed something that could stand in for a birthday cake, which is celebratory, reliable, and appealing even to guests who don’t need gluten-free cupcakes. With lifestyle changes and food sensitivities becoming more common, I wanted a sweet treat that didn’t feel like a compromise.
My first stop was boxed mixes. I tested Miss Jones Vanilla Cupcake Mix, hoping for a quick, dependable solution. While it worked technically, the texture relied heavily on starch. The cupcakes were light, almost like angel food cake, but not very satisfying; they had a slight gumminess while chewing and lacked the depth I associate with homemade cakes. The batter also yielded a surprisingly small amount, barely enough to fill the tins. Plus, vanilla was the only option available at my grocery store, no chocolate! On the plus side, they are less expensive than Simple Mills.
Next, I tried Simple Mills Vanilla Cupcake Mix made with almond flour. Those vanilla cupcakes turned out fine, preferable even to Miss Jones, and they became my “safe choice” backup for the party. I knew they would work and that people would eat them.
But I still wanted a chocolate option.
Looking Beyond the Box Mix
Many recipes rely on blends that mimic all-purpose flour, often with xanthan gum and added starches. While those have their place, I wanted something rooted in whole foods and closer to traditional baking, just without wheat flour or dairy to accommodate some of our guests.
That’s when I came across NutriMill’s original recipe for black bean brownies on YouTube.
Black beans as the main ingredient immediately caught my attention. The recipe was naturally gluten-free, relied on whole grains rather than processed gluten-free flour blends, and promised rich chocolate flavor. It wasn’t dairy-free, and it was designed as brownies rather than cupcakes, but it felt like a great recipe to start from.
So I started tinkering.


From Brownies to Cupcakes
I adapted the original recipe to create gluten-free chocolate cupcakes that could hold their own next to a store-bought cake. I swapped out butter for oil, dairy for applesauce, and adjusted the wet ingredients to ensure there was enough moisture without the cupcakes collapsing.
One important note: the batter itself was not thick. In fact, it poured easily into the muffin tin. This often surprises people working with black beans for the first time. The goodness happens during baking.
As the cupcakes baked, the structure set, the moisture redistributed, and the end result was a fudgy texture, much closer to the best brownies than a traditional cake. These are not light and fluffy vanilla cupcakes; they’re rich, chocolate-forward, and deeply satisfying.
Baking Time Matters
Unlike many cupcake recipes that bake in 15–20 minutes, these needed a little extra time. I found 25–28 minutes to be the sweet spot.
At the shorter baking time, the centers were underbaked and gummy, especially at the bottom of the pan. With the extra few minutes, the cupcakes set properly while remaining moist. Cooling them on a wire rack allowed the crumb to finish developing, giving them that brownie-like interior.
If you’re baking at a higher elevation, you may need to add an additional minute or two.
The Party Test
The true test came at the graduation party.
Despite only a handful of guests needing gluten-free, dairy-free cupcakes, these were the first dessert to disappear. What was left behind at the end of the night? The custom, store-bought graduation cake.
Some guests even asked for the full recipe before they left. I promised to share it, and since they were such a hit, I knew they belonged here as a free recipe for the Gluten Free Heritage audience.
Why Black Beans Work in Baking
The most common question I get when I mention a black bean cake is simple: Do they taste like beans?
When prepared correctly, no.
Black beans provide structure, moisture, and protein, functioning much like flour while offering more nutrition. When ground into black bean flour using a grain mill, they create a smooth base that pairs exceptionally well with chocolate.
Chocolate is key here. Unsweetened cocoa powder or cacao powder, combined with dark chocolate chips, ensures the chocolate flavor shines. The beans fade into the background, acting as the secret ingredient rather than the star.
Ingredient Choices (and Why)
Black Bean Flour
Using freshly milled black beans creates a more consistent texture than many store-bought blends. Freshly milled black bean flour retains flavor and works beautifully in gluten-free cupcakes without the need for xanthan gum or psyllium husks.
Oil
I found neutral oil to be the best bet for this recipe; I used avocado oil. Light olive oil, avocado oil, or melted coconut oil all work. Extra virgin olive oil can be used in a pinch, but make sure it’s mild-flavored to avoid overpowering the chocolate.
Sweetener
Raw sugar gave the cupcakes structure and balance. You could also experiment with coconut sugar and brown sugar, but raw sugar produced the most reliable crumb and classic flavor.
Applesauce
The original black bean brownie recipe called for Greek yogurt. I considered a plain coconut yogurt, but wanted to keep the flavor neutral. The extra oil added all the fat needed, so here I used unsweetened applesauce to replace some of the dairy while adding moisture. This small amount makes a big difference, preventing dryness without making the cupcakes heavy.
Chocolate Chips
Dark chocolate chips (dairy-free or vegan chocolate if needed) enhance the fudgy texture and reinforce the chocolate flavor. Don’t skimp here!
Note: The majority of my baking ingredients, including those used in this recipe, come from Azure Standard. All of their products are natural or organic and non-GMO. If you’re a new customer, you can save 15% off your first order with the code NEW15 using this link.
Fresh-Milled Black Bean Chocolate Cupcakes
Equipment
- 1 Grain Mill Get $20 Off with code VINTAGEVIRTUES at: https://nutrimill.com/VINTAGEVIRTUES
Ingredients
Dry Ingredients
- ⅔ cup black bean flour, freshly-milled (about 80 g)
- ½ cup cocoa powder (about 42 g)
- ½ tsp baking powder (2 g)
- ¼ tsp salt (1.5 g)
- 1 cup raw sugar (200 g)
Wet Ingredients
- 2 eggs (~100 g without shells)
- 1 tsp pure vanilla extract (4 g)
- ¾ cup unsweetened applesauce (185 g)
- 5 Tbsp avocado oil (or neutral light olive, melted coconut oil) (68 g)
- ½ cup dairy-free chocolate chips (85 g)
Instructions
- Mill 2/3 cups of black beans into flour
- Preheat oven to 350°F (175°C). Line a muffin tin with paper liners or lightly grease.
- In a small bowl, whisk together the dry ingredients.
- In a large bowl, whisk oil and sugar until glossy. Add eggs and vanilla and mix well.
- Stir in the applesauce until fully combined.
- Add dry ingredients to wet ingredients and mix until just combined.
- Fold in allergen-free chocolate chips.
- Divide batter evenly among muffin cups, filling about ¾ full.
- Bake for 25-28 minutes, until the tops are set and a toothpick comes out with moist crumbs.
- Cool in the pan for 5 minutes, then transfer to a wire rack to cool completely.
Tips & Variations
- Frosting Tip: For a quick, allergy-friendly option, I used Miss Jones gluten-free, dairy-free frosting with dye-free sprinkles. To give it a homemade look, empty the container into a mixing bowl and fluff with a mixer. For a chocolate finish, stir in 2 tablespoons of cocoa powder, then load a piping bag and pipe as desired.
- Equipment Notes:
- A grain mill, high-performing food processor, or high-speed blender is essential if you’re making black bean flour at home. I used NutriMill’s Harvest Grain Mill; you can save $20 with code VINTAGEVIRTUES.
- Line your muffin tin with paper liners to prevent sticking.
- Allow cupcakes to cool completely on a wire rack before frosting for the best results.
- Storage & Make-Ahead:
- Store in an airtight container at room temperature for up to 2 days.
- Refrigerate for up to 5 days.
- Freeze, tightly wrap in plastic wrap, and store in a freezer bag for up to 3 months.
- They thaw quickly and retain their fudgy texture, making them ideal for advance prep.
Final Thoughts
These Fresh-Milled Black Bean Chocolate Cupcakes were born out of necessity but earned their place as a repeat bake. They prove that gluten-free cupcakes made with whole grains and simple ingredients can rival traditional wheat flour desserts, and sometimes outshine them.
Whether you’re baking for a graduation, a birthday cake alternative, or simply want a rich, chocolate-forward dessert, this is a recipe worth keeping.
Affiliate Disclosure
This post may include affiliate links or Amazon Associate links. If you choose to purchase through them, I may earn a small commission at no extra cost to you. This helps offset the extra cost of recipe testing and allows me to continue sharing free recipes made with whole foods.


Leave a Reply