Stevenson has a contested reputation as a political radical. As the author of a succession of "rebellion novels" (concluding in 1893 with Catriona, the sequel to Kidnapped), Stevenson is said to have spent his "entire writing life" inciting against tyranny, empire and corruption. Stevenson recalled the college youth who authored the first of these novels, the Covenanter adventure Pentland Rising (1866), as a "red-hot socialist". Yet already by age 26, Stevenson was writing of looking back on his early political enthusiasms "with something like regret. ... Now I know that in thus turning Conservative with years, I am going through the normal cycle of change and travelling in the common orbit of men's opinions." His cousin and biographer Sir Graham Balfour claimed that Stevenson "probably throughout life would, if compelled to vote, have always supported the Conservative candidate". In the one election in which he is known to have participated, a student ballot for the Lord Rectorship of the University of Edinburgh, Stevenson did favour a Tory, the future prime minister Benjamin Disraeli, but it was in a contest against a notoriously illiberal challenger, the historian Thomas Carlyle.
There is a reading of Treasure Island (1883) and of Kidnapped (1886) that identifies Stevenson, not as a conservative, but as an individualist embracing what is "essentially a form of Social Darwinism". In each story, "an orphaned or fatherless boy of genteel stock" contends with a "lower-class rabble and vicious ruffians in a zero-sum, survival-of-the-strongest" battle to secure or recover wealth. This celebration of "self-reliant individualism" is said to be the "cornerstone" of a "right-wing ideology" further amplified in Stevenson's two most popular novels for adults, Dr. Jekyll and Mr. Hyde (1886) and The Wrong Box (1889). These are characterised as tales in which fallen individuals are destined to defy society in pursuit of their own ends, with selfishness lurking behind seeming acts of altruism that are often the cause greater misfortune.
Libertarians have laid claim to Stevenson, citing "The Day After Tomorrow", an essay which appeared in 1887 in The Contemporary Review. Following an unprecedented "burst of social legislation" during Disraeli's last term of office, Stevenson proposed that "we are all becoming Socialists without knowing it". Legislation "grows authoritative, grows philanthropical, bristles with new duties and new penalties, and casts a spawn of inspectors, who now begin, note-book in hand, to darken the face of England". The "new waggon-load of laws" points to a future in which our grandchildren might "taste the pleasures of existence in something far liker an ant-heap than any previous human polity". Sometimes omitted from references to the essay is the concession Stevenson makes to critics of the classic Whiggish notion of laissez faire. "Liberty", Stevenson wrote, "has served us a long while" but like all other virtues "she has taken wages".
[Liberty] has dutifully served Mammon; so that many things we were accustomed to admire as the benefits of freedom and common to all, were truly benefits of wealth, and took their value from our neighbour's poverty...Freedom to be desirable, involves kindness, wisdom, and all the virtues of the free; but the free man as we have seen him in action has been, as of yore, only the master of many helots; and the slaves are still ill-fed, ill-clad, ill-taught, ill-housed, insolently entreated, and driven to their mines and workshops by the lash of famine.
Although shaped by real events—the oceanic colonialism to which Stevenson was witness—The Ebb-Tide (1894) has been proposed as "paradigmatic" of "seasteading", the libertarian ideal of maritime independence. Attwater's secret island fishery, in particular, "anticipates core elements of the modern seasteading movement", which in the 21st century finds some favour among billionaire secessionists.
In 1883, Stevenson wrote privately of the chief propagandist and organiser of the Fenian dynamite campaign in England, Jeremiah O'Donovan Rossa: "If that is the new world ... damn, deracinate and destroy him, root and branch, self and company, world without end". This fury was a prelude to "The Dynamiter" (1885), one of a collection of linked stories (More New Arabian Nights: The Dynamiter), that Stevenson (confined at the time by a number of ailments to a bed in a darkened room) wrote in an acknowledged collaboration with his wife, Fanny. A satirical tale, it reduced the Fenian struggle against British rule in Ireland to a "'private and barbarous war' rinsed of any ideological motivation".
In January 1888, aged 37, in response to American press coverage of the Land War in Ireland, Stevenson submitted an essay to Scribner's Magazine, in which he argued the case for "staying internal violence by rigid law". Notwithstanding his title, "Confessions of a Unionist", Stevenson defends neither the union with Britain (she had "majestically demonstrated her incapacity to rule Ireland") nor "landlordism" (scarcely more defensible in Ireland than, as he had witnessed it, in the goldfields of California). Rather he protests the readiness to pass "lightly" over crimes—"unmanly murders and the harshest extremes of boycotting"—where these are deemed "political". This he argues is to "defeat law" (which is ever a "compromise") and to invite "anarchy": it is "the sentimentalist preparing the pathway for the brute".
Stevenson withdrew the essay before publication, and it did not appear in his lifetime. It was only in his last years, when witness to colonial encroachments in the South Seas, that he began to make direct political representations. In these, and in his remaining fiction, biographer Julia Reid finds that Stevenson resists confident assumptions about evolutionary social progress, so that he deploys Darwinian ideas, not to justify European colonial expansion, but to criticise its destructive effect.