Derry is a borough in Westmoreland County in Pennsylvania, 45 miles east of Pittsburgh. The Borough of Derry, consisting of the town area, should not be confused with Derry Township, which is a separate municipality surrounding the borough. The population was 2,637 at the 2020 census.