Data studyHistory × technology·England and Wales 1830·Blog home

Captain Swing:

did the riots follow the machines?

In 1830 farm labourers across southern and eastern England smashed threshing machines and set ricks alight. Was it the machines, or hunger, wages, enclosure and the poor law? I mapped 3,117 Swing incidents in 10,699 parishes to find out.

Dr Tristan Hotham, Independent researcher · 2026 · Data: Caprettini and Voth (2020) replication package, openICPSR, CC BY 4.0
Built on someone else's careful work. Every riot, machine and parish on this page comes from the open replication data of Bruno Caprettini and Hans-Joachim Voth (2020), "Rage against the Machines: Labor-Saving Technology and Unrest in Industrializing England", American Economic Review: Insights 2 (3): 305 to 320, released under CC BY 4.0 at openICPSR. Their riot counts come in turn from the Swing Unmasked project (Holland 2005). The causal findings quoted below, including the heavy-soil test, are theirs. The maps, cross-tabulations, neighbour comparisons and the rest of the descriptive analysis are mine, and so are any mistakes. Section 07 lists exactly which is which.
3,117Swing incidents in 1,479 of 10,699 parishes, 1830 to 1832
27% vs 14%of parishes saw unrest, with and without a recorded threshing machine
90%of parishes with unrest had no machine on record at all
16% to 18%unrest in the least and most enclosed fifths: enclosure barely matters

On the night of 28 August 1830, labourers at Lower Hardres, Kent broke a threshing machine. By December the trouble had spread across the south and east of England: machines smashed, ricks and barns set on fire, overseers of the poor carted out of their parishes, and threatening letters signed by a man who never existed, "Captain Swing". It was the largest rural uprising in nineteenth-century England, and the first great revolt of workers against a labour-saving machine.

Historians have argued about it ever since. Was it about the threshing machine, which took away the winter work of beating corn with a flail? Or was it about hunger, low wages, the enclosure of common land and a harsh poor law, with the machine as just the most visible target? In 2020 the economists Bruno Caprettini and Hans-Joachim Voth mapped every Swing incident and every threshing machine they could find onto the 10,699 parishes of 1851 England and Wales, and published all of it openly. I have used their data to draw the riots, the machines and the rival suspects side by side, and to ask the plain question: did the riots follow the machines?

My short answer: yes, but not only. Parishes with a recorded machine were about twice as likely to riot, even compared with their own neighbours. Yet nine in ten riotous parishes had no recorded machine, enclosure explains almost nothing, and the parishes that spent most on poor relief were among the most rebellious. The machine was a spark, and the countryside was already dry.

01 · The run-upMachines arrive, then fires

Caprettini and Voth found threshing machines in two kinds of source: 548 advertisements in provincial newspapers, mostly farm sales listing a machine among the stock, and 87 machines described in the county General View of Agriculture surveys. Together they place 641 machines in 544 parishes before 1830. They also combed the newspapers for earlier unrest, finding 679 reports of rural arson and machine-breaking from 1765 to 1829.

Machines on the farm sale lists, and a countryside that was already burning
Top: threshing machines advertised in newspapers each year (blue). Bottom: arson and machine-breaking reported in newspapers each year before Swing (orange). Right: the average number of such incidents per parish in each decade, on Caprettini and Voth's harmonised panel. Hover or tap for values.
Data: Caprettini and Voth (2020), from the British Newspaper Archive and the General Views of Agriculture. The 87 survey machines are dated only to the decade, so they are left out of the yearly bars. Episodes before 1830 and Swing incidents come from different sources and are not directly comparable year by year; the decade panel puts them on one footing.

Two things stand out. Machines were spreading for thirty years before Swing: 128 recorded in the 1800s, 262 in the 1810s and 245 in the 1820s. And rural unrest was rising well before 1830: 83% of the pre-Swing episodes fall in the 1820s, with 188 in 1829 alone. On the panel, the average parish saw 0.055 incidents in the 1820s and 0.176 in 1830 to 1832, 3.2 times as many. Swing was an explosion, but it did not come from nowhere.

02 · The mapEvery parish in England and Wales, 1830

Each shape is a parish of 1851. Colour it by Swing incidents, by machine-breaking, by recorded machines, or by the rival suspects. Press play to watch the recorded machines arrive year by year from 1800, with the newspaper reports of fires and machine-breaking flickering on, before Swing breaks out in 1830. Or type your own parish into the search box.

All
Tap a parish to see its riots, machines and circumstances.
Parish boundaries of 1851 and all values: Caprettini and Voth (2020), CC BY 4.0, simplified for the web. Swing incidents: Holland (2005), as matched to parishes by Caprettini and Voth. Machines: newspaper adverts and General Views of Agriculture, so a sample of machines, not a census. Enclosure is a district-level estimate from Gonner (1912) and is blank where he gives none; poor rates per head in 1801 exist only for the 1,251 sample parishes that answered the 1834 Poor Law inquiry.

The fire map is unmistakable. Swing was above all a southern and eastern rising: Kent, Sussex, Hampshire, Berkshire and Wiltshire burn brightest, with a second front in Norfolk and Suffolk. Yet the single parish with most incidents in the data is Whitchurch in Shropshire, with 26, followed by Chipping Wycombe (21) and Dover (20). Five counties, Kent, Norfolk, Wiltshire, Hampshire and Sussex, hold 48% of all incidents in the main sample. Swing also reached further than its reputation: the North-West region, which includes Shropshire, Cheshire and Lancashire, still saw unrest in 12% of its parishes, against 25% in the South-East and 1.5% in Wales.

The machine map is patchier, and that is a warning: these are the machines that happened to be advertised or described, not every machine that existed.

Kent shows the problem best. Swing began there with a wave of machine-breaking, yet the data record only 6 machines in its 357 parishes. Whatever the reason, perhaps that Kent's machines rarely appeared in the papers that were searched, the recorded machines are a thin sample. Any parish-level comparison of "machine" and "no machine" parishes therefore compares parishes with a recorded machine against a mix of parishes with none and parishes whose machine left no trace.

03 · The machinesDid the riots follow the machines?

Start with the simplest comparison. Of the 511 parishes in Caprettini and Voth's main sample with at least one recorded machine, 27.0% saw some Swing unrest. Of the 9,163 without one, 13.8% did. That is 2.0 times the rate. Machine-breaking itself was 2.3 times as common in machine parishes (6.9% against 2.9%), which you would expect, but so were fires, letters and wage riots (25.1% against 12.7%).

Share of parishes with any Swing unrest, with and without a recorded machine
Orange: parishes with a recorded threshing machine before 1830. Grey: parishes without. The last row compares each machine parish with the machine-free parishes within 10 km of it.
Main sample of 9,674 parishes (Caprettini and Voth's sample flag). Regions are the five agricultural regions of Caird (1850 to 1851) used in their data. Neighbour interval: 95% bootstrap over machine parishes.

The obvious objection is geography. Machines were commonest in the corn-growing south and east, which is also where Swing was. So I compared within regions and, more strictly, with each machine parish's own neighbours. In four of the five regions, machine parishes rioted more often (Wales, with 20 machine parishes and almost no unrest, is the exception). Against the machine-free parishes within 10 km, on average 22.2 of them, machine parishes were 9.8 percentage points more likely to riot (27.0% against 17.2%; 95% interval 6.1 to 13.6 points). A simple regression that also holds distance from London, population density, the farm share of workers and region constant gives a similar gap of 7.8 points (standard error 2.0).

So the riots did follow the machines. But look at it the other way round. Of the 1,400 parishes in the main sample with any Swing unrest, 90% had no recorded machine. And 73% of machine parishes stayed quiet. Machine-breaking was only 17% of all incidents; most were arson, threatening letters, wage riots and attacks on overseers and parsons.

Their test, and why it is clever

A raw gap can mislead: perhaps the farmers who bought machines were also the hardest employers. Caprettini and Voth use the soil. Threshing machines of the time worked badly on heavy clay land, which grew less wheat, so parishes on heavy soil adopted fewer machines for reasons that had nothing to do with local politics. In their data, a parish wholly on heavy soil had 0.034 fewer recorded machines and 0.218 fewer Swing incidents than one with none, other things equal. Their instrumental-variable estimate, which I reproduce exactly from their files, is that each extra machine caused about 6.4 more incidents (standard error 1.6). That is their causal result, not mine; the size of the number partly reflects that the recorded machines stand for many unrecorded ones.

04 · The rival suspectsHunger, wages, enclosure and the poor law

If the machines were only part of the story, what else lines up with the riots? The data hold several of the classic suspects, measured in different ways and for different sets of parishes. The chart lines them up: for each, the parishes are split into five equal groups (four for unemployment) from lowest to highest, and the dots show the share of each group that saw Swing unrest. A steep line means a strong association; a flat one means none.

Which suspects line up with the riots?
Share of parishes with any Swing unrest, from the lowest fifth (left dot) to the highest fifth (right dot) of each measure. The bar on the right of each row is how many parishes have the measure. Hover or tap a dot.
All measures from Caprettini and Voth's data: enclosure from Gonner (1912); poor rates per head in 1801 and winter unemployment in 1834 from the Poor Law Report of 1834; wheat prices at the nearest market town, 1821 to 1830, from Brunt and Cannon's corn returns; farm share of workers from the 1801 census; heavy soil from the British Geological Survey.

Enclosure is the great surprise, or rather the great non-event. Across the five groups, from parishes in districts with no recorded enclosure of commons by 1820 to the most enclosed, the share with unrest moves only from 16.3% to 17.7%. This fits the old observation by the historian G. E. Mingay that the heavily enclosed Midlands stayed quiet in 1830. The measure is coarse (a district estimate scaled back to 1820), but there is no sign of a strong link.

The poor law is different. Among the 1,251 parishes with figures, those that spent the least per head on poor relief in 1801 had unrest in 14% of cases; those that spent the most, 34%. In the south, poor relief often topped up low wages, so high rates mark places where farm wages were too low to live on. Winter unemployment, reported to the Poor Law inquiry in 1834, shows a similar rise, from 12% to 32%, in the 595 parishes that answered. Winter was exactly when hand threshing used to provide work. But this was measured after the riots, by parishes that chose to reply, so treat it as a clue, not a test.

Hunger, at least as measured by the price of wheat at the nearest market in the 1820s, shows no clear pattern (from 16% to 13%). The data hold no parish wages, so I cannot test wages directly; poor rates are the nearest proxy. Parishes where more of the workforce was on the land were, if anything, a little less likely to riot, and those on heavy clay, where machines were rarer, were less likely too.

Linear probability models of any Swing unrest (my own, not Caprettini and Voth's). Each column adds one rival suspect, on the parishes where it is measured. Coefficients in percentage points; for continuous suspects, per standard deviation. All include region dummies, log density, farm share and log distance from London. Robust standard errors in brackets.

Put the suspects into one model and the machine gap holds in the full sample and the enclosure sample, while poor rates and winter unemployment carry their own weight in their smaller samples, where the machine gap is no longer precisely measured. The honest reading is that the machine mattered, and so did poverty, and the data cannot cleanly separate them outside the parishes where both are recorded.

05 · The spreadFrom Elham outwards, and London's ring

The data carry no dates for individual Swing incidents, so I cannot animate the autumn of 1830 week by week. What they do carry is distance. Caprettini and Voth measure every parish's distance from Elham in East Kent, near where the first machines were broken, to capture how the movement spread from its starting point. Within 50 km of Elham, 40% of parishes saw unrest, averaging 1.2 incidents each.

Unrest fades with distance
Share of parishes with any Swing unrest (orange) and with a recorded machine (blue), in 25 km rings. Hover or tap for values.
Distance from Elham: Caprettini and Voth. Distance from London: my calculation from each parish centroid to London as located in their newspaper-town file. Main sample.

London tells a cleaner story than Elham. Swing was a rising of the capital's agricultural hinterland: 23% of parishes within 100 km of London saw unrest, against 5.8% beyond 200 km. Parishes within 150 km of London are 45% of the sample but hold 71% of the incidents. Note the blue line: recorded machines do not fall away with distance in the same way, which is one more sign that machines alone do not explain where Swing struck.

County by county: machines and unrest
Each circle is a county, sized by its number of parishes. Across the 51 counties with at least 40 sample parishes, the rank correlation between machines per 100 parishes and the share of parishes with unrest is 0.45.
Main sample, aggregated by the county names in Caprettini and Voth's data. Full table in data/counties.csv.

06 · An asideRobots took our jobs? What 1830 can and cannot tell us

A light, clearly labelled detour. Everything here is about 1830; I make no claims about any modern technology's effects.

The threshing machine is a lovely test case for a question we keep asking about labour-saving technology, from looms to software. Hand threshing with a flail was the great winter job of the farm year; by the eighteenth century it took about one quarter of agricultural labour, according to Wikipedia's summary of the history. A horse-driven machine did the same work far faster. Using the 23 horse-powered machines with worker and output figures in the General Views, and Caprettini and Voth's benchmark of 0.4 bushels per man-hour with a flail, a horse machine threshed about 2.0 bushels per worker-hour on average, roughly 5 times the flail.

Bushels threshed per worker-hour, counting women and children as half a man, as in Caprettini and Voth's appendix. Flail benchmark: their figure, citing Gregory Clark. Few machines, rough figures: read the order of magnitude, not the decimals.

So what does the first great "robots took our jobs" revolt tell us? Three things the data can support, and three it cannot.

It can tell us that people did respond to the machine where it arrived: parishes with a recorded machine rioted about twice as often, even against their neighbours. It can tell us that the response was sharpest where there was nowhere else to go. Far from the industrial towns (beyond about 74 km), machine parishes rioted 16.3 points more often than machine-free ones; close to them, where a labourer might find other work, the gap was 9.9 points. Caprettini and Voth make the same point with their own models. And it can tell us that the machine landed on a population already squeezed: the riots tracked poverty and poor relief as well as machines, and most riotous parishes had no recorded machine at all.

Share of parishes with any Swing unrest, split at Caprettini and Voth's median distance to the nearest of 15 manufacturing towns.

It cannot tell us what any modern technology will do: a threshing machine is not software, and an 1830 parish with no welfare state, no vote for labourers and no other employer for miles is not a modern labour market. It cannot tell us whether the machine made rural England poorer or richer in the long run; these data stop in 1832. And it cannot tell us whether the anger was about the machine itself or about who captured its gains; the rioters' own letters asked for higher wages as well as an end to machines.

The fair lesson is modest. A labour-saving machine arriving in a place with few other jobs and a frayed safety net was associated with a sharp jump in unrest. The machine alone did not light the fire.

07 · Theirs and mineWhat I reproduced, and what is new here

Before doing anything of my own, I checked that I could reproduce Caprettini and Voth's published numbers from the files they released. Every figure matches to the third decimal place.

Their result (Caprettini and Voth 2020)PublishedMy re-run
Parishes in main sample9,6749,674
Mean Swing incidents per parish0.3080.308
Mean recorded threshing machines per parish0.0620.062
Mean unrest episodes before 18300.0670.067
OLS: incidents per extra machine (s.e.)0.389 (0.071)0.389 (0.071)
Heavy soil: effect on machines (first stage)-0.034-0.034
Heavy soil: effect on incidents (reduced form)-0.218-0.218
2SLS: incidents per extra machine (s.e.)6.361 (1.616)6.361 (1.616)
Incidents per parish, 1820s and 1830 to 18320.055, 0.1760.055, 0.176

Everything else on this page is my own descriptive work on their data: the parish map and search, the machine and neighbour comparisons, the regional splits, the rival-suspect gradients and models, the distance-from-London rings, the county comparison, the productivity summary and the split by distance to industry (which echoes their own Figure 3). None of it is causal, and none of it should be read as theirs.

08 · MethodsHow I did this, and what to be careful of

Data. I read Caprettini and Voth's parish cross-section (10,699 parishes of 1851), their decade panel, and their raw files of dated machine adverts, survey machines and pre-1830 unrest, all in place from their openICPSR package. I computed each parish's centroid from their 1851 boundary file and simplified the outlines for the web. Unless stated, comparisons use their main sample of 9,674 parishes, the set used in their tables, which leaves out parishes without complete 1801 census measures.

Swing incidents. Their riot counts come from Holland's Swing Unmasked (2005), matched to parishes by Caprettini and Voth; a small number of incidents could not be placed. An "incident" can be a fire, a broken machine, a threatening letter or a riot; counts are not people. "Any unrest" means at least one incident between August 1830 and 1832.

Machines. The machines are those advertised in the newspapers searched or described in the agricultural surveys. Many machines left no such trace (Kent is the clearest case), so "no recorded machine" does not mean "no machine". Errors of this kind tend to shrink simple comparisons towards zero, and an instrument such as their soil test is one way round them.

Comparisons. Neighbour comparisons use, for each machine parish, the share with unrest among machine-free sample parishes whose inside point lies within 10 km, with a bootstrap interval over machine parishes (511 of them). Quintile gradients split parishes into equal-sized groups by rank. The linear probability models are descriptive, with robust standard errors; they do not deal with the selection of parishes into the Poor Law returns, with reverse causation for the 1834 unemployment figures, or with unrecorded machines.

Dates. The Swing incidents in this package carry no dates, so the map cannot show the weekly spread of autumn 1830; the play button animates the dated machine adverts and pre-1830 reports instead. Survey machines are dated only to the decade.

09 · SourcesData and licences

Read the paperData and codeBlog postMore data studies

Other history data studies: Cold Years, Witch Years? · Is Domesday destiny? · Within Sight

The men of 1830 lost: about 2,000 were tried, 19 were hanged and 481 transported to Australia. Their letters asked for work and a living wage as much as for the end of the machine. Two centuries on, when we argue about machines that might take our jobs, their story is less a prophecy than a reminder that how a new machine lands depends on what else people have to fall back on.