From Emmy Award-winning writer/producers Dan Goor and Michael Schur ("Parks and Recreation"), and starring Emmy Award winners Andy Samberg ("Saturday Night Live") and Andre Braugher ("Men of a Certain Age," "Homicide: Life on the Street"), BROOKLYN NINE-NINE is a new single-camera ensemble comedy about what happens when a talented, but carefree, detective gets a new captain with a lot to prove.
Filmed at CBS Studio Center - 4024 Radford Avenue, Studio City, Los Angeles, California, USA.
There is no 99th precinct in the NYPD, but exterior shots of the show's fictional precinct are actually of the 78th precinct in Brooklyn, New York. 
Andy Samberg was the first actor cast in the series. Creators Dan Goor and Mike Schur, pitched the idea to him after he left Saturday Night Live. He participated in the casting process with the other actors, including improvised chemistry tests.
Chelsea Peretti auditioned for the role that would become Rosa. When she didn't get that part, a character was created specifically for her.  The creators had previously worked with Chelsea as a writer on Parks and Recreation.
Jake's favorite pizza place burns down and he is determined to prove the owner was not responsible. Meanwhile, Amy is jealous of Rosa's being offered a promotion, and Terry and Gina have to hire a new IT specialist.
Jake tries to keep Charles from going "full Boyle" on his new girlfriend. Meanwhile, Rosa and Amy are reluctant to help an amateur caped crime fighter, and Holt faces competition for the presidency of a police organization he founded.
Due to his crippling debt, Jake faces losing his apartment, and asks Gina for help. Rosa and Charles clash with one of the weekend officers, and Holt and Terry ask their officers to conduct self-evaluations.
Jake tries to convince Charles to stand up to Vivian before the wedding, Terry struggles to stick to a diet after Amy and Gina give up, and Holt tries to get Rosa to make a sincere apology to an officer she offended.
Jake and Terry try to solve an apparently unsolvable case, Amy lies to Holt in order to dodge work and escape for a romantic weekend away, while Gina and Rosa introduce Charles to "Babylon", their secret bathroom.
Jake's latest investigation results in administrative leave, and, ultimately, his firing from the NYPD. Meanwhile, Charles goes into a funk after Vivian breaks up with him before their wedding, and the others try to cheer him up.