Magrady was elected as a Republican to the Sixty-ninth and to the three succeeding Congresses. He was an unsuccessful candidate for renomination in 1932. He resumed the practice of law, and died in Danville, Pennsylvania. Interment in Mount Carmel Cemetery, Mount Carmel, Pennsylvania.
He died in 1954, at the age of 90 years, and was buried at Mount Carmel Cemetery.