Billy McMahon (Vaughn) and Nick Campbell (Wilson) seek employment after being laid off from their positions as watch salesmen when their employer goes out of business. Billy then applies for an internship at Google for the two of them, and they are accepted due to their unorthodox interview answers, despite a lack of relevant experience; they are the only interns not of traditional collegiate age. They will spend the summer competing in teams against other interns, also known as "Nooglers", in a variety of tasks, and only the members of the winning team will be guaranteed jobs with Google. Billy and Nick are teamed with other interns seen as rejects: Stuart, who is usually engrossed in his smart phone; Yo-Yo, a Filipino-American boy who was homeschooled by a stereotypical overbearing Asian mother; and Neha, an Indian-American girl who is an enthusiast of nerd-related kink. The team is led by Lyle, who constantly tries to act hip in order to hide his insecurities. Another intern, Graham, aggressively bullies Billy and Nick's team. Mr. Chetty, the head of the internship program, also expresses his doubts about the older men's abilities. Stuart, Yo-Yo, and Neha see Billy and Nick as useless during a task focused on debugging, and send them on a wild goose chase to find the fictional character, Professor X. But later, during a game of Muggle Quidditch against Graham's team, Billy rallies his team to a comeback that unifies them as a team despite ultimately losing.
When the teams are tasked with developing an app, Billy and Nick convince the team to indulge in a wild night out. At a strip club in San Francisco's Chinatown District, Neha admits to Billy that, despite her rich fantasy life, she has no real-world experience and is nervous; with his support, she decides to stay. Nick gets Yo-Yo to break out of his shell by drinking and receiving lap dances. And, encouraged by Billy, Lyle approaches one of the dancers, Marielena, who is also a dance instructor at Google on whom he had developed a crush. She is charmed by him, but another customer challenges Lyle for her attention and a fight breaks out; the team is ejected from the club. Before sunrise that same night, overlooking the Golden Gate Bridge, Stuart learns to appreciate his surroundings, and Lyle's drunken antics inspire the team to create an app that guards against reckless phone usage while drunk; they win the task by earning the most downloads.
Meanwhile, Nick has been flirting with an executive, Dana, with little success. When he begins attending technical presentations to impress her, he develops an interest in the material. While the teams prepare to staff the technical support hotline, only Billy feels at a loss. A Google employee, "Headphones", who always wears headphones and never socializes, approaches Billy and tells him that the way he interacts with people is special. He tutors Billy on the technical information. Dana agrees to go on a date with Nick, and she invites him in at the end of the evening. During the task, Billy is comfortable with the material, but his team receives no score because he failed to properly log his calls for review. Dejected, Billy leaves Google to pursue a new sales opportunity with his former boss. The final task is announced as a sales challenge; teams must sign the largest possible company to begin advertising with Google. The team is stunned when Nick tells them that Billy has left, and they declare that they do not want to do the task without him. Nick convinces Billy to return, and Billy leads the team to show a local pizzeria owner how Google can help him interact with potential customers and thereby expand his business, whilst remaining true to his professional values.
Back at Google headquarters, Chetty is about to award the opposing team, given Lyle's team's non-attendance. When suddenly the screen behind him lights up - Lyle's team dancing with giant afros to Irene Cara's Flashdance... What a Feeling, whilst Billy throws pizza at everyone. Chetty recognizes that although the pizzeria is not a large business, its potential is limitless because it has embraced technology. Graham protests and is dressed down by Headphones, who turns out to be the head of Google Search. Nick, Billy, Lyle, Stuart, Yo-Yo, and Neha are declared the winners and will receive jobs at Google, which the latter three will start after their senior years in college. A furious Graham berates his team for failing to contribute, but Zach, the obese member of the team, has had enough of his bulling and stands up to him by giving Graham a blow to the chest. As the students depart, Nick and Dana are still seeing each other, as are Lyle and Marielena. Stuart and Neha have formed a romantic connection, as well. And Yo-Yo asserts himself to his mother (supported wholeheartedly by his father).