He was elected as Irish Parliamentary Party MP for Dublin St Patrick's at the 1885 general election, taking his seat in the House of Commons of the United Kingdom of Great Britain and Ireland.
When the Irish Parliamentary Party split in 1890 over Charles Stewart Parnell's leadership, Murphy sided with the majority Anti-Parnellites.