The Law of Portugal is part of the family of what in English-speaking countries are sometimes called the "civil law" legal systems, referring to legal systems that developed at least in conversation or close ties with systems influenced by the ius commune medieval European tradition of Roman law (however, Scandinavian legal systems are often counted as such, despite the former not penetrating in influence, as opposed to local North Germanic customary law). As such, it has many common features with the legal systems found in most of the countries in Continental Europe.
Along its history, the law practiced in Portugal started to be based in the customary law of the indigenous peoples that initially occupied the region, that was later influenced by the Roman and Visigothic laws. From the 13th until the 18th centuries, the main influence was the Justinian and Canon laws. In the 18th century, the main influence started to be the natural law.