There are several trains daily to Venice (five hours), Vienna (six hours), and Budapest (eight hours). There is an overnight service to Prague (12 hours) and a rapid daytime EuroCity connection to Berlin (15 hours). The train station is just north of the city center.
Ljubljana Train station (Trg OF 6, Ljubljana. 01/291-3332. www.slo-zeleznice.si).