The 1872 Murray colonial by-election was held on 24 September 1872 for the New South Wales Legislative Assembly electorate of Murray. The by-election was triggered by the resignation of the sitting member, Patrick Jennings, who had accepted an appointment to the Legislative Council.
The election was contested by two candidates: Robert Barbour, a pastoralist and future long-serving member for the district, and William Hay, a former member for the district (1864–1867) and later member for Murray (1872–1877, 1880–1882).
Robert Barbour was elected with a majority of 185 votes over William Hay. The official results were:
- Robert Barbour: 524 votes (59.2%)
- William Hay: 361 votes (40.8%)
Barbour held the seat until 1880, when he transferred to the new electorate of Deniliquin.