Preheat your oven to 350°F (175°C). While it’s heating, line a baking sheet with parchment paper to prevent sticking.
In a large mixing bowl, combine the mashed avocado with both sugars (brown and white). Use a fork or a hand mixer to blend until the mixture is smooth and creamy without any lumps.
To the avocado-sugar mixture, add the melted coconut oil, egg, and vanilla extract. Mix thoroughly until the ingredients are well incorporated and the mixture is creamy.
In a separate medium-sized bowl, whisk together the all-purpose flour, baking soda, and salt until evenly mixed. Gradually add this dry mixture to the wet ingredients, stirring gently until just combined. Avoid overmixing to keep the cookies tender.
Gently fold in the chocolate chips and walnuts (if you’re including them) with a spatula until they are evenly distributed throughout the dough.
Using a tablespoon or a cookie scoop, drop rounded spoonfuls of dough onto the prepared baking sheet. Make sure to leave about 2 inches of space between each cookie as they will spread while baking.
Bake in the preheated oven for 10-12 minutes, or until the edges begin to turn a lovely golden brown and the centers appear slightly soft.
Once baked, remove the cookies from the oven and let them cool on the sheet for about 5 minutes. This allows them to set before transferring them to a wire cooling rack to cool completely.
Notes
For an extra indulgent touch, pair them with a scoop of creamy vanilla ice cream or a drizzle of caramel sauce.