The history of Trebinje dates back to ancient times, with evidence of human settlement in the area as early as the 4th millennium BC. Throughout its history, Trebinje has been influenced by various civilizations, including the Illyrians, Romans, Slavs, and Ottomans.
During the Middle Ages, Trebinje was an important center of the Serbian state of Hum, and later became part of the Bosnian Kingdom. In the 15th century, the city was conquered by the Ottoman Empire and became an important administrative and economic center of the region.
Under Ottoman rule, Trebinje developed into a thriving city with a rich cultural and architectural heritage.
In the late 19th and early 20th centuries, Trebinje was part of the
Austro-Hungarian Empire, and later became part of the Kingdom of Yugoslavia. During World War II, the city was occupied by Nazi Germany and its allies. Following the war, Trebinje became part of the Socialist Federal Republic of Yugoslavia, and later the independent state of Bosnia and Herzegovina.
Trebinje is situated on the Trebišnjica River, which flows through the city and is surrounded by hills and mountains. The city has a rich cultural heritage, with many historical and cultural landmarks, such as the Arslanagića Bridge, the Hercegovačka Gračanica monastery, and the Tvrdos Monastery.
The economy of Trebinje is mainly based on agriculture, tourism, and the production of wine and tobacco. Also called a Sun City, Trebinje is surrounded by the vineyards and some of the best wines are produced in nearby wineries.