The film begins with a getaway driver waiting for his crew in a Miami bank. Following a brief car chase, the driver reveals himself as Special Agent Castillo (Michael Peña) of the FBI. He then arrests the criminal crew who killed his former partner. During the arrest, Castillo fires his service weapon through his partner's, Special Agent Clay Allen's (Adam Brody), shoulder. He then proceeded to show a naked photo of the criminal's wife to prove Castillo's affair with her. Meanwhile, at the training center for the California Highway Patrol, Jon Baker (Dax Shepard) is a trainee who is awaiting his final exam to graduate. Failing a series of simple tests, he is placed at the desk of CHP Sergeant Gail Hernandez (Maya Rudolph) for a final interview and decision. Hernandez acknowledges his ability to "ride" a motorcycle better than the majority of the cadets she trained. She grants him probationary approval to graduate pending a performance review based on Citations, Arrests and Good overall evaluations from Superiors..