the largest town in North Otago, in the South Island of New Zealand, is the main town of the Waitaki District. It is south of Timaru and north of Dunedin on the Pacific coast; State Highway 1 and the railway Main South Line connect it to both cities. With a population of ,

Friendly Bay is a popular recreational area on the edge of Oamaru Harbour, south of Oamaru's main centre. Just to the north of Oamaru is the substantial Alliance abattoir at Pukeuri, at a major junction with State Highway 83, the main route into the Waitaki Valley. This highway provides a link to Kurow, Omarama, Otematata and via the Lindis Pass to Queenstown and Wānaka. Oamaru serves as the eastern gateway to the Mackenzie Basin, via the Waitaki Valley.

Oamaru is built between the rolling hills of limestone and short stretch of flat land to the sea. The limestone rock is used for the construction of local "Oamaru stone", sometimes called "whitestone", buildings.

Oamaru enjoys a protected location in the shelter of Cape Wanbrow. The town was laid out in 1858 by Otago's provincial surveyor John Turnbull Thomson, who named the early streets after British rivers, particularly rivers in the northwest and southeast of the country.

The name Oamaru derives from the Māori and can be translated as 'the place of Maru' ( Timaru). The identity of Maru remains open to conjecture.

History

Māori settlement

There are some important archaeological sites around Oamaru. Those at the Waitaki River mouth and at Awamoa both date from the Archaic (moa-hunter) phase of Māori culture, when New Zealand's human population clustered along the south-east coast from about AD 1100. The Waitaki River mouth had at least 1,200 ovens. Awamoa saw the first archaeological excavation in New Zealand when W.B.D. Mantell dug there at Christmas 1847 and in 1852. Smaller Archaic sites exist at Cape Wanbrow and at Beach Road in central Oamaru. The distinctive Archaic art of the Waitaki Valley rock shelters dates from this period — some of it presumably made by the occupants of these sites. The area also features Classic and Protohistoric sites, from after about AD 1500, at Tamahaerewhenua, Tekorotuaheka, Te Punamaru, Papakaio, and Kakanui.

Māori tradition tells of the ancient people Kahui Tipua building a canoe, Āraiteuru, which sailed from southern New Zealand to the ancestral Polynesian homeland, Hawaiki, to obtain kūmara. On its return it became waterlogged off the Waitaki River mouth, lost food baskets at Moeraki beach and ended up wrecked at Matakaea (Shag Point) where it turned into Danger Reef. After the wreck a crew member, Pahihiwitahi, seeking water, discovered the Waitaki River, but on returning south and failing to reach the wreck before dawn he was turned into a hill in the Shag Valley. Modern academics have suggested this tale is an allegorical explanation of the fact that kūmara will not grow south of Banks Peninsula.

European contact

On 20 February 1770 James Cook in the Endeavour reached a position very close to the Waitaki mouth and "about 3 Miles [5 km] from the shore", according to his journal. He said the land "here is very low and flat and continues so up to the skirts of the Hills which are at least 4 or 5 Miles [6–8 km] in land. The whole face of the Country appears barren, nor did we see any signs of inhabitants." He stayed on this part of the coast four days. Sydney Parkinson, the expedition's artist, described what seems to be Cape Wanbrow, in Oamaru. On 20 February he wrote "...we were near the land, which formed an agreeable view to the naked eye. The hills were of a moderate height, having flats that extended from them a long way, bordered by a perpendicular rocky cliff next to the sea."

Māori did live in the area, and sealers visited the coast in 1814. The Creed manuscript, discovered in 2003, records:

<blockquote>

Some of the [local] people [had been] absent on a feasting expedition to meet a great party from Taumutu, Akaroa, Orawenua [Arowhenua]. They were returning. The [sealers'] boat passed on to the Bluff 8 miles [13&nbsp;km] north of Moeraki where they landed & arranged their boat – & lay down to sleep in their boat. At night Pukuheke, father of Te More, went to the boat, found them asleep & came back to the other Natives south of the Bluff. They went with 100 [men] killing 5 Europeans & eat them. Two of the seven escaped through the darkness of the night & fled as far as Goodwood, Bobby's Head, after being 2 days and nights on the way.

</blockquote>

Pukuheke's party killed and ate these as well. The Pākehā, a party from the Matilda (Captain Fowler), under the first mate Robert Brown with two other Europeans and five lascars or Indian seamen, made eight in all, not seven as the manuscript says. They had been sent in an open boat from Stewart Island in search of a party of absconding lascars. Brown must have had some reason for searching for them on the North Otago coast.

After Te Rauparaha's sack of the large pā (fortified settlement) at Kaiapoi near modern Christchurch in 1831, refugees came south and gained permission to settle at Kakaunui (Kakanui), and the territory between Pukeuri and Waianakarua, including the site of urban Oamaru, became their domain.

Nineteenth century onwards

thumb|Oamaru from Signal Station, New Zealand, c. 1895

thumb|Part of Oamaru's historic district

Whalers sometimes visited this part of the coast in the 1830s. The Jason, for example, probably of New London in the United States, Captain Chester, was reported at "Otago Bluff" south of Kakanui, with of oil, on 1 December 1839.

Edward Shortland visited the area in 1844, coming overland from Waikouaiti. On 9 January he recorded "Our path to-day was sometimes along the edge of a low cliff, sometimes along the beach, till we approached Oamaru point, where it turned inland, and crossed a low range of hills, from which we looked over an extensive plain … Towards the afternoon, we ascended a range of hills called Pukeuri, separating this plain from another more extensive. The sky was so remarkably clear that, from the highest point of the pathway, Moeraki was distinctly in view..." He made a map and placed Oamaru on it. He was one of several Europeans who passed through the area on foot in the 1840s. James Saunders became the first European resident of the district some time before 1850 when he settled to trade among the Māori of the Waitaki River mouth.

thumb|Waitaki District Council building, Thames Street, Oamaru. Formerly the Oamaru Chief Post Office

More European settlers arrived in the Oamaru area in the 1850s. Hugh Robison built and lived in a sod hut by Oamaru Creek in 1853 while establishing his sheep run. J.T. Thomson surveyed the place as a town in 1859, and the Otago Provincial government declared "hundreds" there on 30 November 1860. The town grew as a service-centre for the agricultural/pastoral hinterland between the Kakanui Mountains and the Waitaki River, and rapidly became a major port. A boost was given by public works, including harbour development, and an export trade in wool and grain from the 1860s. Following the loss of a number of vessels off the coast, engineer John McGregor designed a breakwater, which was constructed by Walkem and Peyman between April 1871 and December 1884. The building of this breakwater was influential in the development of new forms of crane.

For many years there was a commercial and fishing harbour under Cape Wanbrow at Friendly Bay. With the development of pastoralism and the associated frozen-meat industry having its historical origins in New Zealand just south of the town at Totara, Oamaru flourished. Institutions such as the Athenaeum, Chief Post Office and Waitaki Boys' and Waitaki Girls' High Schools sprang up. The locally plentiful limestone (Oamaru stone) lent itself to carving and good designers, such as John Lemon (1828–1890), Thomas Forrester (1838–1907) and his son J.M. Forrester (1865–1965), and craftsmen utilised it. By the time of the depression of the 1880s Oamaru was home to an impressive array of buildings and the "best built and most mortgaged town in Australasia".

In 1872 Oamaru Hospital, known as "the hospital on the hill", opened. A new children's ward the Saltzman Children's Ward, opened in 1937 and further wards were added between the 1950s and 1980s. an aqueduct completed after three years' work in 1880. This major engineering feat replaced the previous poor water supply, (obtained from the local creek running through the town) with abundant pure water (and energy for industrial machinery driven by water motors) from the Waitaki river and conducted water in an open channel for almost 50&nbsp;km through hilly farmland from Kurow to the Oamaru reservoir at Ardgowan, until it was decommissioned and abandoned in 1983. Today much of the former infrastructure is still intact and can still be traced.

The district went "dry" in July 1906, and stayed that way until 1960 – the last South Island district to resume alcohol sales.

Development slowed apart from a few years in the 1920s, and in the 1950s, but the population continued to grow until the 1970s. With the closure of the port the local economy began to stall, and New Zealand then went through radical economic restructuring in the mid 1980s – known as "Rogernomics". North Otago was then hit by two droughts from 1988 to 1989 and again from 1997 to 1999. Oamaru found itself hard hit. In response it started to re-invent itself, becoming one of the first New Zealand towns to realise that its built heritage was an asset.

A public art museum, the Forrester Gallery (whose first curator in 1882 was Thomas Forrester), opened in 1983 in R.A. Lawson's neo-classical Bank of New South Wales building. Restoration of other buildings also took place. The Oamaru Whitestone Civic Trust was formed in 1987 with a vision of redeveloping the original commercial and business district of Oamaru's Harbour and Tyne Streets, and work began on restoring the historic precinct beside the port, perhaps the most atmospheric urban area in New Zealand. By the early 21st century, "heritage" had become a conspicuous industry and , the number of buildings owned by the Oamaru Whitestone Civic Trust had grown from the original eight to 17.

Climate

The Köppen-Geiger climate classification system classifies the climate of Oamaru as oceanic (Cfb).

Demographics

Oamaru is described by Statistics New Zealand as a medium urban area, which covers and had an estimated population of as of with a population density of people per km<sup>2</sup>.