Caramelized Onion Carbonara Recipe
| ~7 min read | Spaghetti
Sections
Caramelized onion carbonara is a riff on the classic Roman pasta in which deeply browned, sweet onions are stirred through the same silky sauce of eggs, cheese and rendered pork fat that defines the original. It works because the onions add a jammy sweetness that balances the sharp salinity of Pecorino Romano, while the residual heat of the drained pasta gently cooks the eggs into a glossy coating instead of scrambled curds. Get the heat right and you have a rich, restaurant-quality sauce from four or five everyday ingredients in the time it takes the spaghetti to boil.
Ingredients
- 12 oz (340 g) dried spaghetti, or rigatoni or penne if you prefer
- 3 medium yellow onions (about 1.5 lb / 680 g), thinly sliced
- 3 tbsp olive oil, for the onions
- 4 oz (115 g) guanciale, pancetta or thick-cut bacon, cut into 1/4-inch strips
- 2 large eggs plus 1 large egg yolk (use pasteurized shell eggs if anyone at the table is pregnant, elderly, very young or immunocompromised)
- 1 1/2 oz (40 g) Pecorino Romano, finely grated (about 3/4 cup loosely packed)
- 1 oz (28 g) Parmigiano Reggiano, finely grated (about 1/2 cup loosely packed)
- 1/2 tsp coarsely cracked black pepper, plus more to finish
- Kosher salt, for the pasta water (about 1 tbsp per 4 quarts)
Instructions
- Caramelize the onions first, because they take the longest. Heat the olive oil in a wide skillet over medium-low heat, add the sliced onions with a pinch of salt, and cook 35 to 45 minutes, stirring every few minutes and scraping up the fond that forms. Add a splash of water (1 to 2 tbsp) whenever the pan looks dry or the onions threaten to burn. They are ready when they are soft, collapsed, and a deep amber brown. Scrape into a bowl and set aside. Do not rush this over high heat; burnt onions are bitter and cannot be rescued.
- Render the pork. Put the guanciale or bacon in the same skillet over medium-low heat with no added oil and cook 6 to 8 minutes, until the fat has rendered and the pieces are crisp and golden at the edges. Turn off the heat and leave the pork and fat in the pan.
- Boil the pasta. Bring 4 to 5 quarts of water to a rolling boil, salt it generously, and cook the spaghetti until al dente, 1 to 2 minutes short of the package time. Check by biting a strand: it should be firm at the center with no chalky core. Before draining, scoop out 1 cup of the starchy pasta water and set it aside.
- Make the sauce base. While the pasta cooks, whisk the whole eggs, extra yolk, both grated cheeses and the cracked pepper in a bowl until you have a thick paste. Add 2 tbsp of the reserved pasta water and whisk again to loosen it. The mixture should be pourable, not stiff.
- Combine off the heat. Drain the pasta and tip it into the skillet with the pork and its fat. Add the caramelized onions. Toss for 30 seconds so the pasta picks up the fat and the onions are distributed, then take the pan completely off the burner. Egg sauces curdle on direct heat, so the pan must be warm, not hot.
- Toss with the egg mixture. Pour the egg and cheese paste over the pasta and toss constantly with tongs for 30 to 60 seconds. The sauce will look loose at first, then turn creamy and cling to the strands as the residual heat brings it together. Add pasta water 1 tbsp at a time if it tightens up too much; you want a sauce that flows but still coats each strand.
- Serve immediately. Divide among warmed bowls, top with extra Pecorino and a grind of black pepper, and eat while the sauce is still glossy. Carbonara waits for no one.
Tips
- Off the heat is the whole trick. If the pan is still on the burner when the eggs go in, you get scrambled egg pasta. If the pan has gone cold, the sauce stays runny. Aim for a pan you can hold your hand near comfortably.
- Grate the cheese finely and at the last minute. Pre-grated cheese dries out and refuses to melt smoothly. A microplane gives you the fluffy texture the sauce needs.
- Skip cream. Traditional carbonara has no cream and does not need it. If your sauce breaks, a tablespoon of pasta water and vigorous tossing usually brings it back.
- Watch the salt. Pecorino is very salty and the pork is salty, so taste before adding any salt to the finished dish.
Serving Suggestions
Serve this as a standalone primo with a simple salad of bitter greens dressed in lemon and olive oil, or alongside a glass of dry white wine for adults. A slice of crusty bread is useful for mopping the bowl. Keep the portions moderate: this is a rich dish, and about 4 oz of dried pasta per person is plenty. If you are feeding a crowd, make two smaller batches rather than one huge one, because a large volume of pasta cools the pan and the eggs will not set the sauce properly.
Variations
Swap the guanciale for smoked pancetta if you want a smokier note, or leave the pork out entirely and use 3 tbsp of good olive oil plus an extra pinch of salt for a vegetarian version. Add a pinch of chili flakes with the onions for heat. A teaspoon of chopped fresh thyme stirred in at the end works well with the sweetness of the onions. Some cooks add a handful of frozen peas to the pasta water in the last minute; drain them with the pasta and fold them in. For a mushroom version, brown 8 oz of sliced cremini in the same skillet before the onions and add them back at the end. Rigatoni holds the onions better than thin spaghetti if you like a chunkier bite.
Storage and Reheating
Carbonara is at its best fresh, but leftovers keep safely. Refrigerate within 2 hours of cooking (1 hour if the room is above 90°F) in a shallow, covered container at 40°F (4°C) or below, and eat within 3 to 4 days. Reheat gently: put the pasta in a covered skillet over low heat with 1 to 2 tbsp of water or milk, stirring until steaming, or microwave in 30-second bursts. Reheat leftovers to 165°F (74°F), checked with a food thermometer. Do not reheat twice, and do not leave the pasta sitting out at room temperature for long stretches. For longer storage, freeze in single portions at 0°F (-18°C) for up to 2 months; thaw overnight in the fridge, never on the counter, then reheat as above. The texture will be softer than fresh, but the flavor holds.
Frequently Asked Questions
Why did my carbonara turn into scrambled eggs?
Almost always because the pan was too hot or the eggs went in while the burner was still on. Drain the pasta, toss it briefly with the pork and onions, then move the pan off the heat entirely and let it sit for 30 seconds before adding the egg mixture. Tossing constantly also helps: the eggs need to be spread through the pasta quickly so no single spot overheats.
Can I use cream to make the sauce safer?
You can add a tablespoon or two of cream for insurance, but it changes the dish into something closer to a cream sauce and dilutes the Pecorino flavor. The traditional method works fine without it as long as you keep the pan off the heat. If you are worried about raw egg safety, use pasteurized shell eggs, which are heated enough to kill Salmonella without cooking the yolk.
Is raw egg in carbonara safe to eat?
The eggs are not truly raw here: the residual heat of the just-drained pasta and the warm pan raises the sauce temperature, though it does not reliably reach the 160°F (71°C) recommended for egg dishes. That is why pasteurized eggs are the right choice for anyone in a higher-risk group, including pregnant people, older adults, young children and anyone with a weakened immune system.
What pasta shape is best?
Spaghetti is the classic, but rigatoni, penne and even fresh tagliatelle all work. What matters is that the shape can hold sauce: ridges, tubes and rough surfaces grab the egg coating better than very smooth, very thin strands. Cook any of them to al dente, since the final toss softens them a little more.
Can I caramelize the onions ahead of time?
Yes. Caramelized onions keep in a covered container in the fridge for up to 4 days, or frozen for up to 3 months. Reheat them in the skillet with the pork so they come back to a warm temperature before the pasta goes in. Cold onions will drag the pan temperature down and make the sauce harder to bring together.
How much pasta water should I save?
One cup is plenty for a single batch, and you will likely use only 2 to 4 tablespoons. The starch in it helps the fat and eggs emulsify into a smooth sauce. Add it a spoonful at a time at the end; too much and the sauce turns thin and soupy.