Nora has already started changing by the time the play begins. She has been married to Torvald, and their union is not an equal one. Despite Nora's intelligence and passionate nature, he patronizes her and she plays along with the game because she initially takes pleasure in being like a little "doll" for him to play house with. However, deep down Nora craves responsibility and selfhood. She has taken out a loan with the help of Krogstad to save Torvald's life without his knowing about it. When circumstances lead to Torvald discovering the truth, he becomes furious and berates Nora.
This negative reaction is what causes Nora to change from the passive, submissive person she had forced herself to be while married to Torvald. She realizes she is expected to act like an overgrown child, completely reliant on her husband, and she leaves him so she can find herself, telling Torvald that "I’m no longer prepared to accept what people say and what’s written in books. I must think things out for myself, and try to find my own answer."
Torvald also undergoes a change in that his perception of the world falls apart. He believes women must rely on men and that their primary roles are as wives and mothers. He prides himself on being a model man: successful in business, dominant at home, and free from any kind of debt to anyone else. In his own way, he too is "performing": if Nora is pretending to be the perfect image of a Victorian wife, then Torvald is pretending to be the perfect image of a Victorian husband. However, his hyper-masculine image of himself turns out to be an illusion: Nora took out a loan behind his back so she could take him to a warmer climate when he was ill. This infuriates him, as it is a challenge to his control over Nora and it makes him dependent on another, but when Nora goes to leave him, Torvald begs her to stay, signaling a shift in power in their relationship.
While Torvald does oppose Nora's final liberation, he too undergoes a liberation and major character development. His last line where he wonders if "the most wonderful thing of all" could truly happen offers the audience a cautiously optimistic possibility: that Torvald and Nora might both be able to reunite one day as equals, both of them changed people.