Westport, County Mayo
He was born in Westport, County Mayo, Ireland, the son of Peter O'Reilly, and came to Upper Canada in 1832 with his father. O'Reilly studied law with C. O. Benson in Belleville and later with John Willoughby Crawford.