The Castle of Tavira (Portuguese: Castelo de Tavira) is a medieval castle located in the parish of Santiago, Tavira municipality, Faro district of Portugal. In a dominant position over the mouth of the river Gilão, the settlement has developed as an important sea port since antiquity, with its predecessors dating back to the 8th century BC, passing through the hands of Phoenicians, Greeks, Celts, Carthaginians, Romans, Moors and the Portuguese crown.