What Led to the Growth of Cities: From Farms to Factories?

Cities grew because of a chain reaction that started on farms. When agricultural advances allowed fewer people to produce more food, surplus workers moved to places where factories, railroads, and new industries offered paying jobs. That basic pattern, rural labor becoming urban labor, has repeated across centuries and continents, though the specific forces behind it have shifted over time.

Farming Got More Productive

Before cities could grow, the countryside had to produce enough food to feed people who weren’t farming. In Britain, total agricultural output grew roughly 2.7-fold between 1700 and 1870, and output per worker rose at a similar rate. By the 19th century, British crop yields were as much as 80 percent higher than the average across continental Europe. That surge in productivity meant that a shrinking number of farmers could feed a growing population.

Better tools and machines reduced the demand for rural labor at the same time that access to land became increasingly restricted. The combination left many rural workers with no viable way to make a living in the countryside. They migrated to towns and cities, forming the enormous labor pool that early factories depended on. Without this agricultural revolution happening first, industrialization would have had no workforce to draw from and no food surplus to sustain dense populations.

Factories Concentrated Workers in One Place

Industry gave those displaced rural workers somewhere to go. Between 1880 and 1900 alone, U.S. cities added about 15 million people, owing most of that growth to the expansion of industry. Steel mills in Chicago and Joliet, iron works in Cleveland, and chemical plants in Syracuse became magnets for labor. Each new factory created demand for housing, shops, and services around it, which in turn attracted more people.

The logic was straightforward: factories needed to be near raw materials, water, or transportation hubs, and workers needed to be near factories. Once a cluster of industry established itself, it became self-reinforcing. Supporting businesses opened, wages circulated through the local economy, and the city grew outward from its industrial core. This pattern played out across the industrializing world during the 18th and 19th centuries.

Railroads Created Cities From Nothing

Transportation infrastructure didn’t just connect existing cities. It created new ones. When the U.S. Transcontinental Railroad was completed in 1869, it cut travel time from New York to San Francisco from months to just seven days, opening vast stretches of the country to settlement and commerce.

The effect on individual towns was dramatic. The Union Pacific Railroad chose a site along Crow Creek in Dakota Territory for its headquarters in 1867. Residents incorporated the area as Cheyenne, and by 1870 the population was 1,450. Twenty years later it had reached 11,690 and had become the capital of the new state of Wyoming. Ogden, Utah, settled in 1840 with a population of 1,464 by 1860, doubled to 3,127 within a year of the railroad’s arrival as passengers and freight from multiple rail lines converged on the city. Reno, Nevada, established as a rail station town in 1868, quickly became the largest city between Sacramento and Salt Lake City.

Within cities, new transit technology reshaped growth as well. By 1902, electric streetcar lines covered over 16,000 miles in the United States, compared to fewer than 200 miles still using animal power. Electric transit let cities expand outward, allowing workers to live farther from factory districts while still commuting to jobs.

Sanitation Made Dense Living Survivable

Early industrial cities were deadly. Waste piled up in pits near homes, waterborne diseases spread easily, and mortality rates in cities often exceeded those in the countryside. For cities to sustain their growth rather than simply churn through waves of newcomers, they needed infrastructure that could keep large populations alive.

In England, a series of Public Health Acts in 1866, 1872, and 1875 required towns to provide clean water and sewage disposal, and offered cheap financing to build the systems. The impact was measurable: investment in sewerage was robustly linked to improvements in death rates after 1880, explaining about 13 percent of the decline in overall mortality between 1880 and 1909. Sewers removed human waste from households and streets, reducing diseases spread through contaminated hands, water, and insects. The transition was slow (flush toilets still weren’t universal in England by 1911), but each improvement made city living less hazardous and allowed populations to keep climbing.

Clean water, sewage treatment, and later innovations like garbage collection and food safety regulations essentially removed one of the biggest natural limits on how large a city could get.

The Push-Pull Dynamic of Migration

Economists describe urbanization through two forces working simultaneously. “Push” factors drive people out of rural areas: agricultural mechanization eliminates jobs, land becomes scarce or expensive, and rural poverty limits opportunity. “Pull” factors draw people toward cities: industrial jobs, higher wages, better access to education and healthcare, and government policies that favor urban investment.

These forces rarely work in isolation. A family might leave the countryside because a new threshing machine replaced three farmhands and arrive in a city because a textile mill is hiring. The strength of each force varies by era and region, but the basic dynamic has driven urbanization from 18th-century England to 21st-century Lagos.

Knowledge Economies and the Modern Pull

In recent decades, the engine of city growth has shifted from factories to knowledge. Cities like London, New York, Paris, Los Angeles, and Tokyo have experienced sustained growth driven by clusters of knowledge-intensive industries: finance, technology, media, research, and professional services. These industries benefit from a principle called increasing returns to scale, meaning that concentrating skilled workers and specialized firms in one place makes each of them more productive than they would be in isolation.

When tech companies, universities, law firms, and financial institutions cluster together, they create demand for complementary services, attract investment in physical and digital infrastructure, and generate a cycle of innovation that reinforces the city’s competitive advantage. A startup locates in a city because that’s where the talent, investors, and potential partners already are. The talent moves there because that’s where the jobs are. This self-reinforcing loop helps explain why major cities continue growing even as manufacturing, the original driver, has largely moved elsewhere.

Rapid Urbanization in Developing Regions

The most rapid urbanization today is happening in Africa and Asia, following a different timeline than the Western pattern. Half of the population in more developed regions already lived in urban areas by 1950, but it took until 2008 for the world’s total population to cross the 50 percent urban threshold. Much of that recent shift has been driven by developing nations where rural populations remain large and cities are growing at speeds that outpace infrastructure.

The underlying forces are familiar: agricultural modernization reducing rural employment, urban economies offering higher wages, and young populations seeking education and opportunity. But the pace is compressed. Cities that took a century to reach millions in Europe or North America are reaching that scale in decades across South Asia and sub-Saharan Africa, often before sanitation, housing, and transit systems can keep up. The result is a new generation of megacities shaped by the same fundamental pressures that built London and Chicago, just operating on a faster clock with different constraints.