Peel the pumpkin, remove the seeds, and cut it into small cubes. Place the pumpkin cubes in a large pot. Add sugar, lemon juice or orange juice, a strip of lemon peel, a star anise, and a cinnamon stick. You can also add vanilla extract. Stir everything together and set over medium heat.
Cook over medium heat, stirring from time to time. The pumpkin will release water and start to soften. Let it simmer for about 25 to 30 minutes, until they become very soft.
Remove the cinnamon stick, star anise, and lemon peel. Blend the pumpkin mixture with an immersion blender until smooth, or mash it with a fork if you prefer a chunkier texture. Return to low heat and cook for another 10 to 15 minutes depending on the consistency you want.
Transfer the hot jam to sterilized jars without letting it cool. Close the lids tightly. Let the jars cool at room temperature.
Notes
Nutrition info is estimated and may vary based on ingredients and portions. For the most accurate details, consider using a nutrition tool or checking our full Nutrition Information Disclaimer.
You can increase the sugar to about half the weight of the peeled pumpkin. For example, for 500 g of pumpkin, use 250 g of sugar. The more sugar you add, the quicker the jam thickens and the less boiling time it needs.