The story opens with Lionel Mortimer, an impoverished gentleman of good education living in humble London lodgings, whose optimism remains unshaken despite unpaid rent and an unsympathetic landlady. While idling in the Strand, his daydream of playing the hero suddenly materializes when he stops a runaway carriage and rescues a mysterious, poised young woman named Beatrice Blair. This fortuitous event launches Lionel into an elaborate chain of romantic and political entanglements, far beyond the monotony of his previous existence. Beatrice takes him into her confidence, revealing a melodramatic and seemingly improbable past involving Rumanian gipsies, an enforced marriage in Constantinople to a wealthy Turkish officer named Lukos, and a secret political treaty that she must protect at all peril.
As their association deepens through secret meetings and visits to a theater where Beatrice unexpectedly stars, Lionel finds himself torn between his code of honor and a growing romantic attachment to a married woman. The plot thickens with the defection of Beatrice's maid, Mizzi, who steals the vital document and flees into the country. Lionel is dispatched to Shereling to recover the treaty and track down the fugitive maid.
There, he encounters new complexities, including Winifred Arkwright, Beatrice's identical twin sister who holds a strong prejudice against the stage, and the mysterious Turkish ambassador himself, operating under the alias Beckett. Amidst rural peace and clandestine watchings, Lionel's resolve is continually tested by the shifting boundaries between reality and theatrical illusion. Ultimately, the narrative weaves together multiple storylines involving an eccentric cast of characters, leading toward a convergence of romance, high politics, and personal self-discovery.