Homemade basil pesto is one of those magical recipes that instantly transforms a simple dish into something special. With its vibrant green color, bold herbal aroma, and rich, garlicky taste, this Italian classic captures the essence of summer in every spoonful. Made from fresh basil leaves, olive oil, garlic, pine nuts, and Parmesan cheese, pesto is both versatile and deeply satisfying. While store-bought versions can be convenient, there’s nothing quite like the flavor of pesto made fresh at home.
The star of this sauce is basil, whose bright, peppery flavor sets the tone. When blended with good-quality olive oil and sharp Parmesan, the basil becomes the foundation for a sauce that is smooth yet punchy. Garlic adds depth and warmth, while pine nuts contribute a subtle nuttiness that rounds out the flavor. The result is a deeply flavorful, slightly creamy paste that tastes both rich and refreshing. It’s no wonder pesto has become a favorite beyond Italian kitchens.
One of the best things about homemade basil pesto is how many ways you can use it. Toss it with pasta for a quick dinner, spread it on sandwiches, or drizzle it over roasted vegetables. It’s also wonderful as a dip for crusty bread or as a topping for grilled chicken or fish. Even a small amount can add incredible flavor to a dish, making it a staple worth keeping in the fridge.
This sauce is also customizable. You can swap out the pine nuts for walnuts or almonds if needed, or add a squeeze of lemon juice for extra brightness. If you’re dairy-free, nutritional yeast can replace the Parmesan without sacrificing too much of the cheesy flavor. Homemade pesto stores well in the fridge for several days and can be frozen for longer storage, giving you an easy way to bring bold, herbal flavor to meals at a moment’s notice.

Ingredients
- 2 cups fresh basil leaves packed
- 1/2 cup Parmesan cheese grated
- 1/2 cup extra virgin olive oil
- 1/3 cup pine nuts toasted
- 3 cloves garlic minced
- 1/4 teaspoon salt or to taste
- 1/4 teaspoon black pepper freshly ground
Instructions
- Add the basil leaves, pine nuts, and garlic to a food processor and pulse until all ingredients are roughly chopped.
- Add the Parmesan cheese and pulse again to combine.
- While the food processor is running, slowly drizzle in the olive oil until the mixture is smooth and well blended.
- Season with salt and freshly ground black pepper to taste.
- Use immediately or store in an airtight container in the refrigerator for up to a week.
Made it for a party and everyone loved it! Such a simple recipe, but so delicious! Will definitely make again! 🌿💚
This pesto recipe is fantastic! I followed it exactly and it turned out perfect. The flavor is unreal. 5 stars!
It was okay, but I think it needs more garlic. I always use like 5 cloves. Just saying! 😅 3/5.
Why do you put nuts in pesto? Who even does that? Just give me basil!
I had some basil in the garden and sprayed it with pesticides… guess that’s not a good idea? 😬
This recipe is a scam! Pesto should have more cheese.
Nah, more cheese makes everything better! Who even wants pesto without a cheesy flavor, right?
I think you need to try it with the recipe as is! It’s pretty traditional, and too much cheese can overpower the freshness.
yummy
Yum!!! Made it for a summer party and it was a hit!!
I used walnuts instead of pine nuts because that’s what I had—honestly, it was still excellent. If you don’t have pine nuts, don’t panic.
I thought it would be more complicated, but the processor method works. Mine was a little thick, so I added another splash of olive oil and it loosened up perfectly.
Pretty good, but next time I’ll use a little more garlic. Also mine was thicker than I expected—maybe I held back on the olive oil.
Pasta rules! Pesto rocks! Yumm!
Absolutely! Pesto is the best! Can’t wait to try this recipe!
Mine separated a bit after refrigeration. I think I didn’t blend long enough. Still yummy, just looked kinda weird on top of pasta.
Uh, I think I forgot the salt. It tasted kinda bland. Maybe I needed more garlic too. Not sure I’ll try again.
Meh. Liked it but didn’t change my life or anything. Just tastes like green mush to me. 🤷♂️
I totally get where you’re coming from! Sometimes it just feels like another green sauce. But hey, it’s a classic for a reason! 🌿
Green mush? C’mon, it’s about the flavors! Pesto can seriously elevate a dish if you mix it right! 🥳
Best thing I’ve eaten all week! Who knew making pesto was this easy? I’m gonna impress my friends!
I don’t know what I did wrong, but mine turned out super oily. Maybe too much olive oil?
Sounds like you might have added too much oil. The ratio can be tricky!
This pesto is a game changer! Tastes fresh and amazing on pasta.
I tried your recipe last night but I forgot the garlic. What a disaster! It was so bland.
This pesto is a game changer! So fresh and flavorful. I used it on pasta and it was divine!
I agree! This pesto really does elevate any dish! It’s so easy to make too. I added walnuts instead of pine nuts and it turned out great!
Really? I found it a bit too oily. Maybe I just made it wrong. I’ll stick to store-bought next time.
Pesto is overrated. Just a mushy green sauce. Not for me.
Really? I mean, it’s just a sauce. I don’t think it’s overrated, though. Some people love it!
I get where you’re coming from, but pesto can be sooo good if you use fresh ingredients! It’s not just mushy green sauce; it’s flavor magic!
I didn’t even have olive oil so I used vegetable oil, still tasted fine… weird, huh?
Ya, this was simple & fast but taste was kinda bland. Maybe I’ll try with more salt next time.
I thought it was delicious! Maybe you need to add more cheese to boost the flavor?
Bland? Really? Pesto is supposed to be fresh and light! Just use better quality ingredients next time!
Easy and honestly tastes like the jarred stuff but fresher. I used walnuts instead of pine nuts because that’s what I had—still great.
Totally agree—homemade pesto is way fresher. I’ve done the same swap with walnuts when I’m out of pine nuts and it still slaps. 😋
I tried something like this but mine came out kinda bitter—maybe too much garlic? Also I didn’t toast the nuts… is that why? Still tasted good though.
Too many ingredients to bother. I just use store-bought. Easier.
This pesto is AMAZING! I added it to my pasta and it blew me away!
Good flavor, but I think my pesto came out a bit thick. Next time I’ll drizzle the olive oil slower and keep pulsing longer to get it smoother.
Totally agree—thick pesto usually means the oil went in too fast or the blending didn’t fully smooth it out. Slow drizzle and longer pulsing makes a big difference. I also add a splash of extra oil at the end if it’s still too thick.
I dunno, it feels like there’s too much garlic in this. My breath is lethal right now! 😅
Nah, I don’t like basil in general. No offense!
This pesto is fantastic! It tastes so fresh, and I love making it for pasta. Highly recommend!
I just don’t get why I need so many basil leaves… Like, just throw in some basil and call it pesto! LOL
I love pesto but this felt a bit salty even though I used only 1/4 tsp. Maybe Parmesan brands vary a lot. Texture was nice.
Pesto? Yummy! Would eat this everyday!
OMG! So easy and YUMMYYY! I just put it on pasta, and it’s like magic! 🍝💚
This is basically an Italian miracle! I’m Italian and I approve!
I followed it pretty closely, but I used walnuts because pine nuts were pricey. Still tasted great—just a bit more earthy.
Delicious! I added some spinach for extra greens. 🥗
Spinach in pesto? That’s a cool twist! I might give that a shot too. 😊
Simple and delicious. I made a sandwich with it, and my family loved it! Will make again!
Pretty good, but I think it needs more garlic. I like my pesto strong! 🧄
Made this tonight and it’s honestly super fresh tasting. I used a little extra basil and it blended so smooth—perfect on pasta.
Is it just me or does pesto taste weird if you don’t add nuts? 🤔
Loved it!!! So fresh! But I used walnuts instead of pine nuts and it still rocked!
Sounds delicious! Walnuts are a great substitute. I’ll have to try that next time!
Simple recipe but doesn’t taste as good as the store-bought ones. 🤷♂️
I used fresh basil from the garden and it tasted way better than store-bought. Next time I’ll double it for sure.
This pesto is so easy but isn’t it supposed to have nuts? The pine ones are too expensive!
So easy to make! I added some lemon juice for a zesty kick and it turned out great! 😊
Lemon juice? That’s a clever twist! I might try that next time! 😄
Quick question: can I swap the Parmesan for Pecorino? I think it’d be better with the sharper flavor.
I’m confused, why do you toast pine nuts? Are they bad if not toasted? 🤔
Homemade pesto is way too complicated. Why not just buy it from the store? You gotta wash all those leaves!
This recipe is okay, but where I come from, we use walnuts instead of pine nuts. Too fancy for my taste.
This pesto is fantastic! I love it on pasta. Thanks for sharing!
I made this for a party and everyone loved it! I added some lemon juice for a zesty kick!
That’s awesome! Lemon juice sounds like a fun twist to the recipe. I’ll have to try that next time!
I wasn’t sure about making my own pesto, but this recipe is pretty easy. Turned out good, but I think I used too much oil.
This turned out super fresh and fragrant—exactly what I wanted for my pasta night. I was worried about the pine nuts, but toasting them made a big difference.
Honestly, I don’t see what the big deal is. It’s just blended herbs and nuts. I prefer store bought.
How long can this be kept? I’m confused about the storage bit.
Pesto is ok but not crazy about it. My grandma makes a killer one though. Not sure if this one compares.
This pesto is amazing!! I used it on pasta and my family loved it. Will definitely make again!
I’m so glad you enjoyed it! Pesto on pasta is a classic family favorite. What do you think about adding some sun-dried tomatoes next time?
This is the best pesto recipe I’ve ever tried! So fresh and flavorful! Definitely going to make this again.
Followed the recipe to the T, but my pesto turned out chunky. Am I doing it wrong?
Basil is good but you should’ve added more cheese, it wasn’t cheesy enough for my liking.
More cheese is always better! I’d totally agree with you on that. I usually throw in extra just for flavor. Thanks for sharing!
I don’t know, I think it’s fine as is. Cheese can make it too salty sometimes. But I guess everyone has different tastes, right?
What can I substitute for pine nuts? Allergic!
I don’t know… tasted kinda bitter? Could be my basil though?
I think the bitterness could definitely come from over-processing the basil or using old leaves. Fresh basil should be sweet and fragrant!
Bitter? Really? That’s odd! I made this recipe last week and thought it was super delicious. Maybe you added too much garlic?
Why toast the pine nuts? I skipped it and honestly it was fine. Also I used regular olive oil and didn’t die, so I guess it’s forgiving.
Easy recipe. I don’t have a food processor so I used a blender and it worked, but I had to stop and scrape a lot.
Good tip! I also don’t have a processor and the blender can work, but scraping is totally the deal. Next time I’ll probably do it in smaller batches so it blends smoother.
Easy recipe, but I messed up and put too much oil. Not the best result… 😅
Uh oh, I forgot the garlic! Still turned out decent, but less flavor. 🙁
Garlic makes a big difference! But glad it still turned out okay. Maybe try adding more spices next time?
The instructions are clear, but I don’t have a food processor. I tried blending with a hand blender and it never got smooth, more like chunky pesto. Tasted fine, just not the texture.
Yeah that happens—without a food processor you usually won’t get that fully smooth texture. Hand blender often leaves it chunky unless you blend a long time and add the olive oil very slowly. If you have a mortar & pestle, that’ll make it smoother; otherwise try chopping the basil and garlic super fine first.
Gotta love pesto! I’ve been using it as a dip, delish!
I don’t know, isn’t pesto just for pasta? Seems weird for dipping maybe.
Pesto is the best! I’ve never thought of using it as a dip tho, genius idea!
This is the best pesto recipe I’ve ever tried! So easy and so flavorful. My pasta has never tasted better!
Looks delicious! But can I use walnuts instead of pine nuts? Would it taste the same?
I love how simple it is! I swapped pine nuts for walnuts, still yum!
Not gonna lie, I was skeptical about only 1/4 tsp salt. I added more and it tasted way better to me. Garlic amount is perfect.
I found it too oily, maybe I did something wrong. I prefer a thicker texture.
I dunno about this.. is pesto supposed to taste like that? I thought it would be sweeter. 🤔
So good and fresh!! Make sure to use fresh ingredients, it makes a difference!
This is the best pesto I’ve made—tastes like restaurant stuff. I stored it and it stayed green for a few days without separating too much.
Quick and tasty! My kids even love it. Winning all around!
Awesome! Glad to hear your kids love it! Pesto is such a great way to get greens in their diet.
Sounds good, but ain’t pesto supposed to have walnuts? Just sayin’.
This recipe is good but seems kinda old-fashioned. I usually buy store-bought.
Quick and easy! Love it! Just a hint more garlic for my taste. 😍
Tasted just like the store-bought but way cheaper! Great stuff!
I tried this but tasted kinda bland. Not enough garlic for me. I like it strong!
I tried this recipe but it turned out kinda bitter. Maybe too much basil?
Bitter? I thought basil was supposed to taste good! Maybe your basil was old or something.
I had the same issue once! Maybe try using a little less basil next time. It’s very strong!
1 week in the fridge? Mine didn’t last that long… but I tried it and it turned brown the next couple days. Guess my fridge is too warm.
Yum! Just made this for my friends and they all loved it! It was devoured in minutes. So good with bread!
Not a fan of pine nuts, so I used walnuts instead. Still tasted good!
Is that okay? 🤔
Wow. So easy.
Delicious!
Not gonna lie, I had to scrape down the sides a couple times. Also my basil was kind of wet and it turned out slightly runnier than expected, but flavor was still solid.
That “scrape down the sides” part is so real—pesto loves to cling to the bowl. A slightly runnier texture could be from using wetter basil, so next time I’d pat the basil dry (or even give it a quick spin). Glad the flavor still held up though!
Mine gets runny too if the basil is kinda wet… I think you need more pine nuts? Or maybe less olive oil. Also wet basil is probably why it didn’t thicken. Still sounds good tbh.
Meh… it’s good but not life-changing. Also my pesto turned brown fast even though I stored it right. Any tips?
so easy and delish! 🍃😍 10/10 would recommend!
I dont have pine nuts, can I use peanuts instead? Seems like it would taste weird.
Quick and easy! Used it on a sandwich and wow!
Isn’t pesto supposed to have walnuts? Pine nuts are too expensive.
I’m skeptical about the “up to a week” part. Mine started tasting off by day 4 even though I stored it in an airtight container. Could be my fridge, but yeah…
Yeah, “up to a week” sounds optimistic. Pesto can go off fast depending on fridge temp, how much oxygen is trapped, and whether the basil oxidizes. I’ve had it sour around day 4-5 too even in a sealed container.
Made this tonight—so vibrant and fragrant. I toasted the pine nuts a bit longer and it really brought out the nutty flavor. Will definitely be a repeat.
I’ve never used pine nuts before, can I substitute with something else? Don’t have any on hand. Thanks!
I didn’t have pine nuts so used peanuts instead. Still good!
Peanuts? That’s interesting! I’ve never tried that. Maybe I’ll give it a go!
Why does everyone toast pine nuts? I skipped it and mine tasted kinda bland… maybe I didn’t mince the garlic enough either.
I tried making it, but it came out too oily. Any tips?
Yum! Just like my grandmother used to make! Delicious!
So glad to hear that! There’s nothing like a recipe that brings back memories. 🍃
Looks good and all, but isn’t pesto just a fancy name for green goo? 🤔
I followed the steps exactly and it tasted too garlicky for me. Next time I’ll use less garlic or add it more lightly. The texture is nice though.
I used walnuts instead of pine nuts because they’re cheaper. Still turned out great! Gonna use this all summer!
Ughhh, why does it have to have pine nuts? Can’t I just use walnuts?
I’m skeptical about using only 1/4 tsp salt—my cheese is never subtle. I guess it depends. Mine needed more pepper too.
This is the best pesto I’ve ever made! SO fresh and flavorful! 🥳
I followed it pretty closely, but my pesto tasted kinda salty. I’d say go light on the Parmesan and adjust at the end.
Basil? Isn’t that too much green stuff? LOL. Don’t think I can eat this. No offense!
2 cups of basil?? I didn’t have that much! I just did 1 cup and it was okay, but wish I had followed the recipe better.
This is the best pesto recipe I’ve ever tried! So fresh and full of flavor!
This pesto is out of this world! I made it for a pasta night and everyone loved it! 🌿🍝
Pesto? What is that? Sounds like something from Italy.
I don’t know about that. Sounds fancy. Can I use something else instead of pine nuts?
Pesto is a tasty Italian sauce made mostly from basil! It’s really good with pasta.
Basil makes best flavor! But is pine nuts necessary? They are expensive!
I totally get it! Pine nuts can be pricey. You can swap them for walnuts or even sunflower seeds for a budget-friendly option!
Mine turned out a little bitter—probably I over-toasted the pine nuts. The texture was still nice, but I’d reduce the garlic next time. Not bad overall.
Hmm bitter pesto sounds like you need more lemon or something? I usually skip toasting pine nuts entirely, and the garlic I do like… a lot 😅 Maybe your processor chopped it too long too?
Totally makes sense—pine nuts can go bitter fast if they go past “golden.” Next time maybe toast them just 2–3 minutes and pull them the second they smell nutty. Also you can try adding a tiny splash more olive oil to mellow it out.
The garlic + basil combo is so classic. I like that the olive oil is added slowly while it runs—really helps emulsify.
Hate to be that person, but why 1/2 cup parmesan? Seems like way too much cheese. I’d cut it in half.
One word: perfect.
Mine came out bitter for some reason. I’m thinking either the basil was older or I over-toasted the pine nuts. Anyone else?
This recipe is ok but I don’t think it goes with pasta, too strong flavor for me.
Not my fav… I prefer store bought. This was too herb-y for me.
Good recipe, but I had to add a splash more olive oil. My pesto turned out a bit thick after the first blend.
This pesto is sooooo good! I can’t believe how easy it was! Definitely making it again!
I don’t own a food processor, so I used a mortar and pestle. It took forever but the texture was amazing. 10/10 effort reward.
Honestly I think food processor or bust. Mortar and pestle sounds like it would turn to paste way too fast… unless you’re really patient. Still, 10/10 is impressive.
That’s dedication 😄 I don’t have a processor either, so I can totally relate—mortar pesto is a workout, but it’s worth it!
Five stars! My whole family asked for it and I didn’t even have to convince them 😄
Love this! 😄 Homemade pesto wins every time. What did you serve it with—pasta, sandwiches, or something else?
Five stars is nice but… pine nuts are kinda expensive where I live 😅 Can I sub walnuts or just leave them out?
I tried this recipe but it came out too oily for my taste. Maybe I added too much olive oil? 🤷♂️
I think it could be the olive oil, but maybe try less next time? I love this recipe! It’s so fresh. 😍
I followed it mostly, but my pine nuts weren’t toasted long enough. Still good though—just tasted a little raw. Would make again.
This turned out super fragrant and bright—exactly what I want from pesto. I used a little extra lemon since my basil was mild. Delicious on pasta and sandwiches!
Huh, I’ve always been scared of adding more lemon—thought it’d turn bitter. But if it worked for you, maybe I’ll try. Did you toast the pine nuts? Mine got a little smoky last time.
Yes!! Bright + fragrant pesto is the dream 😍 Extra lemon makes total sense if your basil was mellow. Love it on sandwiches especially.
Followed the steps exactly, but mine came out kinda oily and not as smooth. Maybe my food processor is too weak—still tasted good though.
1st time ever doing pesto and it came out… fine. Wouldn’t say “wow,” but it’s good on pasta. My basil turned brown a bit in the fridge.
I think it needs more garlic. The flavor was kinda bland for me.
I love pesto, but this feels kinda heavy on cheese/oil balance. Next time I’ll reduce the olive oil a touch and add lemon.
OMG this pesto is AMAZING! I could eat it on everything!
I tried it but found it too strong. I guess pesto isn’t for everyone.
Right? It’s the best! I put it on pasta, sandwiches, even my salad! So versatile!
Am I the only one who thinks 1/4 tsp salt is too much? Mine overpowered the basil a bit. Maybe depends on how salty your Parmesan is.
I felt the same at first—1/4 tsp is definitely enough if your Parmesan is salty. I usually do a pinch, then taste and adjust.
I use 1/4 tsp every time and it’s perfect for me. But yeah… if your parm is super salty or dry, it’ll definitely overpower. Just taste as you go.
It’s good but not mind-blowing. Like, it tastes like basil and cheese (shocking). Would still make again though.
Garlic is definitely strong in this—like, punchy. I’ll use less garlic next time. Otherwise the flavor combo is solid.
Super easy to make and so fresh! I just added some lemon juice for extra zing!
Looks easy, but I kinda doubt it stays fresh for a whole week. What if it gets brown?
That sounds delicious! I love the idea of adding lemon juice for a fresh kick. Can’t wait to try it!
Honestly? Too much work for pesto when I can buy it. But homemade smell in the kitchen is unbeatable, I’ll give it that.
Totally get it—store-bought is convenient. But yeah, that fresh basil/garlic smell is half the reason to do it at home. If you’ve got a minute (and basil!), this one’s worth it.
Made this tonight and it’s super fresh—my apartment smells amazing. I used a little extra basil and it turned out thick and flavorful.
Yum, I added more garlic and it was perfect! Just like my Grandma used to make. ❤️
Garlic makes everything better! I love a good pesto. 🌿
I was skeptical about making my own pesto, but this recipe was super simple. Just got a food processor and it worked perfectly!