If you are wondering what to do with leftover pesto, the short answer is this: stir it into something warm, creamy, salty, or starchy. A spoonful can make plain pasta taste intentional, rescue a baked potato, or turn two eggs and a piece of toast into dinner. You do not need a complicated recipe or another trip to the store.
I am assuming you have the kind of leftover pesto most of us actually have: a few tablespoons in a jar after making pasta, or half a small container that has been sitting behind the mustard. These ideas work with refrigerated basil pesto, spinach pesto, sun-dried tomato pesto, and the inexpensive store brands. Price examples are based on ordinary Kroger-style grocery prices, not a specialty market.
Start by checking whether the pesto is still good
Before deciding what to do with leftover pesto, look at it and smell it. A darker green surface does not automatically mean it is spoiled; basil pesto often darkens when exposed to air. Stir it and check for a sour, rotten, or unusually fermented smell. If you see fuzzy mold, pink or orange spots, or bubbling that was not there before, throw the whole container away. Do not scrape off the top and use the rest.
Store-bought pesto usually has a use-by date, but the clock starts moving faster once the jar is opened. Keep it refrigerated with the lid tightly closed. A thin layer of olive oil on top can limit air exposure, although it is not a magic preservation trick. For longer storage, freeze pesto in tablespoon portions in an ice cube tray, then transfer the frozen cubes to a freezer bag. One cube is handy when you only need enough for a sandwich or a bowl of rice.
The cheapest useful portion is about one tablespoon. That amount can season one serving of pasta, two eggs, or a cup of cooked vegetables. You do not need half a jar to taste it.

1. Make pesto butter noodles
Boil whatever pasta is already in the pantry. Before draining, save a half cup of pasta water. Toss one serving of hot noodles with one tablespoon of pesto, one teaspoon of butter, and a splash of the cooking water. The starch helps the sauce cling instead of sliding to the bottom of the bowl.
This is what to do with leftover pesto when you need lunch in ten minutes. Add frozen peas, canned white beans, leftover chicken, or a fried egg if you have them. A $1 box of pasta, a $4 jar of pesto, and a little butter can produce four meals for roughly $1.25 to $1.75 each, depending on how much pesto you use. Parmesan is nice, but a pinch of salt and black pepper will get the job done.
2. Put it on eggs, potatoes, or toast
Pesto is strong enough to make inexpensive staples feel different. Fry or scramble two eggs, then add a teaspoon on top after turning off the heat. Do not cook it hard for several minutes; the fresh herb flavor is better when it stays bright. Two eggs at around 50 cents, one slice of toast, and a spoonful of pesto can make a filling breakfast for about $1.25.
You can also spread it on toast with sliced tomato, or spoon it over a baked potato. A russet potato costing roughly 75 cents becomes a real meal with pesto, a little shredded cheese, and leftover broccoli. If you have plain yogurt or sour cream, mix a teaspoon of pesto into it first. That makes a quick topping that stretches the pesto across more servings.
3. Turn it into a sandwich spread
What to do with leftover pesto gets especially easy when lunch is already bread-based. Mix one tablespoon of pesto with two tablespoons of mayonnaise, cream cheese, or plain Greek yogurt. Spread it on a turkey sandwich, grilled cheese, tuna melt, or vegetable wrap. The mixture is less intense than straight pesto and gives you enough spread for two or three sandwiches.
My favorite low-effort version uses a toasted English muffin, pesto mayo, a fried egg, and a slice of American cheese. It is not pretending to be restaurant food. It is hot, salty, and cheap, which is exactly what I want before work. A batch of pesto mayo keeps in the refrigerator for a couple of days, so make only what you will use.

4. Stir it into soup, beans, or rice
A teaspoon of pesto stirred into tomato soup adds garlic, herbs, oil, and cheese all at once. Add it after heating the soup rather than boiling it for ten minutes. The same trick works with canned white beans: warm the beans with a splash of water, stir in pesto, and serve them over toast or rice.
For a budget bowl, combine one cup of cooked rice, half a cup of beans, frozen corn, and one tablespoon of pesto. Add lemon juice or vinegar if the bowl tastes flat. This makes two small servings for around $1.50 to $2 total if the rice and beans are pantry staples. What to do with leftover pesto does not have to mean building a separate recipe; it can simply mean improving food you already cooked.
5. Use it on roasted vegetables or chicken
Toss carrots, potatoes, zucchini, or frozen vegetables with oil and roast them at 425°F until browned and tender. Add pesto after roasting. If you mix it on before cooking, the garlic and herbs can scorch, especially around the edges of a sheet pan.
A tablespoon of pesto also works on cooked chicken thighs, canned tuna patties, or baked salmon. Use it as a finishing sauce rather than a marinade. For a cheap meal, roast one pound of chicken thighs with potatoes and carrots, then add a teaspoon of pesto to each portion. The pesto gives leftovers a different flavor on the second night, which matters when your grocery budget does not allow a new dinner every day.
6. Freeze small portions for future meals
If you have more pesto than you can use this week, freeze it before it becomes a science experiment. Spoon it into an ice cube tray, muffin tin, or small freezer containers. Cover the surface with plastic wrap or a little oil, label it with the date, and freeze. Once solid, move the portions to a labeled bag.
A tablespoon-sized frozen portion thaws quickly in hot pasta, soup, rice, or vegetables. Do not thaw and refreeze it repeatedly. For the best texture, use frozen pesto in cooked dishes rather than expecting it to look exactly like freshly opened pesto on a cold salad.
A simple plan for using the whole jar
Here is what to do with leftover pesto if you want a sequence instead of nine separate ideas. Use two tablespoons for pasta tonight. Mix one tablespoon with mayonnaise for sandwiches tomorrow. Freeze the remaining tablespoons in individual portions. Later, use one cube with eggs and one with soup or beans. That turns a $4 jar into several flavor boosts instead of one expensive dinner.
The main rule is to pair pesto with plain food that needs help: noodles, potatoes, rice, beans, eggs, toast, or frozen vegetables. Start with a small amount, taste, and add more only if needed. Pesto contains oil, salt, cheese, and concentrated herbs, so a little does real work. Price it out, then tell me it doesn't work.