Gotham City’s location has never been set in DC canon. While its look and atmosphere was primarily influenced by New York City, it is traditionally depicted as being located in New Jersey.