Store homemade kale and walnut pesto in an airtight container in the fridge for up to a week (if it lasts that long; we always finish it before then). If you need it to last longer, you can freeze it for up to six months. Just be sure to defrost it in the fridge overnight before using it,