New Zealand by-election
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.
The by-election was won by Edward McGlashan. Five candidates contested the by-election.
Results.
The following table gives the election results:
! scope="col" colspan="2" style="width: 130px"|Party
! scope="col" style="width: 17em"|Candidate
! scope="col" style="width: 5em"|Votes
! scope="col" style="width: 3.5em"|%
! scope="col" style="width: 3.5em"| ;templatestyles src="Template:Tooltip/styles.css" / ;±%
 |- class="vcard"
 |- class="vcard"
 |- class="vcard"
! colspan="3" style="text-align: right; margin-right: 0.5em" | Majority
! colspan="3" style="text-align: right; margin-right: 0.5em" scope=row | Turnout
References.
 ;templatestyles src="Reflist/styles.css" / ;