Can I substitute butter for vegetable oil in a Devils food cake mix?

Kris Pretto


PieceOfLayerCake July 26, 2015
And be aware that, while butter provides better flavor, its a solid at room temperature, whereas oil is a liquid. That makes a big difference in baked goods, especially cakes. Oil is used often to produce a "moist" mouthfeel, even when the cake is chilled when eaten (which it should never be). Oil also extends the shelf-life temporarily.
boulangere July 26, 2015
And also know, Kris, that there is a world of difference between soft butter and melted butter
boulangere July 26, 2015
You can, but know that vegetable oil contains 0% water, where butter consists of 80% butter fat, 18% water, and 2% milk solids. The difference is clearly in the water content. Gluten, the protein in flour, develops and strengthens in the presence of water. So, yes, you can replace the oil with melted butter, but understand that your cake will likely have a tougher texture due to the greater amount of water in the melted butter.
702551 July 25, 2015
Yes, yes, you should be fine.

I consulted my dog-eared copy of the Fannie Farmer cookbook (first edition was published in 1896), and the recipe in my edition (12th edition, 1979) uses butter.
Recommended by Food52