Laptops are made on the coast for an obvious reason: you import the parts through a port and export the finished machines through the same port. Chongqing is a mountain megacity 2,000 kilometres up the Yangtze, about the worst place imaginable to build an export industry. It makes roughly a third of the world's laptops anyway — and to do it, it built a railway to Germany.
The logic of laptop manufacturing is coastal. A notebook is an assembly of thousands of bought-in parts, almost all of which arrive by ship, and almost all of which leave again as finished machines by ship. That is why this atlas's other laptop city, Kunshan, sits an hour from Shanghai's port. Chongqing sits deep inland, up the Yangtze, ringed by mountains — the kind of place that exports coal and chemicals, not consumer electronics.
And yet for over a decade Chongqing has been the single largest laptop production base on earth, turning out about a third of the world's notebooks. It did not overcome its geography by accident. It rewrote the rulebook that made laptops coastal in the first place.
In 2008 the city's leadership went to Hewlett-Packard's California headquarters with a pitch to build laptops in the mountains. The obstacle was the standard coastal model — "both ends outside," where every part is imported and every finished unit exported. Over 2,000 kilometres of inland freight, that model dies on shipping costs. So Chongqing inverted it: rather than a lone assembly plant, it would bring the entire supply chain inland at once.
It worked. The city assembled three brands — HP, Acer and Asus — six of the world's big contract manufacturers — Foxconn, Quanta, Inventec, Compal, Wistron and Pegatron — and some 800 component suppliers, all in one cluster, so most of a laptop's parts are now made within the city itself. One bonded park runs near-zero inventory and assembles, by official count, about 2.8 computers every second.
Localising the parts solved half the problem. The finished laptops still had to reach buyers, most of them in Europe, and sea freight from the deep interior was hopeless. So in 2011 Chongqing built something that did not exist: the Yuxinou railway — Chongqing–Xinjiang–Europe — China's first freight line to Europe, running to Duisburg in Germany in about thirteen days instead of five or six weeks by sea.
It was designed expressly to carry the city's laptops west. And in doing so it created far more than an export route: the Yuxinou was the seed of the entire China–Europe Railway Express network that now threads dozens of Chinese cities to the continent. A laptop cluster, unable to reach the sea, ended up redrawing how China trades overland with Europe.
The scale of the change is hard to overstate. A decade and a half ago Chongqing was a heavy-industry and motorcycle town; PCs were zero per cent of its industrial output in 2008 and a tenth of it by 2013. In 2023 HP rolled its 400-millionth computer off a Chongqing line. The laptop bet then pulled in everything around it — BOE display fabs, chip plants, printers, smartphones — until electronics became the spine of a trillion-yuan local economy.
The cluster also became a template. Chongqing's "bring the chain inland, then build a railway out" playbook is the model the rest of inland China followed — Chengdu beside it, Zhengzhou's iPhone city to the north — as electronics manufacturing marched away from the coast.
The risk is the obvious one for a city built on a single, maturing product. Laptop demand is cyclical and no longer growing fast; tariffs and the steady drift of assembly toward Vietnam hang over the whole industry. So Chongqing is hedging into the next machine — new-energy vehicles, with Changan and the Huawei-backed Seres brand, plus a widening base in chips and displays.
But the lesson of the place already stands. Proximity to a port, it turned out, was not a law of nature but a problem to be engineered around. Give a mountain city the whole supply chain and a railway to Germany, and it can make a third of the world's laptops. For the coastal version of the same story, see Kunshan; for the inland city that did it next with phones, Zhengzhou.