In 1989, scientist Hank Pym resigns from S.H.I.E.L.D. after discovering their attempt to replicate his Ant-Man shrinking technology. Believing the technology is dangerous, Pym vows to hide it as long as he lives.
In the present day, Pym’s estranged daughter, Hope van Dyne, and former protégé, Darren Cross, have forced him out of his company, Pym Technologies. Cross is close to perfecting a shrinking suit of his own, the Yellowjacket, which horrifies Pym.
Upon his release from prison, well-meaning thief Scott Lang moves in with his old cellmate, Luis. Lang visits his daughter Cassie unannounced and is rebuked by his former wife Maggie and her police-detective fiancé, Paxton, for not providing child support. Unable to hold a job because of his criminal record, Lang agrees to join Luis’ crew and commit a burglary. Lang breaks into a house and cracks its safe, but only finds what he believes to be an old motorcycle suit, which he takes home. After trying the suit on, Lang accidentally shrinks himself to the size of an insect. Terrified by the experience, he returns the suit to the house, but is arrested on the way out. Pym, the homeowner, visits Lang in jail and smuggles the suit into his cell to help him break out.
Pym, who manipulated Lang through an unknowing Luis into stealing the suit as a test, wants Lang to become the new Ant-Man to steal the Yellowjacket from Cross. Having been spying on Cross after discovering his intentions, van Dyne helps Pym train Lang to fight and to control ants. While van Dyne harbors resentment towards Pym about her mother Janet’s death, he reveals that Janet, known as the Wasp, disappeared into a subatomic quantum realm while disabling a Soviet nuclear missile. Pym warns Lang that he could suffer a similar fate if he overrides his suit’s regulator. They send him to steal a device that will aid their heist from the Avengers’ headquarters, where he briefly fights Sam Wilson.
Cross perfects the Yellowjacket and hosts an unveiling ceremony at Pym Technologies’ headquarters. Lang, along with his crew and a swarm of flying ants, infiltrates the building during the event, sabotages the company’s servers, and plants explosives. When he attempts to steal the Yellowjacket, he, along with Pym and Hope, are captured by Cross, who intends to sell both the Yellowjacket and Ant-Man suits to Hydra. Lang breaks free and he and Hope dispatch most of the Hydra agents, though one flees with a vial of Cross’ particles and Pym is shot. Lang pursues Cross, while the explosives detonate, imploding the building as Pym and van Dyne escape.