Preheat your oven to 350°F (175°C). Grease a donut pan with cooking spray or lightly butter it to ensure the donuts come out easily.
2. Make the donut batter:
In a large bowl, whisk together the flour, cocoa powder, baking powder, baking soda, salt, and granulated sugar.
In a separate bowl, whisk together the milk, eggs, vegetable oil, vanilla extract, and sour cream (or yogurt) until smooth.
Pour the wet ingredients into the dry ingredients and stir until just combined. Be careful not to overmix, or the donuts may be dense.
3. Fill the donut pan:
Use a spoon or a piping bag to fill the donut cavities about 3/4 full with the batter. If using a piping bag, it’s easy to pipe the batter into the pan without making a mess.
Smooth the tops of the donuts with a spatula to ensure even baking.
4. Bake the donuts:
Bake in the preheated oven for about 10-12 minutes or until a toothpick inserted into the center of a donut comes out clean.
Allow the donuts to cool in the pan for a few minutes, then carefully remove them and place them on a wire rack to cool completely.
5. Make the chocolate glaze (optional):
While the donuts cool, whisk together the powdered sugar, cocoa powder, milk, vanilla extract, and instant coffee (if using) in a small bowl until smooth. If the glaze is too thick, add a little more milk to reach a drizzle-able consistency.
6. Glaze the donuts:
Once the donuts are cool, dip the tops into the chocolate glaze or spoon it over the donuts. Allow the glaze to set for a few minutes before serving.
For extra texture, sprinkle the donuts with sprinkles, chopped nuts, or chocolate chips while the glaze is still soft.
7. Serve and enjoy:
Serve your freshly baked chocolate donuts with a cup of coffee or milk, and enjoy the sweet, chocolatey goodness!