Pesto (Keto Basil Pesto, 1.2g Net Carbs)
- Total time
- 15 minutes
- Makes
- 8 servings (2 tbsp each)
- Net carbs
- 1.2g
- Calories
- 189

Pesto is the bright green Italian sauce made from fresh basil, pine nuts, Parmesan, garlic and olive oil. The classic version, pesto alla genovese, needs no cooking at all beyond a quick toast of the nuts, and the whole recipe takes about 15 minutes with a food processor.
It is also one of the easiest sauces to keep in a keto or low-carb kitchen, because nothing in it needs changing. Basil is a leafy herb, and pine nuts, cheese and olive oil are mostly fat, so a 2-tablespoon serving comes to 1.2g net carbs. The only carb-heavy part of a typical pesto dinner is the pasta underneath it, and that is easy to swap.
This recipe follows a classic ratio: 2 packed cups of basil, half a cup each of grated Parmesan and olive oil, a third of a cup of pine nuts and three cloves of garlic. It makes about 1 cup, enough to sauce a family dinner with some left over for eggs or chicken the next day.
Why This Pesto Recipe Works
The pine nuts are toasted. Raw pine nuts taste soft and mild. Three or four minutes in a dry skillet turns them golden and gives the sauce a deeper, nuttier flavor. Let them cool for a few minutes before they go in, so they do not warm the basil.
The oil goes in slowly. Pouring the olive oil in a thin stream while the processor runs helps it blend into the basil and cheese instead of pooling on top. Made this way, the sauce stays creamy and separates less in the fridge.
The basil is fresh and dry. The sauce is only as good as its basil. Bright, firm leaves give a vivid green sauce. Leaves that have wilted in the fridge for a week turn dark when they are chopped, and wet leaves make it watery, so dry them well after washing.
Real Parmesan, freshly grated. A wedge of Parmesan grated on a fine grater melts into the sauce and seasons it. Dry, powdery cheese from a shaker makes it gritty and salty.

Recipe Overview
- Prep Time: 10 minutes
- Cook Time: 5 minutes (toasting the pine nuts)
- Total Time: 15 minutes
- Yield: about 1 cup, 8 servings of 2 tablespoons
- Net Carbs: 1.2g per serving
- Equipment: a small skillet, a food processor, a rubber spatula and a jar or container with a lid
Ingredients for Pesto

| Ingredient | Quantity | Notes |
| Fresh basil leaves | 2 cups | Tightly packed, about 2 ounces; washed and dried |
| Parmesan cheese | 1/2 cup | Freshly grated, about 2 ounces |
| Extra-virgin olive oil | 1/2 cup | |
| Pine nuts | 1/3 cup | Toasted |
| Garlic | 3 cloves | Minced |
| Salt | 1/4 tsp | More to taste |
| Black pepper | 1/8 tsp | Freshly ground |
Basil. Use sweet Italian (Genovese) basil with large, soft leaves. Pick the leaves off the stems; thin tender stems near the top can go in, but thick woody stems taste bitter. Pack the cup firmly when you measure, since loose leaves would give you half as much.
Parmesan. Buy a wedge and grate it fresh on a fine grater. Pecorino Romano works too and makes a sharper, saltier sauce; if you use it, taste before adding the salt.
Olive oil. A good extra-virgin olive oil makes a noticeable difference here because the sauce is never cooked. A mild, fruity oil suits basil better than a very peppery one.
Pine nuts. These are traditional and give the sauce its rich, buttery body. Chopped walnuts are the most common swap and work well. Pine nuts burn quickly, so watch them while they toast.
Garlic. Three cloves make a bold, garlicky sauce. Start with two if you prefer it milder; you can always add more after tasting.
Recipe Timing
| Stage | Time |
| Wash and dry the basil | 3 minutes |
| Toast the pine nuts | 3 to 4 minutes |
| Cool the nuts, grate the cheese, mince the garlic | 5 minutes |
| Blend | 2 to 3 minutes |
| Total | About 15 minutes |
How to Make Pesto
Step 1: Toast the pine nuts
Put the pine nuts in a small dry skillet over medium heat, with no oil. Shake the pan often and toast them for 3 to 4 minutes, until they are light golden and smell nutty. Tip them onto a plate right away, because the hot pan keeps cooking them and they go from golden to burnt in seconds. Let them cool for a few minutes.

Step 2: Pulse the basil and nuts
Put the basil leaves and the cooled pine nuts in the bowl of a food processor. Pulse several times until the basil is roughly chopped and the nuts are broken up.
Step 3: Add the garlic and cheese
Add the garlic and the grated Parmesan and pulse several more times. Stop and scrape down the sides of the bowl with a rubber spatula so nothing is left unchopped.
Step 4: Stream in the olive oil
With the processor running, pour the olive oil through the feed tube in a slow, steady stream. Stop once or twice to scrape down the sides. Blend until it is as smooth as you like; a few pulses less gives a coarser, more rustic sauce.
Step 5: Season and taste
Add the salt and pepper, pulse once more, then taste. Parmesan is salty, so add more salt only after tasting. Use it right away, or store it as described below.
Tips and Variations
- Keep it green. Basil darkens when it meets air. Press plastic wrap onto the surface, or smooth the top and cover it with a thin layer of olive oil before closing the jar.
- Add lemon for brightness. Some cooks blend in a tablespoon or two of fresh lemon juice. It is not part of the classic recipe, but it brightens the flavor and adds very little carbohydrate.
- Make it with walnuts. Swap the pine nuts for the same amount of walnuts for a slightly earthier version. Toast them the same way.
- Stretch the basil. Replace up to half of the basil with baby spinach for a milder, cheaper sauce that is still bright green.
- No food processor? A blender works; add the oil a little earlier so the blades can turn. You can also chop everything very finely by hand and stir in the oil for a coarse, rustic version.
Serving Suggestions
In Italy it is tossed with pasta. For a low-carb plate, toss it with zucchini noodles, roasted spaghetti squash or homemade cheese-and-egg keto noodles instead. Thin it first with a spoonful of warm water so it coats evenly.
It is just as good beside protein. Spoon it over grilled chicken, steak or baked salmon, stir it into scrambled eggs, or use it as a dip for raw vegetables. For a one-pan dinner built around it, try this ground turkey and zucchini skillet with pesto.

Storage
Keep it in an airtight jar or container in the fridge for up to 3 days. Smooth the top and cover it with a thin layer of olive oil first, which keeps air off the basil and stops the surface from turning brown. Stir the oil back in before serving.
For longer storage, freeze it in a well-sealed container for up to 3 months, and thaw it in the fridge.

Frequently Asked Questions
Is pesto keto?
Yes. Classic basil pesto made from basil, pine nuts, Parmesan, garlic and olive oil has 1.6g total carbs and 1.2g net carbs per 2-tablespoon serving. Check the label on jarred pesto, since some brands add potato flakes, sugar or cheaper oils.
Why did my pesto turn brown?
Basil darkens when its cut leaves meet air, and old or bruised leaves darken faster. Use fresh, dry basil, and cover it with plastic wrap or a thin layer of olive oil as soon as it is made.
Should I toast the pine nuts?
It is worth the few minutes. Toasting brings out a deeper, nuttier flavor. Raw pine nuts still make a good sauce, just a milder one.
Can I make pesto without pine nuts?
Yes. Walnuts are the usual swap, used in the same amount. The sauce will taste slightly earthier.
How long does homemade pesto last?
Up to 3 days in an airtight container in the fridge, or up to 3 months in the freezer.
More Low-Carb Sauces and Dinners
- Chimichurri (Keto) — another no-cook green sauce, made with parsley, garlic, olive oil and vinegar, at 0.8g net carbs a serving.
- Caesar Dressing (Keto) — a creamy Parmesan and anchovy dressing whisked together in 10 minutes, at 1.7g net carbs.
- Tzatziki (Keto) — a cool Greek yogurt, cucumber and dill sauce for grilled meat, at 2.6g net carbs a quarter cup.
- Zucchini Pasta with Lemon Garlic Shrimp — zucchini noodles and seared shrimp in a garlic butter and lemon sauce, ready in 25 minutes.
Recipe Card
The full ingredient list and the short method are in the card below.

Keto Basil Pesto
Equipment
- small skillet
- Food processor or a blender
- rubber spatula
- airtight jar for storing
Ingredients
- 2 cups fresh basil leaves tightly packed, about 2 ounces, washed and dried
- 1/2 cup Parmesan cheese freshly grated, about 2 ounces
- 1/2 cup extra-virgin olive oil
- 1/3 cup pine nuts
- 3 cloves garlic minced
- 1/4 tsp salt more to taste
- 1/8 tsp black pepper freshly ground
Instructions
- Toast: Toast the pine nuts in a small dry skillet over medium heat, shaking the pan often, for 3 to 4 minutes until light golden. Tip onto a plate and let cool for a few minutes.
- Pulse: Put the basil leaves and cooled pine nuts in a food processor and pulse several times until roughly chopped.
- Add: Add the garlic and grated Parmesan cheese and pulse several more times. Scrape down the sides with a rubber spatula.
- Blend: With the processor running, pour in the olive oil in a slow, steady stream. Stop to scrape down the sides once or twice and blend until as smooth as you like.
- Season: Add the salt and pepper, pulse once more, then taste and adjust. Use right away or store covered with a thin layer of olive oil.




