Preheat the oven: Set it to 375°F (190°C) and grease your baking dish with non-stick spray.
Prepare the hashbrowns: If using frozen hashbrowns, thaw and pat them dry to remove excess moisture.
Layer the ingredients: Spread the hashbrowns evenly in the baking dish. Sprinkle the crumbled bacon and shredded cheese on top.
Whisk the eggs: In a mixing bowl, whisk together the eggs, milk, garlic powder, onion powder, salt, and pepper until well combined.
Pour the egg mixture: Slowly pour it over the hashbrown, bacon, and cheese layers, ensuring even coverage.
Bake the casserole: Place the dish in the oven and bake for 35-40 minutes, or until the eggs are set and the top is golden.
Cool and serve: Let the casserole rest for 5 minutes before slicing and serving