Name and why it is called so
The surah takes its name from its first verse, "Inna anzalnahu fi laylatil-qadr" (Indeed, We sent it down on the Night of Decree). One meaning of qadr is honor and rank, that is, a night of great status; the other meaning is decree and decision, because according to the scholars of tafsir the affairs of the whole year are decided and handed over to the angels on this night. In the hadith it is also called "Inna anzalnahu" after its first words.
Time of revelation and background
On this site the surah is counted as Meccan, while some scholars have called it Medinan. Abdullah ibn Abbas (may Allah be pleased with him) explained the sending down of the Quran on Laylat al-Qadr this way: on that night the whole Quran was sent down at once to the lowest heaven, and then Allah revealed it to the Prophet ﷺ in portions as needed. This saying is in Al-Mustadrak of al-Hakim with an authentic chain, and according to Al-Baqarah 2:185 the Quran was revealed in Ramadan, so this night is in Ramadan.
Main themes
The first theme of the surah is the greatness of the Quran, which was sent down on a blessed night. Then, in the form of a question, the importance of this night is heightened, and we are told that Laylat al-Qadr is better than a thousand months, meaning that worship on this one night is better than more than eighty-three years of worship.
On this night the angels and the Spirit, that is Jibril, peace be upon him, descend by their Lord's permission with every matter, and this night is peace, all peace, until the break of dawn. The message of the tafsir of Surah Al-Qadr is that a Muslim should recognize the worth of the Quran and try to attain this great night by worshipping in the last nights of Ramadan.