Josef Strauss and his wife Caroline visited Traunstein and lake Traunsee in 1866. At that time, Josef saw dragonflies flying on the water surface. Inspired by this experience, he composed the polka-mazurka Die Libelle.
This work was premiered on 21 October 1866, immediately after the Austro-Prussian War, when the Austrian mood was still gloomy following its defeat.