 Richard was educated at Trinity College, Dublin University, where he graduated B.A.in 1847, taking honours in mathematics and physics; in 1848 he won the senior mathematical prize founded by John Law.On 5 May 1848 Walsh was admitted to Lincoln's Inn, but did not pursue the study of law.