Prepare cucumbers: Wash the cucumbers thoroughly. Trim off the ends and slice them into spears or rounds, depending on your preference. You can also leave them whole if they are small.
Prepare the brine: In a saucepan, combine water, vinegar, pickling salt, and sugar. Bring to a boil over medium-high heat, stirring occasionally until the salt and sugar dissolve completely. Remove from heat and let the brine cool slightly.
Fill the jar: In a clean, sterilized canning jar, add the garlic, dill, and peppercorns. Pack the cucumbers into the jar leaving about 1/2 inch of headspace at the top. The amount of dill you add should depend on your taste. You can layer the cucumbers and dill if desired, but it will not affect the overall flavor.
Pour in the brine: Carefully pour the warm brine over the cucumbers, ensuring they are completely submerged. Leave about 1/4 inch of headspace at the top.
Seal the jar: Wipe the jar rim clean with a damp cloth to remove any brine residue. Place sterilized lids and rings on the jars and tighten them securely.
Cool and refrigerate: Allow the jar to cool to room temperature on the counter. Once cooled, refrigerate the pickles. They will improve in flavor after a few days but can be enjoyed after 24 hours. The pickles will keep in the refrigerator for several weeks.