The distance between Ljubljana, the capital of Slovenia, and Zagreb is approximately 140 kilometers (87 miles), and it takes around 1-2 hours to drive, depending on traffic.