Masalli () is a city in and the capital of the Masalli District of Azerbaijan.
Masalli city was established in 1960. The city is named for the "Masal" tribe that lived in the territory of Masalli in ancient times.
According to the statistics of 2024, the total population of Masalli city was 26345, of which 13274 (50.4%) were men and 13071 (49.6%) were women.
By the decree of the president on "Changes to administrative units of Masalli District" dated on 15 March 2013, Gigah, Dadva, Seybatin, Isgandarli villages of Masalli city were removed from the State register of territorial units of Azerbaijan.
There are approximately 208 historical, archeological, and architectural monuments in Masalli.
Masalli District's Court is situated in Masalli city. The initial name of the court was Masalli District People's Court.