Divača–Koper Railway

The Divača–Koper Railway (Železniška proga Divača–Koper) is a Slovenian 50-kilometre long railway line that connects Ljubljana and Divača with the coastal town of Koper.

Usage
The line is used by the following passenger services:


 * Intercity: Maribor–Pragersko–Celje–Ljubljana–Borovnica–Postojna–Divača–Hrpelje-Kozina–Koper
 * Intercity: Ljubljana–Borovnica–Postojna–Divača–Hrpelje-Kozina–Koper
 * Regionalni vlak (Regional train): Ljubljana–Borovnica–Postojna–Divača–Rodik–Hrpelje-Kozina–Presnica–Koper
 * Regionalni vlak (Regional train): (Sežana–) Divača–Rodik–Hrpelje-Kozina–Presnica–Črnotiče–Hrastovlje–Koper
 * Regionalni vlak (Regional train): Divača–Rodik–Hrpelje-Kozina–Presnica–Podgorje–Zazid–Rakitovec

There are also many freight trains operating along this line to the port in Koper.

Track upgrade
A new shorter track alignment between Koper and Divača with several tunnels reducing the length from 44 km to 27 km is under construction and slated to open in 2026.