Mahaffey is a borough in Clearfield County, Pennsylvania, United States. The population was 329 at the 2020 census. The community is served by U.S. Route 219. The borough was founded by Robert Mahaffey in 1841, at a point where Chest Creek flows into the West Branch Susquehanna River.