Prep the pan and oven: Preheat the oven to 350°F (175°C).
Grease a 9x13-inch baking pan and line with parchment for easy removal.
Mix the dry ingredients: In a large bowl, whisk flour, granulated sugar, baking powder, baking soda, and salt until well combined.
Combine the wet ingredients: In a separate bowl, whisk melted butter, eggs, milk, sour cream, and vanilla until smooth.
Make the batter: Pour the wet mixture into the dry ingredients. Stir gently until just combined. The batter should be thick but pourable.
Avoid overmixing.
Spread in the pan: Pour the batter into the prepared pan and smooth the top with a spatula.
Stir together the swirl: In a small bowl, mix brown sugar, cinnamon, nutmeg, salt, and melted butter until it forms a thick, sandy paste.
Add the swirl: Dollop the cinnamon mixture over the batter in spoonfuls. Use a butter knife to gently swirl it through the cake, creating ribbons without overmixing.
Bake: Bake for 28–35 minutes, or until the center springs back and a toothpick comes out with a few moist crumbs. Don’t overbake.
Make the glaze: Whisk powdered sugar, milk, vanilla, and salt until smooth.
For a cream cheese glaze, beat the cream cheese first, then add the powdered sugar and liquids.
Glaze while warm: Let the cake cool for 10 minutes, then drizzle the glaze over the warm cake so it sinks in slightly. Add toppings if desired.
Serve: Slice into squares and enjoy warm. It’s lovely with coffee, hot cocoa, or spiced cider.