Change is in the air in Season 4 as the Pied Piper guys pursue their video-chat app, PiperChat, but Richard has a hard time letting go of his dream to put his algorithm to better use, leaving the team struggling with how they fit into the picture. Meanwhile, Monica deals with new competition in the office, and Gavin faces big changes at Hooli and beyond.

10 episodes

S4E1Success Failure
29 min★ 7.8
In the wake of Pied Piper’s clickfarm scandal, the guys struggle to find funding for Pied Piper’s video-chat app to keep up with their rapidly growing user base. Erlich faces resistance from Big Head’s dad, while Gavin balks after Jack steps on his toes at Hooli. Having a hard time adjusting to his company’s pivot, Richard gets sage advice from an unexpected source, leading him to a big idea that could change his future.
Directed by Mike JudgeWritten by Alec Berg
Guests: Patrick O'Connor (Mr. Bighetti), Chris Williams (Hoover), Amberia Allen (Carol), Tim Chiou (Ed Chen), Caitlin Gallogly (Kim), Scott Prendergast (Scott)

S4E2Terms of Service
29 min★ 8.2
Richard butts heads with Dinesh, whose new position goes to his head. Richard discovers interesting data about PiperChat’s users. Erlich makes a play to be involved in Jian-Yang’s new app. Jared sets ground rules in his friendship with Richard. Gavin’s paranoia over Jack’s enthusiasm causes him to make a rash decision.
Directed by Mike JudgeWritten by Clay Tarver
Guests: Chris Williams (Hoover), Bernard White (Denpok Singh), Cornelius Peter (Thom), Matt McCoy (Pete Monahan), Emily Chang (Emily Chang), Henry Phillips (John Stafford)

28 min★ 8.1
An overtired Richard pushes himself to the brink of sanity while trying to move ahead with his next big idea. Eyeing a comeback, Erlich pressures an uncooperative Jian-Yang. Monica sets a trap at Raviga to improve her standing with Laurie. Dinesh goes on a date. Big Head enters the world of academia. Gavin faces an unknown future.
Directed by Jamie BabbitWritten by Carrie Kemper
Guests: Chris Williams (Hoover), Andy Daly (Doctor), Tim Chiou (Ed Chen), Phoebe Neidhardt (Mia), Anna Khaja (Rachel), Ping Wu (Henry)

28 min★ 7.8
When Richard reaches out to an unlikely ally, Jared worries about the company he's keeping. Gilfoyle gets tough on security in the wake of Dinesh's latest dalliance; later, he considers whether to put his pride aside for a job. Concerned about Jian-Yang's commitment to his app, Erlich takes matters into his own hands.
Directed by Jamie BabbitWritten by Meghan Crumley
Guests: Demetri Belardinelli (Brett Saxby), Sunkrish Bala (Garrett), Vanessa Marano (Stanford Student), Chau Long (Stanford Student)

S4E5The Blood Boy
28 min★ 7.9
Cracks in Richard's latest partnership become more apparent when he's forced to deal with an unexpected interloper. Dinesh scrambles to find a way out of his new relationship as things get more serious. After learning of surprising developments afoot at Raviga, Monica has trouble deciding which horse to back.
Directed by Tim RocheWritten by Adam Countee
Guests: Tim Chiou (Ed Chen), Phoebe Neidhardt (Mia), Graham Rogers (Bryce), Vince Cefalu (Delivery Man), Jay Charan (Aarush Agrawal), Kristen Rozanski (FBI Agent)

S4E6Customer Service
28 min★ 7.9
On the hunt for financial support, Richard looks outside the tech bubble, and crosses paths with a contentious figure from Pied Piper's past. Erlich reaches out to Monica and Laurie in search of a new endeavor. A launch gone wrong finds Dinesh and Gilfoyle at war as Jared tries to keep the peace.
Directed by Clay TarverWritten by Shawn Boxe, Graham Wagner
Guests: Haley Joel Osment (Keenan Feldspar), Jake Broder (Dan Melcher), Leisha Hailey (Liz Tinsdale), Seril James (Jeff), Amir M. Korangy (George Mandechian), Robert Michael Lee (Dupondi Consulting Executive)

S4E7The Patent Troll
28 min★ 7.8
When Richard decides to stand up to a patent troll, his defiance ends up coming back to haunt him. Gilfoyle goes to desperate measures to battle Jian-Yang's new smart fridge. Jared embraces multiple identities in his quest to reduce costs. Erlich tries to hang with the alpha males.
Directed by Jamie BabbitWritten by Andrew Law
Guests: Andy Daly (Doctor), Joseph Bayard (Gus), Edwin H. Bravo (Oracle Security), Tim Chiou (Ed Chen), Irene Choi, Joe Gillette (Darren)

28 min★ 7.7
An unexpected increase in data traffic leads Richard to turn to Erlich for help in garnering a deal with Keenan Feldspar, Silicon Valley's latest “it” boy--but when Keenan makes a too-good-to-resist offer, Richard must weigh Pied Piper's future against a potential mutiny. Jack faces setbacks while preparing for Hooli-Con.
Directed by Jamie BabbitWritten by Graham Wagner, Rachele Lynn
Guests: Haley Joel Osment (Keenan Feldspar), Jake Broder (Dan Melcher), Chris Williams (Hoover), Amberia Allen (Carol), Scott Prendergast (Scott), Rogelio T. Ramos (Executive)

S4E9Hooli-Con
29 min★ 7.6
While Erlich goes on a trip to get his mojo back, the Pied Piper guys take to Hooli-Con to pull off a stealth operation. There, an ethically challenged Jared tries to keep himself in the dark, Gilfoyle and Dinesh get distracted by Keenan and Richard's obsession with an ex's new beau leads him to put their whole plan in jeopardy.
Directed by Mike JudgeWritten by Chris Provenzano
Guests: Haley Joel Osment (Keenan Feldspar), Chris Williams (Hoover), Flula Borg (Joel), Bridey Elliott (Winnie), C.S. Lee (Monk), Phoebe Neidhardt (Mia)

S4E10Server Error
28 min★ 7.9
Richard finds himself in a web of lies. Jared plans his exit. Jack bets big. Gavin plots a comeback.
Directed by Mike JudgeWritten by Dan O'Keefe
Guests: Jake Broder (Dan Melcher), Leisha Hailey (Liz Tinsdale), C.S. Lee (Monk), Angela Ai (Interpreter), James Christopher Armas (Mariachi Band), Benny Briseño (Patron)