A comforting and flavorful pasta dish featuring caramelized onions and a creamy cheese sauce.
Heat a skillet over medium heat and melt the butter.
Use unsalted butter to control the saltiness of the dish.
Add the sliced onions, thyme, and bay leaf to the skillet. Cook, stirring occasionally, until the onions are golden and caramelized, about 15 minutes.
Cook the onions on low heat to avoid burning and achieve a deep caramelization.
Bring a large pot of salted water to a boil. Add the pasta and cook until al dente according to package instructions. Drain and set aside.
Reserve a cup of pasta water to adjust the sauce consistency later if needed.
In the same skillet, melt the butter for the sauce over medium heat. Whisk in the flour and cook for 1 minute.
Cooking the flour removes the raw taste and helps thicken the sauce.
Gradually whisk in the milk, nutmeg, salt, and pepper. Cook until the sauce thickens, about 5 minutes.
Stir constantly to prevent lumps and ensure a smooth sauce.
Stir in the shredded cheeses until melted and smooth.
Use freshly grated cheese for better melting and flavor.
Combine the cooked pasta, caramelized onions, and cheese sauce in a baking dish. Mix well.
Ensure the pasta is evenly coated with the sauce for consistent flavor.
Bake in a preheated oven at 375°F (190°C) for 15 minutes until bubbly and golden on top.
For a crispy topping, sprinkle breadcrumbs mixed with a little melted butter before baking.
Serve warm and enjoy your delicious caramelized onion and cheese pasta bake.
Garnish with fresh thyme leaves for a touch of color and flavor.