In the late 12th century, during the rule of Stefan Nemanja (Grand Principality of Serbia), prefect Jurko raised a church dedicated to saints Cosmas and Damian.
In historical sources Blagaj was first mentioned in 1423.