Pierogi are usually cooked in two steps: a gentle boil to cook the dough and filling, then an optional fry in butter for a golden finish. Both steps are simple once you know the timing.
Boiling
Bring a large pot of salted water to a boil, then lower the heat to a steady simmer. Slide pierogi in a few at a time so the pot does not cool down and they do not stick together. Stir gently once after adding them. Fresh pierogi are done a minute or two after they float to the surface. Frozen pierogi take a few minutes longer. Lift them out with a slotted spoon and let the water drain.
Frying for a golden finish
Melt butter or oil in a skillet over medium heat and add the boiled pierogi in a single layer. Cook until golden on each side. Many cooks add sliced onions to the pan and cook them until soft and browned. Do not crowd the pan, or the pierogi will steam rather than brown.
Cooking from frozen
Do not thaw frozen pierogi. Add them straight to simmering water, and give them a few extra minutes. Thawing makes them soft and sticky.
What to serve with them
Sour cream, browned onions, crispy bacon bits, fresh dill, and a simple salad all pair well. Sweet pierogi go with a dollop of sour cream and a sprinkle of sugar or fruit. For a full meal, serve with sautéed cabbage or kielbasa.
Reheating leftovers
Pan-fry leftover boiled pierogi in butter for a few minutes per side. This crisps them and tastes better than the microwave, which tends to make the dough tough.
Freezing for later
To freeze uncooked pierogi, place them on a floured tray in a single layer and freeze until solid, then transfer to freezer bags. Boil from frozen. This lets you make a large batch once and have dinner on hand for weeks.
Doneness check
Cut one open to check that the filling is hot all the way through, especially meat fillings. Fillings with meat or eggs should reach a safe internal temperature, so when in doubt, cook a little longer.
Keep water at a simmer
A hard boil bumps pierogi against each other and can tear the seams. A gentle simmer cooks them just as well. If the pot starts to roil, turn the heat down and add a splash of cold water.