Goldsboro is a town in Caroline County, Maryland, United States. As of the 2020 census, Goldsboro had a population of 211. The zip code is 21636. First known as Oldtown, it was renamed in 1870 for the prominent Goldsborough family who owned land in the area. Castle Hall was listed on the National Register of Historic Places in 1975.