The Elafiti islands are located close to Dubrovnik, with an average distance of around 7 to 10 kilometers from the city.