The most common issue with overbaked cake is usually the wrong temperature. Baking at a high temperature or baking at a very lower temperature. Alternatively, baking for too long can cause overbaking. So always use the recipe time as a guide but test with a toothpick. Insert in the center of the cake if it comes out clean it's done. If not, give it a few minutes more.