Pip goes to London and becomes friends with Herbert Pockets. Pip is educated and starts to become a gentlemen. Miss Havisham asks Pip to come for a visit; he sees Estella again and he is still in love with her. Pip comes of age at 21 years old, and receives his fortune of £500 a year.
One evening, Pip has a stranger come to visit him. The man reveals his true identity, Abel Magwitch, and that he is Pips benefactor. But this time, Miss Havisham's past is revealed, and Pip is ashamed that his money came from a criminal. Magwitch stays at Pips house. Pip confronts Miss Havisham for deceiving him and learns that Estella is to marry Drummle.
Pip is in debt and falls ill. When he awakes, he learns that Joe has paid off all his debt. Pip apologises to Joe and Biddy (who just got married) and thanks Joe for nursing him back to health. Pip goes to work with Herbert in the East.
In the very last scene, Pip returns to Satis House after Miss Havishams death, and he encounters Estella. It is left ambiguous as to whether or not they end up together, but they are friends and leave the house holding hands.