cycling, history and adventure

A thousand kilometres by road bike along the oldest border in Europe, from Sanabria to the Atlantic.

1,030kilometres
11,100metres of climbing
1,065metres, highest point
6regions on both sides
Monsanto, Beira Baixa
Self-guided route · north → south

La Raya, A Raia

The border between Spain and Portugal was drawn in the 13th century through treaties such as Alcañices (1297). It is the oldest land border in Europe, and for seven centuries it has been a wall, a river, a smuggling route and a neighbourhood. Spaniards call it la Raya; the Portuguese, a Raia.

This route follows it from north to south by road bike: a thousand kilometres through half-empty villages, stone fortresses, deep river canyons and endless oak pastures, crossing the border again and again until it reaches the Atlantic in the Algarve.

It is not a race and has no date: ride it whenever you like, in one go or in sections. Here you will find the route, the track and what you need to know.

the border and the route that stitches it
Two oxen walk along a dirt track followed by a red tractor
Rush hour on the Raya
The route

The map

The actual track, from Puebla de Sanabria to Vila Real de Santo António, over the Raya: the red dash-dot line is the border.

Ciudad Rodrigo variantPORTUGALSPAINTRÁS-OS-MONTESARRIBESRIBA-CÔABEIRA BAIXAEXTREMADURAALENTEJOALGARVEDuero · DouroTajo · TejoGuadianaMiño · MinhoCôaAtlantic OceanBRAGANÇAMIRANDA DO DOUROFERMOSELLEPINHELALMEIDASABUGALSORTELHAMONSANTOALCÁNTARAVALENCIA DE ALCÁNTARAMARVÃOCASTELO DE VIDEELVASOLIVENZASERPAMÉRTOLAALCOUTIMferry ⇄Puebla de SanabriaVila Real de Sto. AntónioBragança · castleArribes · griffon vultureAlmeida · star fortGranite: Sortelha and MonsantoRoman bridge of AlcántaraMarvão · eagle's nestElvas · Amoreira aqueductCork oak · the dehesaMértola on the GuadianaSanlúcar ⇄ Alcoutim ferryCYCLING · HISTORY · ADVENTURESANABRIA → VILA REALLA RAIADISTANCE: 1,030 KMCLIMBING: +11,100 MMadridLisbonN50 km

← swipe to see the whole map →

Elevation profile

From 900 metres to sea level

The first half holds almost two thirds of the climbing. From Alcántara the terrain softens towards the Alentejo and the Guadiana.

12345625050075010000 m01002003004005006007008009001000 kmBragançaMiranda do DouroAlmeidaSortelhaMonsantoAlcántaraMarvãoElvasSerpaMértola
  1. 1Sanabria and Trás-os-Montes
  2. 2Arribes and Planalto Mirandês
  3. 3Riba-Côa and Beira Alta
  4. 4Beira Baixa and São Mamede
  5. 5Alentejo and Extremadura
  6. 6Lower Guadiana and Algarve
Six regions, north to south

Region by region

The description follows the regions the route crosses. The red bar shows where each region falls within the 1,030 km.

Chapel with a façade covered in blue tiles in Bragança
Bragança
Street in Bragança with old façades, iron balconies and shop signs
Bragança, the lower town
1

Sanabria and Upper Trás-os-Montes

km 0 – 134 · 134 km · +1,570 m

The journey starts in the old lands of León, in the Sanabria district of Zamora. Puebla de Sanabria, a listed historic town, watches over the natural pass between the Meseta and Galicia from the castle of the Counts of Benavente.

Crossing the Sierra de la Culebra and the Serra de Montesinho, you enter Trás-os-Montes, one of the most mountainous and isolated parts of Portugal. That isolation has preserved ancient traditions such as the masked caretos rituals.

  • Bragança · former seat of the country's most powerful dukedom. Its walled medieval citadel holds the Torre de Menagem keep and the Domus Municipalis, an extremely rare Romanesque civic building.
A bend of the Douro between slopes of vineyards and olive trees under a cloudy sky
The Douro valley
Main square of Fermoselle with the stone town hall and a loaded bicycle in the foreground
Fermoselle
Terraced olive groves above the river
Olive groves above the Douro
2

The Arribes del Duero and the Planalto Mirandês

km 134 – 312 · 178 km · +2,570 m

Heading south, the land flattens into the Planalto Mirandês until the Douro breaks through it, carving canyons up to 400 metres deep. This natural border forms the Arribes del Duero Natural Park in Spain and the Douro Internacional Natural Park in Portugal.

  • Miranda do Douro · heart of Mirandese culture, where people still speak Mirandese, an officially protected Astur-Leonese language.
  • Fermoselle · back in Zamora, a medieval village whose ground is honeycombed with hundreds of wine cellars dug by hand into the bedrock.
Sortelha castle built on huge granite boulders, with the pillory in the square
Sortelha
Ruins of a church on granite slabs in Castelo Mendo
Castelo Mendo
Another view of the church ruins in Castelo Mendo
Castelo Mendo
3

The lands of Riba-Côa and Beira Alta

km 312 – 474 · 162 km · +2,210 m

Leaving the Douro behind, you enter Riba-Côa, a granite plateau shaped by the river Côa. The kingdoms of León and Portugal fought fiercely over this land until the Treaty of Alcañices. To secure the border, Portuguese kings built a dense network of fortified villages, today known as the Historical Villages of Portugal.

  • Pinhel · the "falcon city", ringed by hills and guarded by two towers.
  • Almeida · a gem of military architecture: its walls form a twelve-pointed star, with 17th-century bastions designed to withstand heavy artillery.
  • Castelo Mendo · a village that keeps its medieval walls, guarded by ancient stone boars (berrões).
  • Sabugal · an unusual castle with a pentagonal keep.
  • Sortelha · one of the most beautiful villages in Portugal, wedged between granite masses and crowned by a fortress on the rocks.
Walls and keep of Marvão castle at dusk, above the plain
Marvão at dusk
Red roofs and the clock tower of Monsanto with the plain behind
Monsanto
Castelo de Vide, whitewashed houses around the castle, seen from the hills
Castelo de Vide
4

Beira Baixa and the Serra de São Mamede

km 474 – 743 · 269 km · +2,770 m

Crossing into the Tagus basin, the landscape changes: the plains of Beira Baixa give way to small ranges and hills of olive and holm oak.

  • Monsanto · houses merge with giant granite boulders that serve as walls, roofs or foundations, below the ruins of a Templar castle.
  • Alcántara · back in Cáceres, the Tagus and its Roman bridge, a 2nd-century masterpiece that has survived battles and floods for almost two thousand years.
  • Valencia de Alcántara · in the São Mamede natural park, home to one of the most important groups of megalithic dolmens in Europe.
  • Marvão · right across the border, a medieval eagle's nest at almost 900 metres on a sheer crag.
  • Castelo de Vide · whitewashed façades and one of the best-preserved medieval Jewish quarters in the Iberian Peninsula.
Praça da República in Elvas with its black-and-white cobbled paving and the old cathedral
Elvas, Praça da República
Arches of the Amoreira aqueduct casting shadows on the grass
Amoreira aqueduct
Mértola, white houses and the church that was once a mosque below the castle walls
Mértola
5

The great Alentejo and Extremadura

km 743 – 987 · 244 km · +1,670 m

From here the relief softens and the Alentejo and the province of Badajoz open up: the land of cork and holm-oak pastures. These plains were the stage for the battles of the Portuguese Restoration War (1640–1668).

  • Elvas · the largest bastioned fortification in the world, a UNESCO World Heritage Site for its star forts and the Amoreira aqueduct.
  • Olivenza · Portuguese until 1801. Its Manueline architecture, cobbled streets and the dual nationality of many residents show the most welcoming face of the Raya.
  • Serpa · still keeps much of its walled enclosure.
  • Mértola · above the Guadiana, a key river port since Phoenician and Roman times. It keeps the only church in Portugal that was once a mosque (12th century), with its mihrab still facing Mecca.
Sanlúcar de Guadiana, a white village by the river with moored boats and the castle above
Sanlúcar de Guadiana, from the river
End of the Raya km 1,030 Salt cod or seafood rice by the sea.
6

The finish: the Lower Guadiana and the Algarve

km 987 – 1,030 · 43 km · +330 m

The route follows the banks of the Guadiana down to the Atlantic Ocean in the eastern Algarve. On the way you cross the river on the small ferry between Sanlúcar de Guadiana and Alcoutim.

  • Vila Real de Santo António · a border port town built in record time in 1774 by the Marquis of Pombal. Its perfect grid and the Praça Marquês de Pombal follow Enlightenment ideals after the Lisbon earthquake. The perfect place to celebrate the end of the journey.
Suggested stages

Stages

Three ways to split the 1,030 km, depending on your pace.

This is only a suggestion. Stages end in towns with services (accommodation, restaurants, shops) to make planning easy. We encourage you to explore other options: many small villages also have somewhere to stay, and sleeping there is another way to support the local economy.

#StageKmClimbing
1Puebla de Sanabria→Bragança42570 m
2Bragança→Miranda do Douro911,010 m
3Miranda do Douro→Aldeadávila de la Ribera811,220 m
4Aldeadávila de la Ribera→Barca d'Alva51290 m
5Barca d'Alva→Almeida731,490 m
6Almeida→Sabugal70910 m
7Sabugal→Penamacor44470 m
8Penamacor→Alcántara83980 m
9Alcántara→Valencia de Alcántara82800 m
10Valencia de Alcántara→Portalegre53830 m
11Portalegre→Elvas72550 m
12Elvas→Mourão85520 m
13Mourão→Serpa66420 m
14Serpa→Mértola54250 m
15Mértola→Vila Real de Sto. António81800 m
Total · 15 days · average 69 km per stage1,02811,110 m
#StageKmClimbing
1Puebla de Sanabria→Bragança42570 m
2Bragança→Miranda do Douro911,010 m
3Miranda do Douro→Aldeadávila de la Ribera811,220 m
4Aldeadávila de la Ribera→Pinhel971,350 m
5Pinhel→Sabugal981,350 m
6Sabugal→Zebreira971,140 m
7Zebreira→Valencia de Alcántara1121,110 m
8Valencia de Alcántara→Portalegre53830 m
9Portalegre→Olivenza97680 m
10Olivenza→Moura95610 m
11Moura→Mértola86450 m
12Mértola→Vila Real de Sto. António81800 m
Total · 12 days · average 86 km per stage1,03011,120 m
#StageKmClimbing
1Puebla de Sanabria→Miranda do Douro1341,580 m
2Miranda do Douro→Barca d'Alva1321,510 m
3Barca d'Alva→Sabugal1442,400 m
4Sabugal→Alcántara1271,450 m
5Alcántara→Castelo de Vide1131,380 m
6Castelo de Vide→Olivenza118930 m
7Olivenza→Serpa127800 m
8Serpa→Vila Real de Sto. António1351,060 m
Total · 8 days · average 129 km per stage1,03011,110 m

Approximate climbing, calculated from the track. To balance the stages, every 100 m of climbing counts as 1 flat km.

Other ways to ride it

Variants

Alternatives to some sections of the main route, for those who want different scenery, fewer kilometres or more adventure. They all leave the track and rejoin it.

San Felices de los Gallegos in the distance, with its castle keep, among oak pastures and cattle at sunset
Riding into San Felices de los Gallegos
Variant · shorter and gentler

Ciudad Rodrigo and the Sierra de Gata

Hinojosa de Duero (km 241) → past Penamacor (km 462)

161 kmdistance
+1,700 mclimbing
1,065 mhighest point
−60 kmcompared with the main route
−1,400 mof climbing

Near Hinojosa de Duero, the main route crosses into Portugal to visit the historic villages of Riba-Côa. This variant stays on the Spanish side and follows the border south through Salamanca and northern Cáceres. It is 60 km shorter with 1,400 m less climbing, and a much gentler profile: a long plateau of oak pastures between 600 and 900 metres and a single serious climb, over the Sierra de Gata.

The first village is San Felices de los Gallegos, whose castle keep you can see from far away, with cobbled streets and gates from its old walls. Next comes Ciudad Rodrigo, one of the great walled towns of the border, with its cathedral, its Plaza Mayor and a walk along the walls that deserves a whole evening.

From there the land rises towards Navasfrías and the top of the Sierra de Gata (1,065 m), the highest point of the variant. On the other side you drop into the Xálima valley, where villages such as Valverde del Fresno and Eljas still speak a fala, a language of its own related to Galician and Portuguese. From Valverde del Fresno it is less than 30 km back to the main route, just past Penamacor.

#Suggested dayKmClimbing
1Hinojosa de Duero→Ciudad Rodrigo, via San Felices de los Gallegos71770 m
2Ciudad Rodrigo→Valverde del Fresno, over the Sierra de Gata62580 m
3Valverde del Fresno→back to the main route past Penamacor28320 m
Recommended detour

Trevejo

About 5 km off the track, a stone village with a ruined castle and a bell gable perched on the rock, above a valley of terraces. Well worth the climb.

Where to sleep

Ciudad Rodrigo and Valverde del Fresno

At km 71 and 133. To sleep out: El Bardal recreation area, next to Navasfrías (km 116), with water, shade, tables and toilets.

Bear in mind

What you miss

Barca d'Alva, Pinhel, Almeida, Castelo Mendo, Sabugal and Sortelha. It is the option for anyone short on time or legs, or who wants to see the Spanish side of this part of the border.

Bell tower and gate over a cobbled street in San Felices de los Gallegos
San Felices de los Gallegos
Plaza Mayor in Ciudad Rodrigo with the arcaded town hall and café terraces
Ciudad Rodrigo, Plaza Mayor
Ruined castle and bell gable of Trevejo against the light
Trevejo
Trevejo's stone bell gable on the rocks, with a white village in the terraced valley below
Trevejo and the valley

Download the variant track and load it alongside the main route: it leaves the main track and rejoins it.

Variant GPX track 161 km · .gpx
Recommended spots

Sleeping out

Picnic areas, chapels and recreation areas along the border where you can stop for dinner, refill your bottles and spend the night in your sleeping bag. We have noted them down kilometre by kilometre.

Before you sleep out

The rules change on each side of the border. In Spain they depend on each region and each protected area; where it is tolerated, bivouacking means a sleeping bag with no tent, from sunset to sunrise. In Portugal camping outside authorised sites is forbidden and the GNR can fine you. Several of these spots are inside natural parks: check their rules before you go.

  • Arrive late and leave early.
  • No fires.
  • Take all your rubbish with you and leave no trace.
Sunset over a reservoir set between scrub-covered hills, under a sky of bright orange clouds
This is what you can enjoy from some of these spots
SpainPortugalTap a point to jump to its card
With14 spots
1

Sanabria and Trás-os-Montes

km 0 – 134
61KMPT

Parque de Merendas de Milhão

Milhão · Bragança

Picnic park with a water fountain, shade and tables, about 19 km from Bragança.

  • Water
  • Shade
  • Tables
next to the trackView on Google Maps →
2

Arribes and Planalto Mirandês

km 134 – 312
145KMES

Ermita de N.ª S.ª del Castillo

Fariza · Zamora

Picnic area by the chapel, with benches and a porch for shelter. Viewpoint over the Douro canyons.

  • Shade
  • Covered area
  • Viewpoint
Arribes del Duero Natural Park: check its rules
163KMES

Mirador de la Peña del Cura

Zamora

Viewpoint over the Arribes with a fountain, tables and shade, about 10 km from Fermoselle.

  • Water
  • Shade
  • Tables
  • Viewpoint
Arribes del Duero Natural Park: check its rules
174KMES

Ermita de Santa Cruz

Fermoselle · Zamora

Picnic area by the chapel, just outside Fermoselle: have dinner in town, then ride up to sleep.

  • Water
  • Shade
  • Tables
Arribes del Duero Natural Park: check its rules
217KMES

Área Recreativa de El Rocoso

Aldeadávila de la Ribera · Salamanca

Recreation area with shade and a swimming spot, 2 km from Aldeadávila. Perfect for cooling off at the end of the day.

  • Shade
  • Swimming
Arribes del Duero Natural Park: check its rules
247KMES

Merendero de La Dehesa

Near Saucelle · Salamanca

Picnic area with tables and shade near Saucelle, in the Salamanca side of the Arribes.

  • Shade
  • Tables
Arribes del Duero Natural Park: check its rules
3

Riba-Côa and Beira Alta

km 312 – 474
312KMPT

Ermida de N.ª S.ª da Torre

Pinhel

Chapel on the edge of Pinhel with toilets, shade and a covered area for shelter.

  • Shade
  • Covered area
  • Toilets
410KMPT

Praia Fluvial da Devesa

Sabugal

River beach on the Côa, with shade and tables, below Sabugal castle.

  • Shade
  • Tables
  • Swimming
454KMPT

Capela de N.ª S.ª do Incenso

Penamacor

Covered area, toilets, water, tables and shade by the chapel. One of the best-equipped spots on the route.

  • Water
  • Shade
  • Tables
  • Covered area
  • Toilets
4

Beira Baixa and São Mamede

km 474 – 743
479KMPT

Parque de Merendas do Largo do Chafariz

Penamacor municipality

Picnic area with a fountain, tables and shade in the village centre, about 25 km after Penamacor.

  • Water
  • Shade
  • Tables
655KMPT

Senhora da Penha

Castelo de Vide

Picnic area by the chapel on the climb to the Penha, 5 km from Castelo de Vide.

  • Water
  • Shade
  • Tables
Serra de São Mamede Natural Park: check its rules
5

Alentejo and Extremadura

km 743 – 987
815KMES

Parque Andrés Alonso Trejo

Villanueva del Fresno · Badajoz

Park with a fountain, tables and a covered area in the village, with a bar and shop close by.

  • Water
  • Tables
  • Covered area
829KMPT

Mourão picnic park

Mourão

Picnic area with a fountain, tables, shade and a covered area on the edge of Mourão, by the Alqueva lake.

  • Water
  • Shade
  • Tables
  • Covered area
897KMPT

Senhora de Guadalupe

Serpa

Chapel just outside Serpa with tables, shade and a covered area, less than 2 km from town.

  • Shade
  • Tables
  • Covered area
6

Lower Guadiana and Algarve

km 987 – 1030
We don't have any spots in this region yet. Can you help?

Know a good spot?

This list grows with your tips. Send us the Google Maps location and what it has (water, shade, a roof…) and we'll add it.

raia.bikepacking@gmail.comInstagram · @raia.bikepacking
Our way of travelling

How to ride the Raya

You could ride this route in a week at a good pace, but that is not what it is for.

You don't discover the Raya by watching your bike computer. You discover it at a bar counter, in a village square, in a conversation that starts with “so where are you going on those bikes?”.

Cobbled street in a stone village with washing hung out to dry; a neighbour tends her plants as a cat crosses the street
Just another Tuesday on the Raya
  • Go slowly

    There is no record to beat and no date to meet. If you like a village, stay. If a viewpoint deserves half an hour, give it one. The kilometres will still be there tomorrow.

  • Leave the track

    The track is only a guide. Leave it and explore: many villages, back roads and landscapes didn't make it in. They are there for whoever finds them.

  • Stop in the villages

    Many survive with a single bar, shop or family restaurant. A coffee or a sandwich at the right moment helps keep them open.

  • Talk to people

    Ask for directions even if you have them on your GPS. Listen to the stories of smuggling, of the closed border, of those who left and those who came back. Always say hello, in Spanish or Portuguese, even badly: the effort is appreciated.

  • Sleep in small villages

    The suggested stages end in towns with services, but there are rural houses, guesthouses and hostels in places where hardly anyone stops. Staying there is another way to support the local economy.

  • Respect the land

    Close any gates you find closed, don't disturb livestock, never light fires and carry your rubbish to the next bin. Much of the route crosses natural parks.

  • Leave the Raya better than you found it

    If you see a can by the roadside, pick it up. If you liked a place, recommend it. If a bar treated you well, tell people. That way this route also serves those who live along it.

Before you go

Practical

The essentials for planning the route, in full or in sections.

When to go

All year round, with a few caveats

The route barely goes above 1,000 metres, so you can ride it at any time of year. Just avoid the coldest weeks in winter and plan ahead for the summer heat.

SpringOur pick

The countryside is green from end to end and the days are getting longer.

Summer

It is hot along the whole route, especially south of the Douro. It is manageable if you start early and spend the afternoon at a public swimming pool.

AutumnOur pick

The vineyards change colour and temperatures turn mild again.

Winter

North of the Douro it can get very cold. Check the forecast and avoid the coldest weeks.

In sections

By train, in sections

Being so long, it is easy to ride in parts. There are trains to Salamanca, Plasencia, Cáceres and Badajoz; from there, a short link ride takes you to the track wherever you want to join it.

The start

Sanabria

You can reach Puebla de Sanabria by train from Madrid, with three trains stopping there every day. Check the timetable on Renfe and make sure your train takes bikes before you book.

The last crossing

Guadiana ferry

There is no bridge between Sanlúcar de Guadiana and Alcoutim: you cross on a small boat that carries bikes. The timetable is posted at the jetty; check it in advance so you are not left on the bank.

Getting home

Ride on to Huelva

The easiest option is to take the boat from Vila Real de Santo António across to Ayamonte and ride about 55 km to Huelva. From there you have plenty of train and bus connections.

Roads

Quiet back roads

Most of the route follows secondary roads with little traffic. Take extra care when riding into and out of medium-sized and larger towns, where the traffic builds up.

Bike and kit

Road or gravel

A road or gravel bike will do, with tyres of at least 28 mm, or 32 mm if they fit. Carry plenty of spares: bike shops and workshops are scarce along much of the route.

Services

Sleep, food, water

The route passes many mid-sized towns with all kinds of services. In the Alentejo the gaps between villages are longer: in summer, carry plenty of water.

Direction

North to south

You start at 900 metres and finish at sea level. The hardest parts (Arribes, Riba-Côa and the Beira) come in the first half, while your legs are fresh.

Mind the clock

One hour behind in Portugal

Portugal is one hour behind Spain, and the route crosses the border many times. Keep it in mind for closing times, meals and the ferry.

Track GPX

1,030 km · road bike · .gpx file (2 MB)

Download the track Open it in Komoot, Garmin Connect, Wahoo or your navigation app.
Photos from the road

Raia notebook

Stone, whitewash and granite on both sides of the border.

Get in touch

Contact

Planning to ride the Raya, in full or in sections? Got a question about the track, a correction or photos from your trip? Write to us or tag us on Instagram.

tell us about your Raya
Email raia.bikepacking@gmail.com