Music of Scotland in the nineteenth century includes all forms of music production in the period, in Scotland or by Scottish people.

The nineteenth century saw the reintroduction of accompanied music into the Church of Scotland. Organs began to be added to churches in large numbers and by the end of the century, roughly a third of Church of Scotland, over 80 per cent of kirks, had both organs and choirs. Similarly, in the Episcopalian Church the influence of the Oxford Movement and links with the Anglican Church led to the introduction of more traditional services, and by 1900 surpliced choirs and musical services were the norm. The Free Church that broke away from the kirk in 1843 in the Great Disruption, was more conservative over music, and organs were not permitted until 1883. Hymns were first introduced in the United Presbyterian Church in the 1850s. The visit of American Evangelists Ira D. Sankey, and Dwight L. Moody to Edinburgh and Glasgow in 1874–75 helped popularise accompanied church music in Scotland.

In the late eighteenth and early nineteenth century there was and an attempt to produce a corpus of Scottish national song, involving Robert Burns and George Thomson, which helped make Scottish songs part of the European cannon of classical music. The bothy ballads, which dealt with the lives of agricultural workers, were mainly written in the period 1820–60 and then adapted and altered along with working life in the later part of the century. Evidence of continued activity in traditional music includes the manuscripts of James Simpson (f. 1820–30). The tradition continued with figures including James Scott Skinner. From the late nineteenth century there was renewed interest in traditional music, which was more academic and political in intent. In the late nineteenth century the revival would begin to have a major impact on classical music, with the development of what was in effect a national school of orchestral and operatic music in Scotland.

The tradition of European concert music in Scotland, which had been established in the eighteenth century faltered towards the end of the century. From the mid-nineteenth century classical music began a revival in Scotland, aided by the visits of Frédéric Chopin and Felix Mendelssohn. Major composers included of the national school that developed in the late nineteenth century included Alexander Mackenzie, William Wallace), Learmont Drysdale and Hamish MacCunn. In the late part of the century, performers emerged who gained international reputations. They included Frederic Lamond, Mary Garden and Joseph Hislop.

Church music

The nineteenth century saw the reintroduction of accompanied music into the Church of Scotland. This was strongly influenced by the English Oxford Movement, which encouraged a return to Medieval forms of architecture and worship. The first organ to be installed by a Church of Scotland church after the Reformation was at St. Andrews, Glasgow in 1804, but it was not in the church building and was used only for weekly rehearsals. Two years later the city council was petitioned to allow it to be moved into the church, but they deferred to the local presbytery, who decided, after much deliberation, that they were illegal and prohibited their use within their jurisdiction. In 1828 the first organ was controversially installed in an Edinburgh church. Around the same time James Steven published his Harmonia Sacra: A Selection of the Most Approved Psalm and Hymn Tunes, provocatively printed a frontispiece showing a small organ.B. D. Spinks, A Communion Sunday in Scotland ca. 1780: Liturgies and Sermons (Scarecrow Press, 2009), , p. 149. The Church Service Society was founded in 1865 to promote liturgical study and reform and a year later organs were officially admitted to churches.R. W. Munro, "Churches: 2 1843–1929" in M. Lynch, ed., Oxford Companion to Scottish History (Oxford: Oxford University Press, 2001), , pp. 91–2. They began to be added to churches in large numbers and by the end of the century roughly a third of Church of Scotland ministers were members of the society and over 80 per cent of kirks had both organs and choirs. However, they remained controversial, with considerable opposition among conservative elements within the churchS. J. Brown, "Scotland and the Oxford Movement", in S. J. Brown, Peter B. Nockles and Peter Benedict Nockles, eds, The Oxford Movement: Europe and the Wider World 1830–1930 (Cambridge: Cambridge University Press, 2012), , p. 73. and organs were never placed in some churches.

Similarly, in the Episcopalian Church the influence of the Oxford Movement and links with the Anglican Church led to the introduction of more traditional services and by 1900 surpliced choirs and musical services were the norm.D. W. Bebbington, "Episcopalian community" in M. Lynch, ed., The Oxford Companion to Scottish History (Oxford: Oxford University Press, 2001), , pp. 234–5. The Free Church that broke away from the kirk in 1843 in the Great Disruption, was more conservative over music, and organs were not permitted until 1883.S. J. Brown, "Beliefs and religions" in T. Griffiths and G. Morton, A History of Everyday Life in Scotland, 1800 to 1900 (Edinburgh: Edinburgh University Press, 2010), , p. 122. Hymns were first introduced in the United Presbyterian Church in the 1850s. They became common in the Church of Scotland and Free Church in the 1870s. The Church of Scotland adopted a hymnal with 200 songs in 1870 and the Free Church followed suit in 1882. The visit of American Evangelists Ira D. Sankey (1840–1908), and Dwight L. Moody (1837–99) to Edinburgh and Glasgow in 1874–75 helped popularise accompanied church music in Scotland. The Moody-Sankey hymnbook remained a best seller into the twentieth century.P. Maloney, Scotland and the Music Hall, 1850–1914 (Manchester: Manchester University Press, 2003), , p. 197. Sankey made the harmonium so popular that working-class mission congregations pleaded for the introduction of accompanied music.T. M. Devine, The Scottish Nation: A Modern History (London: Penguin, 2012), .

Traditional music

In the late eighteenth century and early nineteenth century there was and an attempt to produce a corpus of Scottish national song, involving Robert Burns (1759–96) building on the work of antiquarians and musicologists such as William Tytler (1711–92), James Beattie (1735–1803) and Joseph Ritson (1752–1803).H. Matherson, "Robert Burns and national song", in D. Duff and C. Jones, eds, Scotland, Ireland, and the Romantic Aesthetic (Associated University Presse, 2007), , p. 77. Working with music engraver and seller James Johnson, Burns contributed about a third of the eventual songs of the collection known as The Scots Musical Museum, issued between 1787 and 1803 in six volumes.D. A. Low, ed., The Songs of Robert Burns (London: Routledge, 1993), , p. 1054. Burns collaborated with George Thomson (1757–1851) in A Select Collection of Original Scottish Airs, published from 1793 to 1818, which adapted Scottish folk songs with "classical" arrangements. Thompson was inspired by hearing Scottish songs sung by visiting Italian castrati at the St Cecilia Concerts in Edinburgh. He collected Scottish songs and commissioned musical arrangements from the best European composers, who included Joseph Haydn (1732–1809) and Ludwig van Beethoven (1770–1827). Burns was employed in editing the lyrics. A Select Collection of Original Scottish Airs was published in five volumes between 1799 and 1818. It helped make Scottish songs part of the European cannon of classical music,D. A. Low, ed., The Songs of Robert Burns (London: Routledge, 1993), , pp. 16–18. while Thompson's work brought elements of Romanticism, such as harmonies based on those of Beethoven, into Scottish classical music.M. Gardiner, Modern Scottish Culture (Edinburgh: Edinburgh University Press, 2005), , pp. 195–6. Also involved in the collection and publication of Scottish songs was Walter Scott (1771–1832), whose first literary effort was Minstrelsy of the Scottish Border, published in three volumes (1802–03). This collection first drew the attention of an international audience to his work, and some of his lyrics were set to music by Franz Peter Schubert (1797–1828), who also created a setting of Ossian.A. E. Hull, Music; Classical, Romantic & Modern (Ayer Publishing, 1927), , p. 99.

The bothy ballads, which dealt with the lives of agricultural workers, who lived in bothies or farm buildings, were mainly written in the period 1820–60 and then adapted and altered along with working life in the later part of the century. Evidence of continued activity in traditional music includes the manuscripts of James Simpson (f. 1820–30), a Dundee flautist, whose music incorporated reels and strathspeys with waltzes and quadrilles.G. Morton, Ourselves and Others: Scotland 1832–1914 (Edinburgh: Edinburgh University Press, 2012), , p. 195K. E. McAuly, Research Chronicle, Volumes 37–38 (2004), pp. 99–100. The tradition continued with figures including James Scott Skinner (1843–1927), known as the "Strathspey King", who played the fiddle in venues ranging from the local functions in his native Banchory, to urban centres of the south and at Balmoral.J. R. Baxter, "Music, Highland", in M. Lynch, ed., The Oxford Companion to Scottish History (Oxford: Oxford University Press, 2001), , pp. 434–5.

From the late nineteenth century there was renewed interest in traditional music, which was more academic and political in intent. Harvard professor Francis James Child's (1825–96) eight-volume collection The English and Scottish Popular Ballads (1882–92) has been the most influential on defining the repertoire of subsequent performers and the English music teacher Cecil Sharp was probably the most important in understanding of the nature of folk song.B. Sweers, Electric Folk: The Changing Face of English Traditional Music (Oxford: Oxford University Press, 2005), , pp. 31–8. In Scotland collectors included the Reverend James Duncan (1848–1917) and Gavin Greig (1856–1914), who collected over 1,000 songs, mainly from Aberdeenshire.K. Mathieson, Celtic Music (Backbeat Books, 2001), , p. 55. In the late nineteenth century the revival would begin to have a major impact on classical music, with the development of what was in effect a national school of orchestral and operatic music in Scotland.M. Gardiner, Modern Scottish Culture (Edinburgh: Edinburgh University Press, 2005), , pp. 195–6.

Classical music

The tradition of European concert music in Scotland, which had been established in the eighteenth century faltered towards the end of the century. The Edinburgh Musical Society gave its last concert in 1798 and was wound up in 1801, with its concert hall sold off to become a Baptist church.J. R. Baxter, "Culture, Enlightenment (1660–1843): music", in M. Lynch, ed., The Oxford Companion to Scottish History (Oxford: Oxford University Press, 2001), , pp. 140–1.