Prepare the Dragon Fruit: Cut the dragon fruit in half and scoop out the flesh. Chop it into small pieces and set aside.
Combine Ingredients: In a medium pot, combine the chopped dragon fruit, sugar, lemon juice, and water. Stir to mix well.
Cook the Mixture: Bring the mixture to a simmer over medium heat, stirring occasionally. Let it cook for 20-30 minutes, allowing the fruit to soften and the preserve to thicken.
Add Pectin (Optional): If you prefer a thicker consistency, add the pectin and stir it in. Continue cooking until you reach your desired thickness.
Jar the Preserves: While still hot, pour the preserve into sterilized jars, seal them tightly, and let them cool to room temperature.
Store: Store the dragon fruit preserves in the fridge for up to a month