Spain has the largest high-speed rail network on the continent, extending from the Northeast (Santiago de Compostela) to the deep South (Sevilla & Malaga). Spain's flagship train (the AVE) is very fast, punctual and comfortable. The 600km journey from Barcelona to Madrid for instance only takes 2h30min. In the North of Spain, along the Atlantic Coast, there are some beautiful scenic routes by slower regional trains to be discovered as well.
The county itself is easily reached by train. From France and Portugal there are regular services to Spain's main cities.