Au gratin potatoes earn their place on the table because they hit all the right notes at once: tender slices that hold their shape, a sauce that clings instead of pooling, and a top layer that bakes into a bubbling, bronzed crust. Done well, every spoonful gives you creamy potato, sharp cheese, and enough salt and thyme to keep the dish from tasting heavy.
The trick is building a sauce that’s thick before it ever goes into the oven. A quick flour-and-butter base keeps the milk and cream from turning thin, and grating in cheddar with Gruyere gives you both sharpness and melt. Yukon gold potatoes matter here too; they’re waxy enough to stay intact, but they turn buttery and soft after a long bake.
Below, I’ll walk through the small decisions that keep the sauce smooth, the potatoes tender, and the top golden instead of greasy. There’s also a note on how to slice the potatoes so the dish bakes evenly from edge to center.
The sauce stayed silky and the potatoes were tender all the way through without falling apart. I loved that the top got crisp and cheesy while the center stayed creamy after the 15-minute rest.
Save these au gratin potatoes for the nights when you want a creamy, cheesy side with a crisp golden top.
The Reason the Sauce Stays Creamy Instead of Turning Thin
The sauce needs to thicken on the stove before it meets the potatoes. If you pour in a loose milk mixture and expect the oven to fix it, the potatoes release moisture and you end up with a dish that tastes under-seasoned and watery at the bottom. A quick roux gives the dairy enough body to coat each slice and hold together after baking.
Sharp cheddar brings the punch, but Gruyere is what makes the top and edges taste deeper and more savory. The other detail that matters is resting the finished dish for 15 minutes. Straight from the oven, the sauce still moves; give it a little time and it settles into those clean creamy layers you want when you slice into it.
What Each Ingredient Is Actually Doing in This Dish

- Yukon gold potatoes — These hold their shape better than russets and bake up with a naturally buttery texture. Slice them 1/8 inch thick so they soften at the same pace; thicker slices leave you with firm spots in the center while the top is already browned.
- Whole milk and heavy cream — The mix gives you richness without making the sauce taste heavy. You can swap in half-and-half for part of the cream, but the sauce will be a little lighter and less plush.
- Sharp cheddar — This is the cheese that gives the dish its recognizable bite. Pre-shredded works in a pinch, but freshly shredded melts smoother and avoids the slightly grainy texture that anti-caking starches can bring.
- Gruyere — Gruyere melts cleanly and adds a nutty, savory note that cheddar alone can’t cover. If you can’t find it, Swiss is the closest backup, though the flavor will be milder.
- Flour and butter — This is what stabilizes the sauce so it bakes into layers instead of separating. Cook the flour for a full minute so the sauce doesn’t taste pasty.
- Fresh thyme — Thyme cuts through the richness and keeps the dish from tasting flat. Dried thyme can work, but use less because the flavor concentrates fast.
Building the Layers So the Center Bakes Evenly
Starting the Sauce Base
Melt the butter over medium heat, then cook the garlic just until it smells fragrant, not brown. Whisk in the flour and let it bubble for a minute so the raw taste cooks off. If the roux looks too dry or sandy, that’s fine; the milk and cream will smooth it out in the next minute.
Thickening the Dairy
Add the milk and cream slowly while whisking, especially at the beginning when the mixture wants to clump. Keep the heat at a steady simmer, not a hard boil, until the sauce coats a spoon. If it still pours like plain cream, it needs more time on the stove before you add the cheese.
Layering the Potatoes and Cheese
Start with a thin layer of sauce in the pan, then spread one-third of the potatoes in an even layer. Repeat with sauce and cheese until everything is used up, pressing gently so the sauce settles between the slices. Uneven layering is what causes one corner to bake dry while the center stays loose, so take a minute to spread each layer all the way to the edges.
Baking Until Tender and Golden
Cover the dish for the first part of baking so the potatoes steam and soften through the middle. Uncover it at the end to brown the cheese and evaporate a little extra moisture. The potatoes are done when a knife slides through the center with no resistance and the top is deeply golden at the edges.
Make It with Ham
Stir diced cooked ham between the potato layers for a heartier side that eats like a main dish. The ham adds salt and smoky depth, so you can hold back a touch on the seasoning if your ham is especially salty.
Gluten-Free Version
Swap the all-purpose flour for a 1:1 gluten-free flour blend and whisk it into the butter the same way. The sauce may thicken a little faster, so keep the heat gentle and stop cooking as soon as it coats a spoon.
Lighter Dairy Swap
Use half-and-half in place of the cream if you want a less rich dish. The sauce will still bake up creamy, but it won’t be quite as lush, so don’t skip the resting time or it will seem looser when you cut into it.
Storage and Reheating
- Refrigerator: Store covered for up to 4 days. The sauce firms up in the fridge, so the slices will look tighter when cold.
- Freezer: This freezes, but the texture softens a little after thawing. Freeze in portions once cooled, then thaw overnight in the refrigerator.
- Reheating: Cover with foil and warm at 350F until hot in the center, then uncover for a few minutes if you want the top to crisp again. Don’t blast it in the microwave unless you’re fine with softer potatoes and a separated sauce at the edges.
Answers to the Questions Worth Asking

Au Gratin Potatoes
Ingredients
Equipment
Method
- Preheat oven to 375F, then butter a 9x13-inch baking dish. Set aside while you make the sauce so the dish is ready to layer.
- Melt butter in a saucepan over medium heat. Keep it moving until fully melted and glossy.
- Cook minced garlic for 30 seconds in the butter. Look for a fragrant aroma without browning.
- Whisk in all-purpose flour and cook for 1 minute. Stir constantly until the roux looks smooth and lightly thickened.
- Slowly whisk in whole milk and heavy cream. Keep whisking until the mixture simmers and thickens, then stop whisking and allow gentle bubbling.
- Season the thickened sauce with salt, black pepper, and fresh thyme leaves. Taste and ensure herbs are evenly distributed.
- Remove the sauce from heat and stir in 1 cup sharp cheddar and 1/2 cup Gruyere. Mix until the cheeses melt and the sauce turns silky.
- Layer a third of the sliced Yukon gold potatoes and a third of the sauce in the prepared dish. Spread into an even layer so the potatoes cook through uniformly.
- Repeat with another third of the potatoes and another third of the sauce. Tap the dish lightly on the counter to settle the layers.
- Repeat once more with the remaining potatoes and the remaining sauce, then top with the remaining sharp cheddar and Gruyere. The surface should be fully covered with cheese.
- Cover the dish with foil and bake for 45 minutes at 375F. You should see bubbling around the edges once the sauce has worked its way up.
- Uncover and bake for 25-30 minutes at 375F until golden and tender. Look for a browned, bubbling cheese crust and potatoes that offer no resistance.
- Rest the au gratin potatoes for 15 minutes before serving. This sets the creamy layers so each slice holds together.