In this paper, we report the results of the investigations on the effects of sodium hydroxide (NaOH) concentration and different ratio of silicate to hydroxide on the density, rheology and compressive strength of geopolymer cement system used in oil well. Different ratios of Class F fly ash is mixed with different ratios of sodium silicate to sodium hydroxide ratio (2.5, 1, 0.5 and 0.25) to produce different geopolymer slurry densities and dispersant is added to control the rheological properties of the system. The NaOH solution was prepared by diluting NaOH pellets with distilled water according to the specified molarity (8, 10, 12 and 14 M). The solution was then mixed with sodium silicate to form the alkaline solution. Class F fly ash were added to the reactive to form homogeneous mixture, which was tested for its density and rheological properties at surface temperature. The mixture was placed in a 50 mm mould and cured at 930C and 3000 psia for 24 hours and the cubes were tested for destructive compressive strength. The results showed that as the concentration of sodium hydroxide increases, the density of the geopolymer cement increases. There was no significant variation on the density of the geopolymer cement. Also, as the ratio of silicate/hydroxide increases, the viscosity of the slurry increases and the workability of the geopolymer cement become poorer. Furthermore, the compressive strength increases as the NaOH molarity increases however when it reaches 14M, the adverse effect to the strength development was observed.