Ingredients
Scale
- 2 cups all-purpose flour
- 1 teaspoon baking soda
- 1/2 teaspoon salt
- 1/2 cup sourdough discard
- 3/4 cup granulated sugar
- 1/2 cup unsalted butter, softened
- 2 large eggs
- 1 teaspoon vanilla extract
- 1 cup buttermilk
- 1/4 cup vegetable oil
For the Cream Cheese Frosting:
- 8 oz cream cheese, softened
- 1/2 cup unsalted butter, softened
- 4 cups powdered sugar
- 1 teaspoon vanilla extract
- 2-3 tablespoons heavy cream
- Pinch of salt
Instructions
- Prepare your workspace: Preheat oven to 350°F and line cupcake tins with paper liners. This temperature ensures even baking without dried-out tops or soggy bottoms. Room temperature ingredients mix more easily and create better texture, so take your eggs, butter, and dairy out about an hour before baking.
- Mix dry ingredients: Whisk flour, baking soda, and salt in a medium bowl, ensuring even distribution to prevent pockets of overly salty or bitter spots in your finished cupcakes. The baking soda reacts with the natural acids in the sourdough discard to create lift and tenderness.
- Cream butter and sugar: Beat softened butter and granulated sugar until light and fluffy, about 3-4 minutes with an electric mixer. This incorporates air that creates the tender crumb structure. The mixture should be pale and increased in volume – don’t rush this step as it’s crucial for texture.
- Add eggs and vanilla: Beat in eggs one at a time, mixing well after each addition to ensure proper emulsification. Add vanilla extract and mix until just combined. The eggs provide structure and richness, while the vanilla enhances all the other flavors.
- Incorporate sourdough discard: Mix in the sourdough discard until fully incorporated – this adds the signature tang and creates incredible moisture retention. The natural acids also tenderize the gluten, resulting in a softer cupcake.
- Alternate wet and dry ingredients: Add flour mixture in three additions, alternating with buttermilk in two additions, beginning and ending with flour. Mix just until combined after each addition – overmixing develops gluten and creates tough, dense cupcakes. The buttermilk adds additional tang and reacts with the baking soda for extra lift.
- Finish the batter: Stir in vegetable oil until just combined. The oil adds moisture and helps create that bakery-style tender crumb that stays fresh longer than butter-only cupcakes.
- Fill and bake: Divide batter evenly among cupcake liners, filling each about 2/3 full. This prevents overflow while ensuring full, domed tops. Bake for 18-22 minutes, rotating pans halfway through for even browning.
- Cool completely: Let cupcakes cool in pans for 5 minutes, then transfer to wire racks. Complete cooling is essential before frosting – warm cupcakes will melt your beautiful cream cheese frosting into a puddle.
Notes
Pro tip: Don’t overfill the liners or open the oven door during the first 15 minutes of baking – this prevents collapsed centers and ensures even rising throughout.