It is set in New York City. The movie is based on the life of mafioso Henry Hill (1943-2012) from 1955 - 1980. "Goodfellas" uses information from New York crime reporter Nicholas Pileggi's book "Wiseguy". Scorsese and Pileggi worked together to write the movie.