Mangroves provides essential ecosystem services such as protection of coastal areas, carbon sequestration, and habitat provision for diverse species in coastal ecosystems. Species distribution models (SDMs) are powerful tools for predicting the potential distribution of mangrove species, which support impact assessments of climate changes on biodiversity and ecological functions of mangrove ecosystems. A comprehensive dataset for mangrove occurrence information derived from the Forest Inventory Map of Vietnam was designed to facilitate the building and projection of SDMs. The prediction data designed for training SDMs integrates ecological information including 701 field survey-based mangrove occurrences at the genus level and 21 environmental variables such as bioclimatic variables, digital elevation model and soil properties with 1 km spatial resolution. The projection data for provide sets of predictors aligned with four shared socioeconomic pathways scenarios representing two future periods to support the projection of SDM results under future climate conditions in Vietnam. This dataset serves as a valuable ecological information resource, enabling the modeling and predicting of potential mangrove habitats and distributions for the protection and restoration of mangroves in Vietnam under changing environmental conditions.