Partly in response to John's death, Kipling joined Sir Fabian Ware's Imperial War Graves Commission (now the Commonwealth War Graves Commission), the group responsible for the garden-like British war graves that can be found to this day dotted along the former Western Front and all the other locations around the world where troops of the British Empire lie buried. His most significant contribution to the project was his selection of the biblical phrase "Their Name Liveth For Evermore" (Ecclesiasticus 44.14, KJV) found on the Stones of Remembrance in larger war cemeteries and his suggestion of the phrase "Known unto God" for the gravestones of unidentified servicemen. He chose the inscription "The Glorious Dead" on the Cenotaph, Whitehall, London. He also wrote a two-volume history of the Irish Guards, his son's regiment, that was published in 1923 and is considered to be one of the finest examples of regimental history.
Kipling's moving short story, "The Gardener", depicts visits to the war cemeteries, and the poem "The King's Pilgrimage" (1922) depicts a journey which King George V made, touring the cemeteries and memorials under construction by the Imperial War Graves Commission. With the increasing popularity of the automobile, Kipling became a motoring correspondent for the British press, and wrote enthusiastically of his trips around England and abroad, even though he was usually driven by a chauffeur.
After the war, Kipling was skeptical about the Fourteen Points and the League of Nations, but he had great hopes that the United States would abandon isolationism and that the post-war world would be dominated by an Anglo-French-American alliance. Kipling hoped that the United States would take on a League of Nations mandate for Armenia as the best way of preventing isolationism, and hoped that Theodore Roosevelt, whom Kipling admired, would once again become president. Kipling was saddened by Roosevelt's death in 1919, believing that his friend was the only American politician capable of keeping the United States in the "game" of world politics.
In 1920 Kipling co-founded the Liberty League with Haggard and Lord Sydenham. This short-lived enterprise focused on promoting classic liberal ideals as a response to the rising power of Communist tendencies within Great Britain, or, as Kipling put it, "to combat the advance of Bolshevism". In 1922 Kipling, who had made reference to the work of engineers in some of his poems, such as "The Sons of Martha", "Sappers", and "McAndrew's Hymn", and in other writings such as short story anthologies, for instance The Day's Work, was asked by University of Toronto civil engineering professor Herbert E. T. Haultain for his assistance in developing a dignified obligation and ceremony for graduating engineering students. Kipling was enthusiastic in his response and shortly produced both, formally entitled "The Ritual of the Calling of an Engineer". Today, engineering graduates all across Canada are presented with an iron ring at the ceremony as a reminder of their obligation to society. In 1922 Kipling also became Lord Rector of St Andrews University in Scotland, a three-year position. Kipling, who was a francophile, argued very strongly for an Anglo-French alliance to uphold the peace, calling Britain and France in 1920 the "twin fortresses of European civilization". Along the same lines, Kipling repeatedly warned against revising the Treaty of Versailles in Germany's favor, which he predicated would lead to a new world war. An admirer of Raymond Poincaré, Kipling was one of the few British intellectuals who supported the French Occupation of the Ruhr in 1923 at a time when the British government and most public opinion was against the French position. In contrast to the popular British view of Poincaré as a cruel bully intent on impoverishing Germany by seeking unreasonable reparations, Kipling argued that Poincaré was only rightfully trying to preserve France as a great power in the face of an unfavorable situation. Kipling argued that even before 1914 Germany's larger economy and birthrate had made that country stronger than France, that with much of France devastated by the war and the French suffering heavy losses that the low French birthrate would have trouble replacing while Germany was mostly undamaged and with a higher birth rate, that it was madness for Britain to seek to pressure France to revise Versailles in Germany's favor. In 1924, Kipling was opposed to the Labour government of Ramsay MacDonald as "Bolshevism without bullets", but believing that Labour was a Communist front organisation he took the view that "excited orders and instructions from Moscow" would expose Labour as such an organisation to the British people. Kipling's views were on the right and though he admired Benito Mussolini to a certain extent for a time in the 1920s, Kipling was against fascism, writing that Oswald Mosley was "a bounder and an arriviste"; by 1935 he called Mussolini a deranged and dangerous egomaniac and in 1933 wrote "The Hitlerites are out for blood".
Once the Nazis came to power and usurped the swastika, until that point a popular symbol of luck and success in the Western world, Kipling ordered that it should no longer adorn his books. In 1934 he published a short story in Strand Magazine, "Proofs of Holy Writ", which postulated that William Shakespeare had helped to polish the prose of the King James Bible. Less than one year before his death Kipling gave a speech (titled "An Undefended Island") to The Royal Society of St George on 6 May 1935 warning of the danger which Nazi Germany posed to Britain.