The 1871 Roslyn by-election was a by-election for the electorate of Roslyn in Dunedin on 12 September 1871 during the 5th New Zealand Parliament.
The by-election resulted from the resignation of the previous member Henry Driver on 15 August 1871.[1]
The by-election was won by Edward McGlashan. Five candidates contested the by-election.[2]