The story opens in the oppressive heat of India, where an editor meets two vagabond Englishmen, Daniel Dravot and Peachey Carnehan. Disillusioned with the rigid administration of the British Empire, the pair form a pact to travel beyond the perilous borders into Kafiristan, a remote region untouched by Western influence. Their goal is simple and audacious: to subvert the local tribes, train an army, and crown themselves kings.
Disguised as a mad priest and his servant, Dravot and Carnehan successfully cross the treacherous mountain passes, smuggling hidden rifles and ammunition. Upon reaching the isolated valleys, they quickly establish dominance by intervening in tribal conflicts and introducing disciplined military tactics. The superstitious locals, struck by their fairness and white appearance, mistake them for gods and descendants of Alexander the Great.
The enterprise rapidly expands from a localized conquest into an empire-building project. Dravot establishes a Masonic lodge to unify the tribal chiefs and high priests under a shared ritual, cementing his authority through clever manipulation of local traditions. As thousands of tribesmen are drilled and armed with modern weapons, Dravot envisions a vast dominion capable of altering the geopolitical balance of Central Asia.
However, the fragile illusion begins to fracture when Dravot insists on taking a native woman as his queen, defying warnings from Carnehan and violating the fundamental rules of their pact. During the wedding ceremony, the bride bites Dravot, drawing blood and shattering the myth of his divinity. The enraged population turns on the two self-proclaimed monarchs, realizing they are mere mortals.
Betrayed by the shifting loyalties of their allies, the empire collapses overnight under a hail of stones and gunfire. Dravot and Carnehan are hunted through the brutal mountain passes, culminating in a tragic execution across a dizzying rope bridge. Carnehan survives the ordeal through unspeakable torture, returning years later as a broken cripple carrying the final, haunting relic of their ruined kingdom.