Dried spaghetti is fine for years—but here's when to toss it.

Honestly, dried spaghetti lasts a long time, but you can tell it’s past its prime by how it looks, smells, and cooks.

First, look at the pasta. If you see fine cracks, powdery dust, or discolored patches (darker or faded), it’s old. The worst sign is tiny webbing or holes—that means pantry moths got in, and that pasta is garbage.

Smell it. Fresh dried pasta has a faint, wheaty smell. If you get anything musty, sour, or rancid, toss it. The oils in the semolina can go off over years.

Cook a strand. Proper dried spaghetti should hold its shape and have a clean snap when you break it dry. If it crumbles into pieces when you try to break it, or if it cooks up mushy and sticky before you’ve even finished boiling, it’s lost its structural integrity. That’s the quality loss everyone talks about—it won’t hold an al dente texture.

None of this will make you sick (assuming no mold or pests), but the eating experience will be disappointing.

If that box has been in the back of the pantry for more than two years, just buy a fresh one. Your sauce deserves better.