What you are looking at
The Great Wall is not one wall but many. Rival states started raising defences in the 7th century BC to keep out raiders from the northern steppe, the Qin dynasty joined them up, and later dynasties kept extending them. The towers and brick ramparts you will walk near Beijing are mostly Ming work, from the centuries between 1368 and 1644.
How long it is depends on who is counting. Several of the guides we read put it at about 21,000 km, or roughly 13,000 miles, and two reckon a walk from one end to the other would take you well over a year. Soldiers, labourers and prisoners did the building, often on steep slopes and in harsh northern weather.
Once the Qing dynasty pushed the empire's borders out past it, the wall lost its job. Rammed earth wore away and people carried off its bricks to build with, which is why some stretches look almost new and others have crumbled back into the ridge. The wall is a UNESCO World Heritage Site.
Mutianyu: the best first visit
Mutianyu, in Beijing's Huairou District, is a favourite first visit, and for good reason: one newspaper guide says most visitors choose it. It ranks among the best-kept stretches anywhere along the wall and has been carefully restored. In its day it guarded the northern approach to the capital and the imperial tombs.
Distances vary by source: Wikipedia gives about 70 km north-east of the city centre, one newspaper guide says 45 km, and a road-trip vlogger got there in roughly an hour. A tour company that sends couples and families here calls it scenic and easier going than the steeper or busier sections. The same vlogger found plenty of visitors, cable cars and things to do around the entrance.
From Mutianyu the wall carries on west towards Jiankou and east towards Lianhuachi, so you choose how far to walk before turning back.
Badaling: famous and busy
Badaling, about 80 km north-west of the centre in Yanqing District, is the most visited stretch of the whole wall by Wikipedia's account, though the sources disagree: the newspaper guide above sends most visitors to Mutianyu. This part went up in 1504, together with a military post that shows how much the pass mattered. Its highest tower, Beibalou, stands at about 1,015 m above sea level.
Expect company: one video calls it the most touristy section of all. A travel company says either Badaling or Mutianyu takes about one to two hours to walk, which makes both easy to fit into a first trip to China.
Jinshanling, Jiankou and the wild wall
For a longer, quieter walk, look further out. Jinshanling lies in Hebei Province, about 125 km north-east of Beijing, and was built from 1570. A newspaper guide puts it two hours' drive away and suggests a day's hike east to Simatai over rough, half-wild ground; a China guide recommends it for a sunset picnic away from the crowds.
One documentary calls Jiankou the wild section of the wall and describes a ridge there less than 60 cm wide. A popular day hike links Jiankou with the restored wall at Mutianyu. One traveller who climbed an unrestored stretch describes a steep, sometimes frightening scramble, paid back by an empty wall above the villages at the foot of the ridge.
One travel guide advises never hiking these isolated parts alone, and leaving your route, phone number and expected return time with your hotel even when you go as a group. One tour company offers camping on the wall; check what is allowed on your section before you plan a night up there.
Planning your day
Most sections are one to two hours from central Beijing, so keep a whole day for the wall rather than squeezing it in beside other big sights; one China tour company says that makes the day far more relaxed. If you have energy left, one food vlogger hiked 10 km along the wall one afternoon and was back in the hutongs for Peking duck the same evening.
Spring and autumn are the seasons most guides favour. For Beijing, one lists April to early June and September to November, and another guide, writing about China as a whole, singles out September and October for comfortable weather and colourful hills.
Many of the itineraries we read build in a guided excursion from Beijing. If you go on your own, one travel blog warns that some taxi drivers were reluctant to take foreign visitors, one even refusing the short ride from a bus stop to the wall, and suggests a ride-hailing app such as Didi once you have a local way to pay. For a base in the city, one guide suggests staying near Wangfujing or Qianmen.