This study examines the use of fly ash, a thermal power plant waste, and the effect of diatomite, a fossil algae type, on waste-based geopolymers in the production of sustainable geopolymer binders. The effects of 1%, 2%, 3%, 4% and, 5% diatomite substitution on waste-based mortars were investigated. Mortars containing 10% and 12% Na+ by weight based on the binder material were cured at 75 degrees C for 48 h. The flexural and compressive strength, abrasion resistance, determination of ultrasonic pulse velocity, and resistance to high temperatures of geopolymer mortar samples were investigated. In addition, FESEM images, EDX and XRD analyses of geopolymer mortar samples were made, and their microstructures were examined. 2% diatomite substitution increased flexural and compressive strength. In parallel with this situation, it was concluded that the abrasion resistance and ultrasonic pulse velocity of the geopolymer mortar with 2% diatomite substituted increased. In addition, it has been shown in FESEM images that the microstructure has a denser morphology. All geopolymer mortars lost strength after the high temperatures of 300 degrees C, 600 degrees C and 900 degrees C. As a result, it was concluded that diatomite containing highly reactive silica can be used in geopolymer systems.