Bedford is a borough in and the county seat of Bedford County in the U.S. state of Pennsylvania. It is located west of Harrisburg, the state capital, and east of Pittsburgh. Bedford's population was 2,841 at the 2010 census.