Barbie's glitches (thoughts of death, flat feet, cellulite) turn out to be caused by Gloria, a Mattel employee whose sadness spilled into her drawings of the doll. It is not Sasha, as Barbie first assumes. In the real world, Sasha brutally rejects Barbie, and Mattel's CEO tries to box her back up.
Meanwhile, Ken discovers patriarchy, goes back to Barbie Land and turns it into the Kendom, with the Barbies brainwashed into subservient roles. Gloria's monologue about women's impossible contradictions 'deprograms' the Barbies one by one. They then trick the Kens into fighting each other and win back the constitution vote.
Barbie and Ken finally talk honestly. Barbie tells him he needs to find out who he is without her, and he accepts being 'Kenough.' Gloria pitches an 'Ordinary Barbie.'
Barbie, still unsure where she belongs, meets Ruth Handler again. Ruth explains that she created Barbie to be an idea that never ends, and then lets her become human. In the last scene, Barbie, now living as 'Barbara Handler,' arrives at an appointment and says she is there to see her gynecologist. The punchline shows that she has taken on a real woman's body and life, with all its ordinary realities.