St. James is a hamlet and census-designated place (CDP) in Suffolk County, New York, United States. The population of the CDP was 13,487 at the 2020 census. St. James is part of the Town of Smithtown and is located on the North Shore of Long Island. The ZIP code is 11780.