On a cold night in London, patrons leaving the Royal Opera House are trying to find taxis. Eliza Doolittle, a Cockney flower girl, is knocked over by one of them: a young man called Freddy Eynsford-Hill. She admonishes him, becoming even more upset when she sees another man copying down her words. This is Henry Higgins, a distinguished professor of phonetics. Lamenting Eliza’s dreadful accent, he declares that in six months he could turn her into a lady simply by teaching her to speak properly. An older gentleman introduces himself as Colonel Pickering, a linguist who has long studied Indian dialects. As both men have always wanted to meet each other, Higgins invites Pickering to stay with him.
As they leave, the professor distractedly throws some spare change into Eliza’s flower basket. She and her Cockney friends wonder what it would be like to live a comfortable life.Eliza’s father, Alfred P. Doolittle, and his drinking companions Harry and Jamie, all dustmen, emerge from a nearby pub. Doolittle, as usual, is searching for money for another drink, and Eliza reluctantly gives him some.
At Higgins’s home the housekeeper, Mrs. Pearce, announces that a young woman has arrived. It is in fact Eliza, who wants Professor Higgins to teach her to speak properly so that she can obtain work in a florist’s shop. Pickering bets Higgins that he will not be able to make good his claim to transform Eliza and even volunteers to pay for Eliza’s lessons. An intensive makeover of Eliza’s speech, manners and dress begins.
Eliza’s father arrives at Higgins’s house the next morning, claiming that Higgins is compromising Eliza’s virtue. Higgins is impressed by the man’s natural gift for language and his brazen lack of moral values. He and Doolittle agree that Eliza can continue to take lessons and live at Higgins’s house if Higgins gives Doolittle five pounds for a drinking spree. While Eliza endures the long and difficult speech-tutoring, the servants lament the long hours that Higgins imposes on the entire household. Just as they are all about to give up, Higgins eloquently speaks of the glory of the English language and Eliza makes the long-awaited breakthrough.
For her first public tryout, Higgins takes Eliza to his mother’s box at Ascot Racecourse. Eliza initially impresses with her polite manners but then unintentionally shocks everyone when she excitedly reverts to Cockney during a horse race. But she has captured the heart of Freddy EynsfordHill, the young man who knocked her over outside the Royal Opera. Freddy calls on Eliza, but after the Ascot disaster she refuses to see anyone. He declares that he will wait for her as long as is necessary.
After further preparation Eliza is finally ready for an even more difficult test: the Embassy Ball. Higgins, his mother, and Colonel Pickering are all nervous as to how the evening will unfold, but Eliza passes the test brilliantly. Everyone at the ball is fascinated by her, including a Hungarian phonetician named Zoltan Karpathy. Higgins’s triumph is complete when the Queen of Transylvania not only notices Eliza but encourages her son, the Crown Prince, to dance with her.