McMahon was first elected to Dáil Éireann at a by-election in 1970 in the Dublin County South constituency, following the resignation of Fianna Fáil TD Kevin Boland.
McMahon was first elected to Dáil Éireann in 1970, replacing Kevin Boland of Fianna Fáil after his resignation.