Cacio e pepe is a Roman pasta dish made from three things: long pasta, finely grated pecorino romano and plenty of black pepper. It is a pasta dish typical of Lazio, Italy, and contains grated pecorino romano and black pepper with tonnarelli or spaghetti. There’s no cream, no butter in the traditional version, no garlic. The sauce is really just cheese and pasta water, worked until it turns glossy.
The story told about its origin is that it comes from shepherds in the Lazio hills. Its origins date back to when shepherds in the Lazio region used to carry foods that could last a long time without spoiling during their long periods away from home, and two of these foods were pecorino romano and black pepper. That story is widely repeated, though the precise age of the dish is hard to pin down: it dates back to at least the 19th century and was popular among shepherds and labourers who needed simple, durable ingredients for long journeys in the Apennine mountains. Whatever its exact age, it has long since moved from the pastures into Roman trattorias and onto menus everywhere.
Done well, cacio e pepe tastes sharp, salty and peppery all at once, with a sauce that clings to every strand instead of pooling at the bottom of the bowl. The texture is the whole point: achieving a smooth and creamy texture during preparation requires special attention, as the cheese is prone to becoming lumpy. It’s a quick weeknight plate as much as a restaurant classic, usually eaten on its own as a first course rather than alongside meat or vegetables.
What you need
Pecorino romano is not optional here; it’s one half of the dish’s name and most of its flavour. Look for it at Italian delis, well-stocked supermarkets or online as a wedge labelled “Pecorino Romano DOP”, and grate it finely yourself rather than buying pre-grated, which often contains anti-caking starch that stops it melting smoothly.
Black pepper should be whole peppercorns, cracked or coarsely ground just before cooking and warmed briefly in a dry pan. This wakes up its aroma in a way that pre-ground pepper from a jar cannot match. Pasta matters too: a rougher surface holds the sauce better, which is why tonnarelli (a square-cut fresh egg pasta) or dried spaghetti are the usual choices.
| Ingredient | Swap | What changes |
|---|---|---|
| Pecorino Romano | Grana Padano or Parmigiano Reggiano, 1:1 | Milder and less salty; the sauce loses some of its sharp edge |
| Tonnarelli | Spaghetti or bucatini, same weight | Slightly less chew, but the dish works the same way |
| Whole black peppercorns | Pre-ground black pepper, same amount, added at the end only | Less fragrant; skip the toasting step since pre-ground pepper burns faster |
| Dried pasta | Gluten-free spaghetti, same weight | Releases less starch, so add the cheese cream a little at a time and watch the sauce doesn’t thin out |
Cacio e pepe
A Roman pasta dish of tonnarelli or spaghetti tossed with finely grated pecorino romano and toasted black pepper, bound into a glossy sauce with starchy pasta water.
- Vegetarian
- Halal
- Under 30 minutes
Ingredients
For the pasta
- 400 g Tonnarelli or spaghetti
- 1 tbsp Salt, for the pasta water, use less than usual, since pecorino is salty
For the sauce
- 200 g Pecorino Romano, finely grated, plus extra to serve
- 2 tbsp Whole black peppercorns, coarsely crushed
Equipment
Large pot, Wide frying pan, Mixing bowl, Fine grater, Mortar and pestle or spice grinder
Method
- Crush and toast the pepper. Coarsely crush the peppercorns with a mortar and pestle or spice grinder. Toast them in a dry wide frying pan over medium heat for about 30 seconds, just until fragrant, then take the pan off the heat.
- Boil the pasta in less water than usual. Bring a pot with less water than you'd normally use to the boil (this keeps the starch concentrated). Add a light scattering of salt, then the pasta. Cook for 1 minute less than the package suggests for al dente.
- Reserve the pasta water. Before draining, scoop out and set aside about 500ml (2 cups) of the hot pasta water. Drain the pasta but don't shake it dry.
- Make the cheese paste. In a mixing bowl, combine the grated pecorino with about 100ml (just under 1/2 cup) of the warm, not boiling, pasta water. Stir into a smooth, loose paste with no dry lumps.
- Finish the pasta in the pepper pan. Return the frying pan with the toasted pepper to low heat. Add the drained pasta and a splash of pasta water, and toss for 1 to 2 minutes so it finishes cooking and picks up the pepper.
- Add the cheese off the heat. Take the pan off the heat completely. Add the pecorino paste and toss vigorously and continuously until it coats every strand in a smooth, glossy sauce. If it looks tight or stringy, loosen it with a little more warm pasta water, a tablespoon at a time.
- Serve immediately. Plate straight away in warmed bowls, finishing with extra grated pecorino and a last crack of black pepper. The sauce thickens quickly as it cools, so serve without delay.
Contains: milk, gluten. Check the labels on packaged ingredients.
Written with AI assistance and reviewed by a human editor. This recipe has not been cooked in a home kitchen, so taste and adjust as you go. The header picture is an AI-generated illustration, a stock photo or an official press picture, not a photo of this exact recipe. Use halal-certified meat.
Tips for success
Keep the pasta water starchy. Use less water than you normally would for boiling pasta, and salt it lightly since pecorino is already salty. A smaller volume of water means more starch per cup, which is what turns melted cheese into a sauce instead of a stringy mess.
Never add cheese straight to a hot pan. Pecorino seizes and clumps above roughly 65°C. Mixing it first with warm, not boiling, pasta water into a loose paste, then folding that paste through the pasta off the heat, is what keeps the sauce smooth.
Undercook the pasta slightly. Pull it from the water a minute or so before it’s fully al dente; it finishes cooking in the sauce and this extra minute of contact helps the starch bind everything together.
Toast the pepper, don’t scorch it. A hot dry pan for a matter of seconds is enough to release its oils. Left too long, it turns bitter instead of fragrant.
Work fast and keep tossing. The sauce sets as it cools, so toss continuously and serve the moment it looks glossy. A cold bowl turns the sauce gluey almost instantly, so warm your serving bowls first.
Storing and reheating
Cacio e pepe is really a dish to eat straight away; the sauce is an emulsion and doesn’t hold well. If you do have leftovers, cool them within two hours and refrigerate in a sealed container, following general guidance for cooked pasta dishes of using them within 3 to 4 days. Reheat gently in a pan with a splash of water or milk over low heat, stirring constantly, rather than in a microwave, which tends to make the sauce split and turn grainy. It isn’t a dish that freezes well, since the emulsion breaks down and separates once thawed.
Serving ideas
In Rome this is usually a first course on its own, with nothing more than extra grated pecorino and a last crack of pepper at the table. A simple green salad with a sharp lemon dressing afterwards balances the richness well, and a plate of roasted or grilled vegetables on the side turns it into a fuller meal without competing with the pepper and cheese.
Diet and allergen notes
This recipe is vegetarian if your pecorino is made with vegetarian (microbial) rennet; traditional pecorino romano often uses animal rennet, so check the label if that matters to you. It is halal as written, since the only ingredients are pasta, cheese and pepper; if you want certainty on the cheese, look for a pecorino or hard cheese marked halal-certified or vegetarian-rennet. It is not vegan or dairy-free, as the sauce depends entirely on cheese. The main allergens are milk (pecorino) and gluten (wheat pasta); swap in a gluten-free pasta for a gluten-free version, following the note in the substitutions table.
Questions
Why did my cheese clump instead of turning into a sauce?
This almost always comes from heat that’s too high. Pecorino melts smoothly only in a narrow temperature range; mix it into warm, not boiling, pasta water first to form a paste, and fold it through the pasta off the direct heat.
Can I make cacio e pepe with pre-grated cheese from a bag?
You can, but the result is usually grainier. Bagged pre-grated cheese is coated in starch to stop it sticking together, and that same starch can stop it melting into a smooth sauce. Grating a block yourself just before cooking gives a far silkier result.
What’s the difference between cacio e pepe and carbonara?
Cacio e pepe uses cheese and pepper only, while both dishes rely on the same technique of emulsifying cheese with starchy pasta water, and cacio e pepe is the older, simpler of the two. Carbonara adds egg and, in halal kitchens, beef or chicken bacon in place of the traditional pork.

