This building already stood in mid-sixteenth century, and must have undergone some architectural transformations and renovations by military engineers. It possesses a rigorous, simple and functional architecture, with a lateral facade facing the river and a main facade to the north.
It is found on three drawings of Alcoutim’s Square made by José de Sande Vasconcelos in the late eighteenth century. On one of these records the building is designated as “Houses of the Judge of Customs”.
In the twentieth century, it was the Costums Officers Station. It was unoccupied until recently rehabilitated in order to house the Tax Revenue Office of Alcoutim.