Surname law can refer to any law, whether in effect or no longer existing, regulating the use of surnames among a country's population.