This oven-baked 4-ingredient French onion pasta is exactly the kind of dish that makes my book club linger at the table long after we’ve finished discussing the novel. It borrows its soul from classic French onion soup—slow-cooked, deeply caramelized onions and nutty Gruyère—then tucks those flavors into a cozy casserole of pasta that bakes up bubbly and irresistibly cheesy. It’s straightforward enough for a weeknight, but special and nostalgic in the way French bistro food often feels, making it the sort of recipe people immediately ask you to email them after the first bite.
Serve this pasta straight from the baking dish while the Gruyère is still molten and stretchy. A simple green salad with a sharp vinaigrette (I like mixed greens with Dijon and red wine vinegar) cuts through the richness nicely. Crusty bread is optional but very welcome for scooping up the cheesy bits. For drinks, a dry white wine like Sauvignon Blanc or a light, earthy red such as Pinot Noir pairs well with the caramelized onions. If you prefer non-alcoholic, try sparkling water with a squeeze of lemon to refresh the palate between bites.
Oven-Baked 4-Ingredient French Onion Pasta
Servings: 6
Ingredients
2 pounds yellow onions, thinly sliced
3 tablespoons unsalted butter
12 ounces rigatoni (or other short, sturdy pasta)
3 cups shredded Gruyère cheese (about 10 to 12 ounces)
1 teaspoon kosher salt, plus more for pasta water
1/2 teaspoon freshly ground black pepper (optional, but recommended)
Nonstick cooking spray or 1 teaspoon neutral oil, for greasing the baking dish
Directions
Preheat the oven to 375°F (190°C). Lightly grease a 9x13-inch (or similar) baking dish with nonstick spray or neutral oil and set aside.
Caramelize the onions: In a large, wide skillet or Dutch oven, melt the butter over medium heat. Add the sliced onions and 1 teaspoon kosher salt. Cook, stirring every few minutes, until the onions are very soft, deep golden brown, and jammy. This will take about 30 to 40 minutes; lower the heat to medium-low if they start to scorch. The goal is slow, even browning to build that French onion soup flavor.
Deglaze the pan with a splash of water if needed: As the onions caramelize, browned bits will form on the bottom of the pan. If they threaten to burn, add 1 to 2 tablespoons of water and scrape them up with a wooden spoon, stirring them back into the onions for extra flavor.
Cook the pasta: While the onions are finishing, bring a large pot of well-salted water to a boil. Add the rigatoni and cook until just shy of al dente (usually 1 to 2 minutes less than the package directs). The pasta will finish cooking in the oven. Drain well.
Combine pasta and onions: Turn off the heat under the onions. Add the drained pasta directly to the pan with the caramelized onions. Toss well so every piece of pasta is coated in the buttery onions. Season with freshly ground black pepper if using, and taste for salt, adding a pinch more if needed. Remember the cheese will add a bit of saltiness too.
Layer in the baking dish: Spread half of the onion-pasta mixture in an even layer in the prepared baking dish. Sprinkle with half of the shredded Gruyère. Add the remaining onion-pasta mixture on top, then finish with the remaining Gruyère, spreading it to the edges so you get those browned, bubbly corners.
Bake: Place the dish on the center rack and bake for 20 to 25 minutes, until the cheese is fully melted, bubbling around the edges, and lightly browned on top. If you like a deeper, more blistered top, you can switch the oven to broil for 1 to 2 minutes at the end—watching closely so it doesn’t burn.
Rest and serve: Let the casserole rest for about 5 minutes so it can settle slightly and the cheese thickens just enough to get that perfect, stretchy pull with a serving spoon. Serve hot, scooping down to the caramelized onion pockets at the bottom of the dish so every portion gets plenty of onions and Gruyère.
Variations & Tips
To keep this in the spirit of a 4-ingredient recipe, I treat salt, pepper, and oil as pantry basics, but there are several ways to customize it without complicating the process. For a more traditional French onion profile, you can splash 1/4 cup dry white wine or a tablespoon of sherry into the onions toward the end of caramelizing, cooking it down until nearly evaporated. A teaspoon of fresh thyme leaves or 1/2 teaspoon dried thyme stirred into the onions adds a classic herbal note. If you prefer a creamier texture, toss the pasta with 1/2 cup heavy cream or whole milk before baking; it will create a looser, almost gratin-like sauce under the cheese. For extra depth, replace a cup of the Gruyère with finely grated Parmesan or a smoked cheese, keeping the total cheese amount the same. You can also swap rigatoni for penne, ziti, or shells; just choose a short, sturdy shape with ridges so the onions cling well. For make-ahead prep, you can fully caramelize the onions up to 3 days in advance and refrigerate them in an airtight container; rewarm gently before mixing with the pasta. Food safety notes: cool leftovers quickly and refrigerate within 2 hours in a shallow container. Reheat portions thoroughly in the oven or microwave until steaming hot (165°F/74°C) before eating. Because this dish is rich and dairy-heavy, do not leave it at room temperature for extended periods beyond serving time. If using wine, cook it down fully so there is no harsh alcohol flavor, especially when serving to kids or anyone avoiding alcohol.