30The gray mangrove [Avicennia marina (Forsk.) Vierh.] is the most widely distributed mangrove 31 species, ranging throughout the Indo-West Pacific. It presents remarkable levels of geographic 32 variation both in phenotypic traits and habitat, often occupying extreme environments at the 33 edges of its distribution. However, subspecific evolutionary relationships and adaptive 34 mechanisms remain understudied, especially across populations of the West Indian Ocean. High-35 quality genomic resources accounting for such variability are sparse. We sequenced and 36 assembled the genome of A. marina from the Arabian Gulf, which is the harshest region that the 37 species occupies and at the northern-most limit of its distribution. We used proximity ligation 38 libraries Chicago and Dovetail HiC, and the HiRise assembly pipeline, producing a 456,556,596 39 bp long genome. The largest 32 scaffolds (22.4 Mb to 10.5 Mb) accounted for 98 % of the 40 genome assembly, with the remaining 2% distributed among much shorter 3,777 scaffolds (62.4 41 Kb to 1 Kb). We annotated 23,331 protein-coding genes using tissue-specific RNA-seq data, 42 from which 13,312 were associated to GO terms. Genome assembly and annotated set of genes 43 yield a 96.7% and 92.3% completeness score, respectively, when compared with the eudicots 44 BUSCO dataset. Furthermore, an FST survey based on resequencing data successfully identified a 45 set of candidate genes potentially involved in local adaptation, and revealed patterns of adaptive 46 variability correlating with a temperature gradient in Arabian mangrove populations. Our A. 47 marina genomic assembly provides a highly valuable resource for genome evolution analysis, as 48 well as for identifying functional genes involved in adaptive processes and speciation. 49 50