Preheat your oven to 375°F (190°C).
In a medium bowl, mix the spinach, artichoke hearts, mayonnaise, sour cream, mozzarella, Parmesan, and garlic until well combined.
Season with salt and pepper to taste.
Transfer the mixture to a baking dish and spread evenly.
Bake for 20-25 minutes, or until the top is golden and bubbly.
Serve warm with tortilla chips, crackers, or sliced baguette.