People were here long before anyone wrote the name down. The first traces date to the middle Neolithic, 4000 to 3500 BC, and the tomb at Su Monte 'e S'Abe is some 3,800 years old. Once the Nuragic builders arrived, the territory filled up: more than 50 sites are known, from single towers and hut villages to sacred wells like Sa Testa. Archaeologists still disagree on who founded the town itself, the Nuragics or the Phoenicians.
The first urban settlement grew up around 750 BC, Phoenicians living alongside the local population. Greeks from Phocaea followed about 630 BC, by Greek tradition, and gave the place its name, which means something like prosperous. Carthaginians later walled it and put a temple of Melqart on the high ground. That upper town is the part of Olbia you walk through today, between Via Asproni and Piazza Matteotti.
Rome took Sardinia in 238 BC and made Olbia a naval base as well as a trading town. Its harbour was the closest to the Italian mainland, so ships loaded with raw materials left from here for the capital. The Roman town had a forum, paved streets, public baths and an aqueduct, and Nero's freedwoman Acte lived here in exile. In 304 AD the Christian Simplicius was put to death and buried outside the walls. When workers dug into that cemetery in 1904 they found 871 gold coins.
Vandals attacked from the sea in the fifth century and burned the town along with the ships in its port. It shrank, and by the end of the sixth century it appears under a new name, Fausiana. After 1000 it came back as Civita and became the seat of the Gallura judges, rulers of one of Sardinia's four independent medieval states. The judges built San Simplicio on the old cemetery. Elena of Gallura, the last ruler of the Lacon-Gunale line, was the first woman to rule a Sardinian throne in her own right, and one of the first in Europe.
In 1296 Judge Nino, the man Dante calls "Giudice Nin gentil", was dead and Pisa took the territory. The Pisans laid out a new walled town, Terranova, nearer the Roman harbour, and that grid is the one you walk now. Then the long slide began. Aragon conquered Sardinia in 1324, trade shifted west, malaria settled in, and in 1553 the corsair Dragut wrecked the centre. By the end of the 1600s about 240 people lived here. The granite lintels of the old houses in the centre still carry the owner's initials, a Christian symbol and the year, cut in the 17th and 18th centuries.
The turn came in the later 19th century. The town was renamed Terranova Pausania in 1862, the port was upgraded in 1870, and the railway from Cagliari arrived in 1881. Ferries to Civitavecchia were moved to Figari, today's Golfo Aranci, in 1880, which left Terranova with freight and military traffic only. Passenger sailings returned in 1920 after a popular revolt and a long campaign by the local deputy Giacomo Pala, and the sea terminal opened in 1930. In 1939 the old Roman name came back, and on 14 May 1943 Allied bombers killed at least 22 people under the town hall and the centre.
After the war the marshes were drained and malaria was gone. From the 1960s the town grew on the back of the tourist boom along the northeast coast, and it became the service centre for the Costa Smeralda. Today it runs on commerce and the food industry, and the airport and the port are the main way onto the island from the mainland. It was one of the capitals of the province of Olbia-Tempio from 2005, and the province was cancelled after a referendum seven years later.