01 -
Set the oven temperature to 400°F (200°C) and allow it to fully preheat.
02 -
Melt butter in a skillet over medium heat. Add sliced mushrooms and cook until softened and lightly browned, about 5–7 minutes.
03 -
Incorporate finely diced shallot and minced garlic into the skillet. Cook for 1–2 minutes until fragrant.
04 -
Pour in heavy cream and add grated Parmesan, shredded Gruyère, dried thyme, salt, and black pepper. Stir to combine.
05 -
Allow the mixture to simmer gently for 3–4 minutes, stirring occasionally, until the sauce thickens slightly.
06 -
Move the creamy mushroom mixture into a small baking dish, spreading it evenly across the bottom.
07 -
Sprinkle extra grated Parmesan and Gruyère evenly over the surface for a golden crust.
08 -
Place the dish in the preheated oven and bake for 15–20 minutes or until the top is golden brown and bubbling around the edges.
09 -
Remove from the oven and let rest for a few minutes to allow the sauce to thicken for optimal texture before serving.