Combine sugar and water in a small saucepan over medium heat. Stir until the sugar dissolves.
Add the sliced banana and bring to a gentle simmer. Cook for 7–9 minutes, stirring gently once or twice so the banana stays mostly intact. Avoid a rolling boil, which can make the syrup harder to strain.
Set a fine-mesh sieve over a heatproof bowl and pour the mixture through. Let it drain on its own. Pressing the banana pushes pulp into the syrup. For an even smoother finish, strain again through clean cheesecloth.
Cool in a shallow heatproof container and refrigerate promptly in a clean covered jar. Shake or stir before measuring. The syrup will thicken slightly as it chills.