Preheat oven to 350ºF. Lightly spray a 9×13-inch baking dish with cooking spray.: Warmth fills the kitchen as the oven comes up to temperature, and you should feel a gentle rising heat when you open the door, which signals readiness. Preheating ensures even baking so the casserole cooks through without drying out, and the lightly oiled 9×13 inch baking dish prevents sticking and helps the edges crisp. A common mistake is placing the dish into an under warmed oven, which can cause uneven cooking and a soggy center. If your oven runs hot, check with an oven thermometer to avoid over browning.
Combine hashbrowns, onion, sour cream, cheese, soup, salt, and pepper. Spread into the prepared pan.: As you fold these components together, notice the contrast between the frozen cold hash browns and the soft, creamy sour cream . The mixture should look uniformly coated, with streaks of melted cheddar cheese beginning to bind the potatoes. This step is key because even distribution of seasoning and binding agents ensures every bite is flavorful and cohesive. A troubleshooting tip is to gently squeeze out excess moisture from thawed potatoes if the mix seems too watery, otherwise the casserole may not set. Avoid overmixing which can break down potato strands and make the texture mushy.
Combine crushed cornflakes and melted butter. Sprinkle on top of potatoes.: Pressing the mixture into the 9×13 inch baking dish should feel satisfying as the surface becomes smooth and even, which helps the top brown uniformly. Visually, you want a solid layer that fills the pan without gaps, because thin spots can brown faster and dry out. If you see puddles of liquid on top, dab lightly with a paper towel to prevent a soggy crust. A frequent error is uneven spreading, which leads to inconsistent cooking across the casserole.
Bake for 45 to 50 minutes or until golden crisp and bubbly.: When you toss the crushed cornflakes with warm, melted butter , they take on a glossy sheen and smell slightly toasted, which foreshadows the crunchy, golden topping you want. Butter not only adds flavor, it helps the flakes adhere and brown, creating textural contrast with the soft interior. Make sure the butter is fully melted and evenly mixed through the flakes; clumps of dry flakes will brown differently. Avoid using cold butter chunks, which will not coat the flakes properly and can lead to uneven browning.
Sprinkle on top of potatoes.: As you scatter the buttery cornflakes over the casserole, aim for full coverage so each slice gets a crunchy edge. The topping should look evenly distributed and slightly glossy from the butter . This layer protects the interior from drying while producing that signature crackly surface. If the topping seems sparse, add a touch more crushed cornflakes rather than piling on excess butter, which can make the crust greasy.
Bake for 45 to 50 minutes or until golden crisp and bubbly.: During baking you will hear gentle bubbling and see the edges turn a deep golden brown while the center puffs slightly, indicating it is hot through. The sizzling sound and the aroma of toasted cheddar cheese and butter are good signals that the casserole is nearing done. The why here is that sustained oven heat allows moisture to evaporate slowly, concentrating flavors and firming the dish. One thing to watch for is overbrowning of the topping; if the top reaches deep brown before the center is hot, tent with foil to prevent burning while the middle finishes baking. A common lapse is removing the casserole immediately from the oven and slicing right away, which can cause it to be too loose; let it rest for ten minutes to set.