The tramway in Piran was a public transport system that connected the Tartini Square with the railway station in Lucija.
While the municipality waited for the inquiry to be approved, they temporarily ran horse-drawn chariots which were unsuitable on the Macadam roads of the time.
The Royal Ministry of Railways did not immediately respond to Piran's inquiry, however in 1907, the municipality got word that the town of Gmünd successfully set up the first trolleybus line in the Austro-Hungarian empire.
Since the municipality did not need the permission of the empire to build a trolleybus line, the city briskly began construction on one.
On the 11th of September 1911, the Royal Ministry of Railways approved the construction of a tramway linking Piran with Lucija.
The municipality purchased five trams with two unpowered trailers both in red liveries, alongside a truck to maintain the line's overhead wires.
When the Kingdom of Italy closed the narrow gauge railway linking Trieste with Poreč, the tramway's yearly passenger figures decreased significantly.