Ingredients
Equipment
Method
Prep and preheat
- Preheat the oven to 375°F, then butter a 9x13-inch baking dish with the butter. Set the dish aside while you make the sauce.
Make the creamy cheese sauce
- Melt the butter, then cook the minced garlic for 30 seconds until fragrant. Keep the heat gentle so the garlic doesn’t brown.
- Whisk in the all-purpose flour and cook for 1 minute to remove the raw flour taste. The mixture should look smooth and slightly thickened.
- Slowly whisk in the whole milk and heavy cream, then simmer until thickened. Visual cue: the sauce should coat a spoon and cling in a creamy layer.
- Remove the sauce from heat, then season with salt, black pepper, and fresh thyme leaves. Stir until the herbs are evenly distributed.
- Stir in 1 cup sharp cheddar and 1/2 cup Gruyere until fully melted. The sauce should be glossy and smooth.
Layer and bake
- Layer a third of the potato slices in the buttered baking dish, then spoon over a third of the sauce. Spread the sauce gently so it reaches the edges.
- Repeat the potato-and-sauce layering two more times, using up all potatoes and sauce by the end of the third layer. Visual cue: the dish should be evenly filled with creamy layers.
- Top with the remaining sharp cheddar and Gruyère so the surface bakes into a browned crust. Make sure cheese covers most of the top.
- Cover the dish with foil and bake for 45 minutes at 375°F. Visual cue: the potatoes should be mostly tender with bubbling sauce under the foil.
- Uncover and bake 25 to 30 minutes at 375°F until golden and tender. Visual cue: the top should be deeply golden with active bubbling around the edges.
Rest and serve
- Rest the au gratin potatoes for 15 minutes before serving. This helps the creamy layers set so each slice holds together.
Notes
For the creamiest layers, slice the Yukon gold potatoes to an even 1/8-inch thickness so they bake at the same pace. Store leftovers covered in the refrigerator for up to 4 days; reheat in a 325°F oven until warmed through. Freezing is not recommended because the sauce can break when thawed. Dietary swap: use lactose-free milk and cream (or a lactose-free half-and-half) to reduce dairy lactose while keeping the same creamy texture.
