Spaghetti is the usual answer for carbonara. Rigatoni and bucatini are the other shapes you will see most often in Rome. Any of them can work. Look for a long strand or a tube with some texture, and cook it to a firm bite so it holds up when the egg and cheese go in.
Why spaghetti is the usual choice
Spaghetti is the shape named most often in recipes for traditional Roman carbonara. Its thin, round strands are easy to toss with the sauce, and it is sold almost everywhere. Cooks who want the classic version reach for it first.
Rigatoni and bucatini
Rigatoni is a short, ridged tube. The ridges and the hollow center catch bits of the sauce. Bucatini is a long, thick strand with a hole through the middle. Both are common in Rome, and some cooks prefer them to spaghetti.
Dried or fresh
Most cooks use dried pasta, usually made from durum wheat semolina and water. Fresh egg pasta also works, and it has a softer, more tender bite. It cooks faster, so start checking early. If you make your own, the basic fresh pasta dough gives you an egg base for spaghetti or fettuccine shapes.
Look for bronze-die
Some cooks look for pasta labeled bronze-die. It is extruded through bronze dies, which leaves a rougher surface that sauce can cling to. This is a matter of preference rather than a rule, and it often costs more.
Thick, regular or thin
Spaghettini is thinner and cooks faster. Spaghettoni is thicker and holds up well under a rich sauce. Regular spaghetti sits in the middle, which suits most people. Very thin pasta, such as angel hair, can clump and overcook quickly, which makes it hard to toss the eggs through evenly.
Ribbons are a reasonable option
Flat ribbons such as fettuccine and tagliatelle are a reasonable choice for a rich sauce, especially if you like a wider bite. For other pairings, which pasta for which sauce is a useful guide.
Pasta water matters as much as the shape
Whatever you choose, the sauce depends on starchy pasta water. Many cooks ask, “Do you put pasta water in spaghetti sauce?” For carbonara, the answer is yes. Add a splash at a time, because the starch helps the eggs and cheese turn silky. For a closer look at the two long strands, see linguine vs spaghetti for carbonara.