Casa Batllo in Barcelona

How far is Barcelona from Madrid? This is a common question that people have when planning a trip to Spain.

As the crow flies, Barcelona is 505 kilometers (314 miles) from Madrid.

If you drive between the two cities, the distance is a bit longer. The driving distance from Barcelona to Madrid is just over 600 kilometers (373 miles). It takes around 6 hours, or longer if there is traffic on the way.

A better way to get between the cities is to take a high-speed ‘AVE’ train. The train from Barcelona to Madrid only takes 2.5 to 3 hours, making it the fastest and most convenient way to travel.