City of Dunedin, during the first two parliaments called Town of Dunedin, was a parliamentary electorate in Dunedin in Otago, New Zealand. It was one of the original electorates created in 1853 and existed, with two breaks, until 1905. The first break, from 1862 to 1866, was caused by an influx of people through the Otago gold rush, when many new electorates were formed in Otago. The second break occurred from 1881 to 1890. It was the only New Zealand electorate that was created as a single-member, two-member and three member electorate.