This au gratin potatoes recipe is easy to assemble with evenly sliced potatoes and a homemade cheese sauce. Allow about 90 minutes for six side servings. Cover the dish for most baking so the potatoes soften before the top browns, then uncover for a lightly golden cheese finish. The center should be hot and the slices tender when pierced. A browned surface alone does not prove the potatoes underneath are cooked. This version uses a butter-and-flour sauce with milk and Gruyère; the cheese is part of the layers, which distinguishes it from the cheese-free scalloped version described elsewhere.

Servings: 6 sides. Rest: 10 minutes.
Ingredient notes
Use a shallow 2-quart (1.9-liter) baking dish. Slice potatoes approximately 1/8 inch (3 mm) thick with a sharp knife or a mandoline used with its guard. Very thick chunks do not cook like thin layers. Keep the final dish below the rim to allow bubbling without overflowing onto the oven floor.
Tips for the best au gratin potatoes
Cut the potatoes to the same thickness. Thin slices cook more evenly and let sauce reach the center. If using a mandoline, use its guard. Avoid soaking the slices after cutting because their surface starch helps give the sauce body.
Melt the cheese over low heat. Grate it before starting the sauce. Add it after the milk has thickened and stir just until it melts. High heat can make the sauce grainy or oily.
Check the middle with a knife. The outer slices cook first. If the center still feels firm, cover and bake longer before browning the top. The slices should yield easily without collapsing into mash.
Finish the top only after the potatoes soften. Foil keeps the cheese sauce from drying out while the middle cooks. Once the slices yield to a knife, uncover and let the topping brown. Resting gives the sauce time to settle.

Variations
With cream cheese
Whisk a little softened cream cheese into the warm sauce for tang. Use less of the grated cheese in the sauce if needed, but save some for the browned topping.
On the stovetop
Simmer thin slices in a separate stovetop recipe with enough liquid to cover them. The oven method gives a browned top. If you want that finish after stovetop cooking, transfer to a broiler-safe dish and watch closely.
For a large group or slow cooker
Divide a double batch between shallow dishes so the centers heat evenly. For a slow cooker, use a recipe formulated for it. The lid holds moisture in and will not brown the cheese.

What to serve with au gratin potatoes
Serve with roast chicken, baked fish, steamed green beans, or a sharp green salad. If you want a simpler potato side for another meal, see baking potatoes, boiling potatoes, or baking sweet potatoes.
Storage and reheating
Refrigerate portions within 2 hours, or within 1 hour above 90°F (32°C). Keep at 40°F (4°C) or colder and use within 3–4 days. Reheat covered to 165°F (74°C), then uncover if you want to crisp the topping.
FAQ
Can I make au gratin potatoes ahead of time?
Yes. Bake the gratin ahead, cool portions promptly, and refrigerate. Reheat covered to 165°F (74°C), then uncover briefly to brown the cheese. If baking a chilled assembled dish, allow extra time and check the center with a knife as well as a thermometer.
How long do au gratin potatoes keep in the fridge, and can they be frozen?
Use refrigerated potatoes within 3–4 days. Freeze promptly cooled portions if needed, though the sauce may separate and the slices can become softer. Thaw in the refrigerator and reheat to 165°F (74°C). A small splash of milk can help loosen a sauce that has thickened.
What can I substitute if I don’t have a key ingredient?
Use mature cheddar in place of Gruyère, or mix the two. Yukon Gold potatoes hold their shape, while russets give softer layers. If you only have salted butter, reduce the added salt. Whole milk gives the sauce more body than lower-fat milk, so check consistency before layering.