St Kilda was continuously inhabited for two millennia or more, from the Bronze Age to the 20th century.

However, little is known of the early history, the first written record of which dates from the late 14th century when John of Fordun mentions 'the isle of Irte, which is agreed to be under the Circius and on the margins of the world'. The islands were historically part of the domain of the MacLeods of Harris whose steward was responsible for the collection of rents in kind and other duties. The first report of a visit to the islands dates from 1549 when Donald Munro suggested that:

History of St Kilda

The inhabitants thereof ar simple poor people, scarce learnit in aney religion, but M’Cloyd of Herray, his stewart, or he quhom he deputs in sic office, sailes anes in the zear ther at midsummer, with some chaplaine to baptise bairnes ther.

History of St Kilda

The chaplain's best efforts notwithstanding, the islanders' isolation and dependence on the bounty of the natural world meant their philosophy bore as much relationship to Druidism as it did to Christianity until the arrival of Rev John MacDonald in 1822. For example, Macauley (1764) reports the existence of five druidic altars including a large circle of stones fixed perpendicularly in the ground, by the Stallir House on Boreray.

History of St Kilda

At the time of Martin's visit in 1697 the population was 180 and the steward:

elected the most "meagre" among his friends in the neighbouring islands, to that number and took them periodically to St. Kilda to enjoy the nourishing and plentiful, if primitive, fare of the island, and so be restored to their wonted health and strength.

Religion and tourism in the 18th and 19th centuries

However, visiting ships in the 18th century brought cholera and smallpox and in 1727 the loss of life was so high that there were not enough men to man the boats and new families were brought in from Harris to replace them. By 1758 the population had risen to 88 and reached just under 100 by the end of the century. This figure remained fairly constant from the 18th century on until 1851 when 36 islanders emigrated to Australia on board the Priscilla, a loss from which the island never fully recovered.

One factor in the decline was the influence of religion. A missionary called Alexander Buchan came to St Kilda in 1705, but despite a lengthy stay there the idea of organised religion did not seem to take hold. This changed when Rev John MacDonald, the 'Apostle of the North' arrived in 1822. He set about his mission with zeal, preaching thirteen lengthy sermons during his first eleven days there. He returned regularly and fund-raised on behalf of the St Kildans, although privately he was appalled by their lack of religious knowledge. The islanders took to him with enthusiasm and wept when he left for the last time eight years later. His successor, who arrived on 3 July 1830 was Rev Neil Mackenzie, a resident Church of Scotland minister who greatly improved the conditions of the inhabitants. He re-organised island agriculture, was instrumental in the rebuilding of the village (see below) and supervised the building of a new church and manse. With help from the Gaelic School Society, MacKenzie and his wife introduced formal education to Hirta, beginning a daily school to teach reading, writing and arithmetic and a Sunday school for religious education.

Mackenzie left in 1844 and although he had clearly achieved a great deal, the weakness of the St Kildan's dependence on an external authority was exposed in 1865 with the arrival of Rev John Mackay, a minister in the new Free Church of Scotland. Mackay was a religious zealot who may have done more than any single individual to destroy the St Kildan way of life. He introduced a routine of three two to three-hour services on Sunday at which attendance was effectively compulsory. One visitor noted in 1875 that:

The Sabbath was a day of intolerable gloom. At the clink of the bell the whole flock hurry to Church with sorrowful looks and eyes bent upon the ground. It is considered sinful to look to the right or to the left.

The excessive time spent in religious gatherings began to interfere seriously with the practical routines of running the island. Old ladies and children who made a noise in church were lectured at length and warned of the dire punishments they could expect in the afterworld. During a period of food shortages on the island a relief vessel arrived on a Saturday only to be informed by the minister that the islanders had to spend the day preparing for church on the Sabbath and it was Monday before any supplies were landed. Children were forbidden to play games and required to carry a bible wherever they went. The St Kildans endured Mackay for twenty four years.