The area of San Gavino was already settled in the Nuragic era, but the centre is of medieval origin.
San Gavino's territory had been settled in the Nuragic era, while its central location dates back to the medieval period.