 Although the first information about the population of Mashtaga originates in the early 19th century, the population of this village was many times higher in the Middle Ages.The number of houses in Mashtag were 854 in 1849, 1137 in 1886 and 1260 in 1921.The population was 3619 in 1842 and was the number one among the Baku villages in the years to come, but in the years to come, the number was 6179, in 1884 it was 7784, in 1913 it was 8730, in 1926 it was 8220 and In 1939 there were 11642 people.