Is Allah a moon god, and why is there a crescent on mosques?

Common mythsQuran · 2Sources · 2

Short answer

No. This is a myth with no basis in history or in Islam. Allah is the Arabic word for the one God, and the Quran explicitly tells people not to prostrate to the sun or the moon but to Allah who created them.

The fuller answer

Arab Christians used the word Allah for God before Islam, and the name appears in pre-Islamic Christian inscriptions. The Quran forbids worship of any created thing. The crescent moon is not a symbol in the Quran or the early Muslim community: it was adopted later, mostly by the Ottoman Empire, and many mosques and Muslim countries do not use it.

The Islamic calendar is lunar, which is why the moon is important for dates like Ramadan and Eid. That is a way of keeping time, not of worship.

From the Quran

وَمِنْ ءَايَٰتِهِ ٱلَّيْلُ وَٱلنَّهَارُ وَٱلشَّمْسُ وَٱلْقَمَرُ ۚ لَا تَسْجُدُوا۟ لِلشَّمْسِ وَلَا لِلْقَمَرِ وَٱسْجُدُوا۟ لِلَّهِ ٱلَّذِى خَلَقَهُنَّ إِن كُنتُمْ إِيَّاهُ تَعْبُدُونَ ﴿٣٧﴾

And of His portents are the night and the day and the sun and the moon. Do not prostrate to the sun or the moon; but prostrate to Allah Who created them, if it is in truth Him Whom ye worship.

قُلْ هُوَ ٱللَّهُ أَحَدٌ ﴿١﴾

Say: He is Allah, the One!

Sources