In a small saucepan, combine 2 tablespoons of pumpkin puree, 2 tablespoons of sugar, 1/2 teaspoon of pumpkin pie spice, and 1/4 teaspoon of vanilla extract.
Add 1/4 cup of water to the saucepan and whisk everything together over medium heat. Stir until the sugar has dissolved and the mixture is warm and smooth. Remove from heat.
Brew 2 shots of espresso (or strong coffee) and pour them into your mug.
In a separate saucepan or using a milk frother, heat and froth 1 cup of milk until warm and frothy.
Pour the pumpkin spice syrup into the espresso and stir to combine. Then, slowly add the frothed milk, pouring it over the back of a spoon to create a layered effect.
Top with whipped cream (optional) and a sprinkle of extra pumpkin pie spice or cinnamon for garnish.
Notes
For a sweeter latte, you can adjust the amount of sugar in the pumpkin spice syrup to your preference. Feel free to use non-dairy milk, such as almond or oat milk, for a dairy-free version.