Kick things off by preheating your oven to 375°F (190°C). While the oven warms up, peel your russet potatoes and slice them thinly. A mandoline slicer works wonders here for even slices that cook consistently.
Generously butter your baking dish. Then, begin layering the potato slices. Sprinkle a mixture of Parmesan and Gruyere over each layer, adding a bit of minced garlic, salt, and pepper before repeating. Keep layering until you’ve used up your ingredients, ensuring an even distribution for that perfect cheesy bite every time.
Gently heat heavy cream with minced garlic in a small saucepan until fragrant, about two minutes. This infuses the cream with delicious garlicky goodness. Pour the warm mixture evenly over your layered potatoes, ensuring it soaks through every corner.
Dot the top layer with small cubes of butter for a crisp golden finish. Cover the dish tightly with foil and bake for 40 minutes. Remove the foil and bake for another 20 minutes to achieve that crispy, golden crust. The aroma will be irresistible by this point!
Once baked, allow the gratin to rest for 5–10 minutes before serving. This helps the layers set and ensures easy, mess-free servings. Sprinkle fresh thyme on top for a vibrant, herby touch.