Combine the lilacs, sugar, and water in a jar and seal with a lid.
Shake well.
Let the jar sit for a few hours, shaking it every now and again.
When the sugar is completely dissolved, strain the lilac panicles and pour the syrup into a jar.
Store in the fridge.
Best used within a few days.