Barnstable on Cape Cod in Massachusetts and the county seat of Barnstable County. At the 2020 census it had a population of 48,916. The town contains several villages within its boundaries. Its largest village, Hyannis, is the central business district of the county and home to Barnstable Municipal Airport, the airline hub of Cape Cod and the islands of Martha's Vineyard and Nantucket.