Svrljig is a town and municipality located in the Nišava District of southern Serbia. Formerly known as Derven until 1904, it serves as a local administrative center within the region.
According to data from the 2022 census, the town has a population of 6,762 inhabitants, while the broader municipality has a total population of 10,781 residents.