A group of living toys are preparing to move into a new house with their owner Andy Davis, his sister Molly and their single mother. The toys become uneasy when Andy has his birthday party a week early. Sheriff Woody (James McAvoy), Andy's favorite toy and their leader, sends Sarge and his green army men to spy on the gift opening with a baby monitor. The other toys (which include Mr. Potato Head, Slinky Dog, Rex the tyrannosaur, Hamm the piggy bank, and Bo Peep the porcelain doll) are relieved when Andy receives nothing that could replace them. Andy then receives a last-minute surprise gift – a Buzz Lightyear (Tom Holland) action figure who believes he is an actual Space Ranger. Buzz impresses the other toys with his various features and becomes Andy's new favorite toy, making Woody jealous.