Agricultural liming has declined substantially in the UK since the 1960s.
Soil pH was positively associated with liming.
Earthworm abundance increased with increasing soil pH.
Lapwing chicks foraged where there were more epigeic, acid-intolerant earthworms.
Liming of upland grasslands may have conservation benefits for shorebirds.