Agriculture in Scotland in the Middle Ages includes all forms of farm production in the modern boundaries of Scotland, between the departure of the Romans from Britain in the fifth century and the establishment of the Renaissance in the early sixteenth century. Scotland has between a fifth and a sixth of the amount of the arable or good pastoral land of England and Wales, mostly located in the south and east. Heavy rainfall encouraged the spread of acidic blanket peat bog, which with wind and salt spray, made most of the western islands treeless. The existence of hills, mountains, quicksands and marshes made internal communication and agriculture difficult. Most farms had to produce a self-sufficient diet of meat, dairy products and cereals, supplemented by hunter-gathering. The early Middle Ages were a period of climate deterioration resulting in more land becoming unproductive. Farming was based around a single homestead or a small cluster of three or four homes, each probably containing a nuclear family and cattle were the most important domesticated animal.

In the period 1150 to 1300, warm dry summers and less severe winters allowed cultivation at much greater heights and made land more productive. Arable farming grew significantly, but was still more common in low-lying areas than in high-lying areas such as the Highlands, Galloway and the Southern Uplands. The system of infield and outfield agriculture, a variation of open-field farming widely used across Europe, may have been introduced with feudalism from the twelfth century. Crops were bere (a form of barley), oats and sometimes wheat, rye and legumes. Hunting reserves were adopted by Anglo-Norman lords and then by Gaelic ones. The more extensive outfield was used for oats. New monastic orders such as the Cistercians became major landholders and sheep farmers, particularly in the Borders where they were organised in granges.

By the late Medieval period, most farming was based on the Lowland fermtoun or Highland baile, settlements of a handful of families that jointly farmed an area notionally suitable for two or three plough teams, allocated in run rigs to tenant farmers, known as husbandmen. Runrigs usually ran downhill so that they included both wet and dry land. Most ploughing was done with a heavy wooden plough with an iron coulter, pulled by oxen, which were more effective and cheaper to feed than horses. Key crops included kale, hemp and flax. Sheep and goats were probably the main sources of milk, while cattle were raised for meat. The rural economy appears to have boomed in the thirteenth century and in the immediate aftermath of the Black Death was still buoyant, but by the 1360s there was a severe falling off in incomes to be followed by a slow recovery in the fifteenth century.

Early Middle Ages

Scotland is roughly half the size of England and Wales and has approximately the same amount of coastline, but only between a fifth and a sixth of the amount of the arable or good pastoral land, under 60 metres above sea level, and most of this is located in the south and east. This made marginal pastoral farming and fishing, the key factors in the pre-modern economy.E. Gemmill and N. J. Mayhew, Changing Values in Medieval Scotland: a Study of Prices, Money, and Weights and Measures (Cambridge: Cambridge University Press, 1995), , pp. 8–10. Its east Atlantic position means that it has moderate rainfall: today about 700 mm per year in the east and over 1,000 mm in the west. This encouraged the spread of blanket peat bog, the acidity of which, combined with high level of wind and salt spray, made most of the western islands treeless. The existence of hills, mountains, quicksands and marshes made agriculture and internal communication difficult.C. Harvie, Scotland: a Short History (Oxford: Oxford University Press, 2002), , pp. 10–11. The relative importance of climate and human interference has been debated, but Scotland was certainly much more heavily forested before humans arrived, around 5000 BP; for example, the Outer Hebrides were wooded "down to the western shoreline", implying that climate alone does not explain Scotland's low tree cover.

The early Middle Ages, from the fifth century to the tenth century, were a period of climate deterioration, with a drop in temperature and an increase in rainfall, resulting in more land becoming unproductive.P. Fouracre and R. McKitterick, eds, The New Cambridge Medieval History: c. 500-c. 700 (Cambridge: Cambridge University Press, 2005), , p. 234. With a lack of significant transport links and wider markets, most farms had to produce a self-sufficient diet of meat, dairy products and cereals, supplemented by hunter-gathering. Limited archaeological evidence indicates that farming was based around a single homestead or a small cluster of three or four homes, each probably containing a nuclear family, with kinship relationships likely to be common among neighbouring houses and settlements, reflecting the partition of land through inheritance.A. Woolf, From Pictland to Alba: 789 – 1070 (Edinburgh: Edinburgh University Press, 2007), , pp. 17–20. The climate meant that more oats and barley were grown than wheat.A. MacQuarrie, Medieval Scotland: Kinship and Nation (Thrupp: Sutton, 2004), , pp. 136–40. The evidence of bones indicates that cattle were by far the most important domesticated animal, followed by pigs, sheep and goats, while domesticated fowl were very rare.K. J. Edwards and I. Ralston, Scotland after the Ice Age: Environment, Archaeology and History, 8000 BC – AD 1000 (Edinburgh: Edinburgh University Press, 2003), , p. 230. Christian missionaries from Ireland may have changed agricultural practice, bringing innovations such as the horizontal watermill and mould board ploughs, which were more effective in turning the soil.S. M. Foster, "The topography of peoples lives: geography to 1314", in I. Brown, ed., The Edinburgh History of Scottish Literature: From Columba to the Union, until 1707 (Edinburgh University Press, 2007), , p. 47.

High Middle Ages

In the period 1150 to 1300, warm dry summers and less severe winters of the Medieval Warm Period allowed cultivation at much greater heights above sea level and made land more productive. Arable farming grew significantly, but was still more common in low-lying areas in the south and east than in high-lying areas such as the Highlands, Galloway and the Southern Uplands.G. W. S. Barrow, Kingship and Unity: Scotland 1000–1306 (Edinburgh: Edinburgh University Press, 1989), , p. 12. The feudalism introduced under David I, particularly in the east and south where the crown's authority was greatest, saw the placement of baronial lordships.A. Grant, "Scotland in the Central Middle Ages", in A. MacKay and D. Ditchburn (eds), Atlas of Medieval Europe (Routledge: London, 1997), , p. 97. Land was now held from the king, or a superior lord, in exchange for loyalty and forms of service that were usually military. Barons, who held feudal tenures, had the right to hold baronial courts, which could deal with matters of land ownership.J. Wormald, Court, Kirk, and Community: Scotland, 1470–1625 (Edinburgh: Edinburgh University Press, 1991), , pp. 30–3. However, the imposition of feudalism continued to sit beside the existing systems of landholding and tenure and it is not clear how this change impacted on the lives of the ordinary free and unfree workers. In places, feudalism may have tied workers more closely to the land. However, the predominantly pastoral nature of Scottish agriculture may have made the imposition of a manorial system, based on the English model, impracticable in some areas.A. D. M. Barrell, Medieval Scotland (Cambridge: Cambridge University Press, 2000), , pp. 16–19. Obligations appear to have been limited to occasional labour service, seasonal renders of food, hospitality and money rents.G. W. S. Barrow, "Scotland, Wales and Ireland in the twelfth century", in D. E. Luscombe and J. Riley-Smith, eds, The New Cambridge Medieval History, Volume IV. 1024-c. 1198, part 2 (Cambridge: Cambridge University Press, 1995), , p. 586. They usually included supplying oxen for ploughing the lord's land on an annual basis and the much resented obligation to grind corn at the lord's mill.

Hunting reserves were adopted by Anglo-Norman lords and then by Gaelic ones, creating large tracts of land reserved for the leisure of the aristocracy and nobility.S. M. Foster, "The topography of peoples lives: geography to 1314", in I. Brown, ed., The Edinburgh History of Scottish Literature: From Columba to the Union, until 1707 (Edinburgh University Press, 2007), , p. 45. These were less rigorously enforced than in England, where the taking of wood and game were strictly forbidden, and all royal forests were on land already in the king's hands.A. D. M. Barrell, Medieval Scotland (Cambridge: Cambridge University Press, 2000), , p. 36. The introduction of new monastic orders such as the Cistercians in this period also brought innovations in agriculture. Particularly in the Borders, their monasteries became major landholders, sheep farmers and producers of wool for the markets in Flanders. These were organised in granges, monastic farms run by lay brothers of the order. Granges were theoretically within 30 miles of the mother monastery, so that those working there could return for services on Sundays and feast days. They were used for variety of purposes, including pastoral, arable and industrial production. However, to manage more distant assets in Ayrshire, Melrose Abbey used Mauchline as a "super grange", to oversee lesser granges.J. Burton, J. E. Burton, and J. Kerr, The Cistercians in the Middle Ages (Boydell Press) , p. 168. Some abbeys like Melrose had at least 12,000 sheep in the late thirteenth century.D. A. Carpenter, The Struggle for Mastery: Britain, 1066–1284 (Oxford: Oxford University Press, 2003), , p. 39.

The system of infield and outfield agriculture, a variation of open field farming widely used across Europe, may have been introduced with feudalismI. D. Whyte, "Economy: primary sector: 1 Agriculture to 1770s", in M. Lynch, ed., The Oxford Companion to Scottish History (Oxford: Oxford University Press, 2001), , pp. 206–7. and would continue until the eighteenth century.H. P. R. Finberg, The Formation of England 550–1042 (London: Paladin, 1974), , p. 204. This expanded from the use of small enclosed fields, which continued from the prehistoric era. The infield was the best land, close to housing. It was farmed continuously and most intensively, receiving most of the manure. Crops were usually bere (a form of barley), oats and sometimes wheat, rye and legumes. The more extensive outfield was used for largely for oats. It was fertilised from the overnight folding of cattle in the summer and was often left fallow to recover its fertility. In fertile regions the infield could be extensive, but in the uplands it might be small, surrounded by large amounts of outfield. In coastal areas fertiliser included seaweed and around the major burghs urban refuse was used. Yields were fairly low, often around three times the quantity of seed sown, although they could reach twice that yield on some infields. The main unit of land measurement in Scotland was the davoch (i.e. "vat"), called the arachor in Lennox. This unit is also known as the "Scottish ploughgate". In English-speaking Lothian, it was simply a ploughgate.Barrow, Kingship and Unity: Scotland 1000–1306, pp. 12–15. It may have measured about ,Barrow, Kingship and Unity: Scotland 1000–1306, p. 15. divided into 4 raths or eight oxgangs, the area that eight oxen were said to be able to plough in one year.C. J. Neville, Native Lordship in Medieval Scotland: The Earldoms of Strathearn and Lennox, c. 1140–1365 (Dublin: Four Courts, 2005), , 2005), p. 96.

Late Middle Ages