In a medium bowl, blend cream cheese, sour cream and Parmesan cheese.
In a small clear glass serving dish, spread 1/3 the cream cheese mixture. Top with 2 tablespoons pesto. Repeat layering, ending with a topping of pesto. Sprinkle with walnuts and serve.