
Homemade Trail Mix
This post may contain affiliate links. Please read our disclosure policy.
If you’re wondering how to make THE BEST trail mix, let me show you how. I’ve made variations of this recipe dozens of times and have found the ideal combination of salty and sweet to keep you coming back for more.
Marj writes, “Love this for snacking. Made a bunch and the kids went crazy for it, too. Will make it again! ★★★★★”

While trail mix is simply nuts mixed with some sweet element, knowing the right proportions is important. I’ve been making this recipe since my daughter was young, when I needed some tasty ‘emergency food’ on hand to prevent toddler meltdowns.
It’s the same recipe that I still take hiking, biking, or whenever we go out exploring. While the recipe as written is my absolute favorite, it’s also flexible and fun to play with!
What you’ll need for DIY trail mix
I use a mix of toasted cashews, pecans, and walnuts for the nuts in this recipe. Then, I add dark chocolate chunks, raisins for sweetness, coconut ribbons, and banana chips for extra crunch.
While I love this combination, you can switch it up based on what you like and what you have on hand.
- Nuts and seeds: Pecans, walnuts, cashews, almonds, pumpkin seeds, macadamia nuts, hazelnuts, brazil nuts, or peanuts.
- Sweet: Chocolate chunks, M&Ms, raisins, cranberries, dried mango, pineapple, or cherries.
- Crunchy: toasted coconut ribbons, banana chips, or pretzels.


Expert tips
There are a few things you should keep in mind if you want to make the best trail mix:
Always toast your nuts. You can also buy toasted nuts and skip this step. The flavor is so much better, and it’s 100% worth the few minutes.
Chocolate chunks win over chocolate chips every time. They are less likely to melt, and their slightly bigger shape keeps them from falling to the bottom of the barrel. These are the ones that I like best.
- Thick coconut ribbons work best for trail mix. Like the chocolate, smaller coconut pieces will fall to the bottom. These coconut smiles are my favorite.
That’s it! Making homemade trail mix is easy and tastes a million times better than anything store-bought.
Storage
Containers: I like to store trail mixes in 4-cup glass jars as they fit nicely in my pantry, and it’s easy to pour out what I want for a snack. But reusable bags work well, too. If I’m packing this to go, I always put it in a bag.
Time: One of the things I love about making trail mix is that it lasts ages. Eventually, the oils in the nuts and coconut will go rancid, just like if you let them sit in your pantry for too long. It will last for at least two months in your pantry—even longer if it’s kept in a cool, dark place and the nuts and coconut you use are fresh.

Homemade Trail Mix Recipe
Ingredients
- 1 cup EACH: walnuts, pecans, and cashews
- 1 cup EACH: banana chips and toasted coconut ribbons (see notes)
- ½ cup EACH: raisins and chocolate chunks (see notes)
Instructions
- Preheat your oven to 350 degrees Fahrenheit. Place the walnuts, pecans, and cashews on a baking sheet and toast them in your oven for 6-8 minutes, or until they are lightly browned and smell fragrant. Remove them from the oven and let them cool.1 cup EACH: walnuts, pecans, and cashews
- Once the baking sheet is cool, add all the other ingredients and mix them together. Store in a sealed bag.1 cup EACH: banana chips and toasted coconut ribbons, ½ cup EACH: raisins and chocolate chunks
- Transfer the trail mix to a resealable bag or glass jar and store it at room temperature for up to 2 months.
Notes
Nutrition
We have thoroughly tested this recipe for accuracy. However, individual results may vary. See our full recipe disclosure here.

this trail mix was very good! I made it for hiking and everyone enjoyed it!
I’m so happy to hear that the recipe was a hit!
This trail mix is so delicious! I made it for my sister for Christmas, and she has asked for it again for her birthday 🙂
Thank you so much!!
Love this for snacking. Made a bunch and the kids went crazy for it, too. Will make it again!
Hi Kristen,
I hope this note finds you well. Your site is great, such awesome recipes! I am experimenting with making my own homemade granola and trail mix combination. I am using ingredients with no preservatives. When I am mixing the granola with the dried fruits, the granola is getting very soft which I am assuming is a result of the granola pulling moisture from the dried fruits such as dried apple rings. Do you have any suggestions to help control this from occurring, would be open to hopping on a call and hearing any insight you have!
I always start with whole or rolled oats, not granola, so they are soft to begin with. Not sure there is a way to keep granola crunchy with liquid parts, unfortunately.
Very tasty recipe. Love this awesome Homemade Trail Mix. Thank you for share.
I’m so happy to hear you enjoyed the recipe! Thank you for coming back to let us know!!