How far by car from dublin to Edinburgh?

It is not possible drive from Dublin to Edinburgh, as there is a stretch of water in between the two cities.
Copyright Wanderlust World © https://www.ynyoo.com