The 1879 Wellington mayoral by-election was part of the New Zealand local elections held that same year to decide who would take the office of Mayor of Wellington.
Background.
Mayor Joe Dransfield resigned in May 1879 owing to bankruptcy. A special meeting of the city council was called on the requisition of three councillors for the purpose of electing a councillor to fulfil the duties of mayor pending the election of a new mayor by the public. Council members elected councillor George Allen to do so. Councillor George Hunter stood against former mayor William Hutchison who was narrowly defeated by Dransfield in 1878.
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"
! colspan="3" style="text-align: right; margin-right: 0.5em" | Majority
 
! colspan="3" style="text-align: right; margin-right: 0.5em" scope=row | Turnout
Notes.
 ;templatestyles src="Reflist/styles.css" / ;