In Bangkok, the capital city of Thailand, air pollution is a significant problem, and efforts are needed to define organisms that may be used as bioindicators of air pollution. Epiphytic subaerial algae, which grow on the surface of trees, may have a potential as bioindicators of urban air quality. Algae were collected from randomly selected tree trunks in five parks in Bangkok, and the air pollutants CO, NO2, O3, SO2, PM2.5, and PM10 were measured. Analysis of the subaerial algal communities was performed by metagenomics. Diversity indexes were determined for the algal taxa detected, which were separated into groups corresponding to different collection sites by cluster analysis. Relationships between taxa and air pollutants were analyzed by PCA and the Pearson correlation coefficient (r). The results showed a high diversity of epiphytic subaerial al-gae. We recorded 101 taxa belonging to the Cyanophyta (70 taxa), Chlorophyta (21 taxa), Char-ophyta (5 taxa), Bacillariophyta (3 taxa), and Eustigmatophyta (2 taxa). The most abundant taxon was Chroococcidiopsis sp. 1, for which up to 13,254 individuals/cm2 were recorded. The Shan-non–Weaver index ranged between 1.37 and 2.51, the Margalef index between 3.84 and 4.75, and the Pielou index between 0.30 and 0.54. The similarity index was between 8.00% and 64.82% ac-cording to the cluster analysis results for three groups. The PCA indicated that all air pollutants affected the diversity and abundance of the epiphytic subaerial algae. Cyanothece sp. 2 is consid-ered a potential bioindicator of air pollution. It was negatively related to O3 and positively related to NO2 and CO