Full story
Henry Turner is 12 when he rows out, sinks to the sea floor and climbs aboard the Flying Dutchman to see his father. Will, covered in barnacles, is bound to the ship by the curse. Henry tells him the Trident of Poseidon can break any curse of the sea. Will tells him to forget it. Henry decides to find Jack Sparrow and the Trident. Nine years later, Henry is a sailor on a British ship that sails into the Devil's Triangle. Out comes the Silent Mary, a ghost ship led by Captain Armando Salazar, a Spanish pirate hunter who is undead like his whole crew. They kill everyone on board except Henry, who is left alive to carry a message to Jack: Salazar wants revenge. Years ago, a very young Jack lured Salazar into the Triangle, which killed him and cursed his men.
In Saint Martin, Jack is broke and out of luck. His gang tries to rob a bank vault and ends up dragging the whole building through town. His crew walks out on him. Meanwhile, the astronomer Carina Smyth, condemned as a witch, breaks out of jail. She has the diary of the father she never knew, with the clue to the Trident written in the stars. With no money, Jack trades his compass for a bottle of rum. By betraying the compass, he sets Salazar free from the Triangle.
Henry, Carina and Jack team up after escaping the guillotine and the gallows together. They flee on a small ship, the Dying Gull. Salazar is wrecking the fleet of Barbossa, now a rich and powerful pirate. The sea witch Shansa gives Barbossa Jack's compass, and he cuts a deal with Salazar to hand Jack over. Barbossa ends up siding with Jack, frees the Black Pearl from its bottle and takes command. On the voyage, Jack and Barbossa realize Carina is the daughter Barbossa left behind as a baby.
The Silent Mary and the Pearl run aground on the Trident's island. Carina reads the stars, and the sea parts to reveal the Trident on the ocean floor. Salazar possesses Henry and grabs the Trident, but Henry regains control and destroys it. Every curse of the sea breaks, and Salazar's men become mortal again. The sea starts closing in, and the Pearl drops its anchor to pull the group out. Salazar climbs after them. Carina sees a tattoo on Barbossa's arm that matches her diary's cover and recognizes him. Barbossa calls her his treasure, lets go and falls with Salazar into the sea, killing them both.
Carina takes the name Barbossa. In Port Royal she and Henry kiss, and Will, free at last, goes back to Elizabeth. Jack reclaims the Pearl and adopts Barbossa's monkey. After the credits, the shadow of a claw creeps into Will and Elizabeth's bedroom. Will wakes up, sees nothing and goes back to sleep. Barnacles are left on the floor.
