Preheat and prep: Heat your oven to 400°F (200°C).
Lightly grease a 9x13-inch baking dish with olive oil.
Season the chicken: Pat chicken breasts dry. Drizzle with olive oil, then sprinkle with salt, pepper, and Italian seasoning. If using, rub on the minced garlic.
Flatten for even cooking: If your chicken breasts are thick, gently pound them to an even thickness (about 3/4 inch). This helps them cook evenly and stay juicy.
Add pesto: Spread about 2 tablespoons of pesto over each breast, coating the tops well.
Spoon any extra around the sides.
Layer the cheese: Sprinkle mozzarella evenly over the pesto, then top with Parmesan. The mix gives a stretchy melt and a salty, golden finish.
Optional add-ins: Scatter a few cherry tomato halves around the chicken. Drizzle a touch of lemon juice for brightness, if you like.
Bake: Place the dish on the middle rack and bake for 20–25 minutes, or until the chicken reaches an internal temp of 165°F (74°C). If you want more browning, broil for 1–2 minutes at the end.
Rest and garnish: Let it rest for 5 minutes.
Spoon any pan juices over the chicken, then garnish with fresh basil.
Serve: Pair with zucchini noodles, roasted broccoli, sautéed spinach, or a simple green salad.