Nicodemus Dyzma is a small-town man who comes to the Polish capital from the Eastern provinces (known as "Kresy") in search of work. While walking the streets of Warsaw, he finds a lost invitation to a party reception. Hoping for a free meal, he decides to use it because he owns a tuxedo. At the reception, he befriends a member of parliament and wins the hearts of guests with his attitude. He is introduced to a wealthy landowner by the name of Kunicki, a former con artist, who is so impressed by Dyzma that he offers him a job as superintendent of his country estate.
At the estate, Dyzma meets Kunicki's wife, Nina, who quickly falls in love with him, but earns the distaste of Kunicki's daughter, Kasia, a lesbian who had been carrying on an affair with Nina. Soon Dyzma takes control of all affairs of the estate and starts to climb the social and political ladder. He is offered a series of prestigious appointments; however, he is forced to hide his past from the prying eyes of his adversaries and the general public. His lack of knowledge about things that are expected of him are taken either as his humour or eccentricities, or by his underlings as attempts to test them. Dyzma's rise in status is not good for his morals, as eventually he commissions the murder of his former boss from the provinces who might have revealed the truth of Dyzma's background. Ultimately he marries Nina and decides to refuse a commendation to become prime minister for fear that his pretenses will be revealed.