Classic Potato Gratin
Ingredients
Method
Preheat oven to 325°F. Cut 1 garlic clove in half and rub the inside of a 3-qt. shallow baking dish with cut sides. Smear butter all over inside of dish. Bring shallots, cream, salt, pepper, 1 Tbsp. thyme, and remaining 4 garlic cloves to a simmer in a small saucepan over low heat; cook until shallots and garlic are very soft, 15–20 minutes. Let cool slightly. Transfer to a blender; blend until smooth.
Arrange potato slices in prepared dish, fanning out a handful at a time and placing in dish at an angle (this ensures every scoop will have tender potatoes from the bottom and crisp edges from the top). Shingle as you work until bottom of dish is covered. Tuck smaller slices into any gaps to fill. Pour cream mixture over potatoes and cover dish tightly with foil. Bake potatoes until tender and creamy, 60–75 minutes. Let cool.
Place rack in highest position; heat broiler. Remove foil and top potatoes with Gruyere and Parmesan. Broil until cheese is bubbling and top of gratin is golden brown, 5–10 minutes. Serve topped with more thyme leaves.
Gratin can be baked 1 day ahead. Cover and chill. Bring to room temperature before broiling.