In a medium saucepan filled with water, place the eggs and bring it to a boil over medium high heat. Once the water boils, reduce the heat to medium and simmer for 15 minutes. Using tongs, remove the eggs from hot water and place them into a bowl filled with cold water. Let the eggs cool completely. Carefully peel the eggs and cut in half. Remove the egg yolks into a small bowl.
Smash the egg yolks with a folk. Add mayo and pesto and mix well. Salt and pepper to taste and transfer the mixture into a pastry bag with star tip. Pipe the filling into the egg whites. Serve immediately.