A Jack Russell Terrier named Max lives with his owner Katie in a Manhattan apartment. While she is at work during the day, he hangs out with other pets in the building: tabby cat Chloe, pug Mel, dachshund Buddy, and budgerigar Sweet Pea. One day, Katie adopts Duke, a large mongrel from the pound, leaving Max jealous because of her divided focus on Duke. Enraged by Max's attitude towards him, Duke tries to abandon Max in an alley, but they are both attacked by cats led by Sphynx cat Ozone who removes both dogs' collars and leaves them to be caught by Animal Control. Duke fears that he will be killed if he goes back to the pound. When Gidget, a white Pomeranian who is (not so) secretly in love with Max, discovers that he is missing, she decides to find him.