An emergence of mental health issues among the general population has been reported during the COVID‐19 pandemic. This study aimed to estimate COVID‐19 awareness, attitude, and perceived anxiety among the Iranian people. This is a cross‐sectional web‐based survey done on the community population of Iran. The sample population was recruited through purposive sampling. The study questionnaire was circulated through online platforms as a web link. A questionnaire used in previous research has been used after translation in a sample of 375 adults from Iran. The majority of the participants in the study have a favourable attitude towards hand washing, social distancing, self‐quarantine/isolation, and governmental policies regarding COVID‐19. Similarly, many people feel anxious about partying, traveling, meetings, online shopping, and social contact. Anxiety related to contracting COVID‐19 infection is reported in a larger populace. Most (> 80 percent) of the participants agree with the need for mental healthcare during the COVID‐19 pandemic. The Iranian population has a favorable attitude towards the prevention of COVID‐19. High anxiety and a perceived need for mental healthcare need in the community necessitates amelioration of mental healthcare during this challenging time. [ABSTRACT FROM AUTHOR]