Orleans, Massachusetts is located on Cape Cod, has a population of 6,341 and a total area of 21.1 square miles. Orleans is part of the Cape Cod National Seashore. The town is part of Barnstable County. The Orleans District Court is located at 237 Rock Harbor Road and serves the following municipalities: