Process for the production of a geopolymer or geopolymer composite, comprising a) mixing of precursor for aluminate and silicate in alkaline solution, to form a sol-gel, b) optionally adding of one or more additives to the sol-gel, to form a filled sol-gel, c) adding water to the sol-gel or filled sol-gel, to form a diluted sol-gel or diluted filled sol-gel, d) mixing of the diluted sol-gel or diluted filled sol-gel, to form geopolymer or geopolymer composite, e) obtaining a suspension of geopolymer or of geopolymer composite, f) reduction of the content of alkali metal cation within the structure of the geopolymer or geopolymer composite, and g) obtaining the geopolymer or geopolymer composite, wherein the geopolymer or geopolymer composite has a sodium content of less than 200 ppm, measured according to PN-ISO 9964-1:1994+Ap1:2009 and calculated on dry mass, wherein step e) comprises e1) decantation, wherein the process comprises e1a) applying high shear mixing and ultrasound with high energy, to induce cavitation, e1b) optional addition of acid, preferably addition of acid, e1c) decantation, e1d) optional membrane filtration, and precipitate cake washing; or e2) adding of an organic phase, emulsifying, and stripping of the organic phase, wherein the process comprises e2a) adding of an organic phase, e2b) emulsifying the sol-gel, e2c) applying high shear mixing and ultrasound with high energy, to induce cavitation, e2d) steam stripping to remove the organic phase, and e2f) dispersion of the geopolymer or the geopolymer composite in water, preferably deionized water. a) mixing of precursor for aluminate and silicate in alkaline solution, to form a sol-gel, b) optionally adding of one or more additives to the sol-gel, to form a filled sol-gel, c) adding water to the sol-gel or filled sol-gel, to form a diluted sol-gel or diluted filled sol-gel, d) mixing of the diluted sol-gel or diluted filled sol-gel, to form geopolymer or geopolymer composite, e) obtaining a suspension of geopolymer or of geopolymer composite, f) reduction of the content of alkali metal cation within the structure of the geopolymer or geopolymer composite, and g) obtaining the geopolymer or geopolymer composite, e1) decantation, wherein the process comprises e1a) applying high shear mixing and ultrasound with high energy, to induce cavitation, e1b) optional addition of acid, preferably addition of acid, e1c) decantation, e1d) optional membrane filtration, and precipitate cake washing; or e1a) applying high shear mixing and ultrasound with high energy, to induce cavitation, e1b) optional addition of acid, preferably addition of acid, e1c) decantation, e1d) optional membrane filtration, and precipitate cake washing; e2) adding of an organic phase, emulsifying, and stripping of the organic phase, wherein the process comprises e2a) adding of an organic phase, e2b) emulsifying the sol-gel, e2c) applying high shear mixing and ultrasound with high energy, to induce cavitation, e2d) steam stripping to remove the organic phase, and e2f) dispersion of the geopolymer or the geopolymer composite in water, preferably deionized water. e2a) adding of an organic phase, e2b) emulsifying the sol-gel, e2c) applying high shear mixing and ultrasound with high energy, to induce cavitation, e2d) steam stripping to remove the organic phase, and e2f) dispersion of the geopolymer or the geopolymer composite in water, preferably deionized water. <EOS>