Trenta (pronounced [ˈtɾeːnta]) is a settlement in the Municipality of Bovec in the traditional Gorizia region in western Slovenia.
It lies on the upper Soča River in the Gorizia region, the northern part of the Slovene Littoral, along the road from Bovec up to Vršič Pass.
In the Middle Ages, the area south of the pass was ruled by the Patriarchs of Aquileia, later by the Republic of Venice, until the estates were incorporated into the Inner Austrian lands under the Habsburg emperor Maximilian I in 1509 and ruled within the Princely County of Gorizia and Gradisca.
A miners' church, dedicated to the Virgin Mary of Loreto, stands above the village on the way to Vršič Pass.
It was erected in 1690 by the owners of the Trenta bloomeries, the Counts of Attems.