The baking time for a cake can vary depending on the recipe and size of the cake. As a general guideline, most cakes take around 25-35 minutes to bake in a preheated oven at 350°F (175°C).