Heat water, sugar and vinegar in a small sauce pan over high heat. Stir until sugar is completely dissolved. Remove from heat and allow to cool.
Put sliced cucumbers and onions in a large glass jar. pour pickling liquid over cucumbers and onions.
Store in the refrigerator for up to six months.