Geopolymers are an inorganic material in an alkaline environment that is synthesized with alumina–silica gel. The structure of geopolymers consists of an inorganic chain of material and a covalent-bound molecular system. Currently, Ordinary Portland Cement (OPC) has caused carbon dioxide (CO2) emissions which causes greenhouse effects. This analysis investigates the impact on fly ash/dolomite-based-geopolymer with various molarities of sodium hydroxide solutions which are 6 M, 8 M, 10 M, 12 M and 14 M. The samples of fly ash/dolomite-based-geopolymer were prepared with the usage of solid to liquid of 2.0, by mass and alkaline activator ratio of 2.5, by mass. After that, the geopolymer was cast in 50 × 50 × 50 mm molds before testing after 7 days of curing. The samples were tested on compressive strength, density, water absorption, morphology, elemental distributions and phase analysis. From the results, the usage of 8 M of NaOH gave the optimum properties for the fly ash/dolomite-based geopolymer. The elemental distribution analysis exposes the Al, Si, Ca, Fe and Mg chemical distribution of the samples from the selected area. The distribution of the elements is related to the compressive strength and compared with the chemical composition of the fly ash and dolomite.