Preheat Oven: Preheat your oven to 375°F (190°C). Grease a 9×13-inch baking dish with butter or non-stick spray.
Prepare Potatoes and Onions:Â Arrange half of the sliced potatoes in an even layer in the prepared baking dish. Top with the sliced onions, then add the remaining potatoes on top.
Make the Cheese Sauce:
In a medium saucepan over medium heat, melt the butter.
Whisk in the flour to form a roux, cooking for about 1 minute until lightly golden.
Gradually whisk in the milk and heavy cream, stirring constantly to avoid lumps. Continue to cook until the mixture thickens, about 3-5 minutes.
Remove from heat and stir in the cheddar, Gruyère, and Parmesan cheeses until melted and smooth. Add the garlic powder, salt, and pepper, mixing well.
Assemble the Dish:Â Pour the cheese sauce evenly over the layered potatoes and onions, ensuring all pieces are well coated.
Bake:Â Cover the baking dish with aluminum foil and bake in the preheated oven for 60 minutes. Remove the foil and continue baking for an additional 15-20 minutes, or until the top is golden brown and the potatoes are tender when pierced with a fork.
Garnish and Serve:Â Allow the dish to rest for 10 minutes before serving. Garnish with freshly chopped parsley.
Notes
For uniform potato slices, consider using a mandoline slicer.
Yukon Gold potatoes are recommended for their buttery flavor and ability to hold their shape.
Feel free to experiment with different cheese combinations, such as adding Fontina or using only cheddar.