Cyanide, which remains the preferred chemical used in the gold extraction process, has the potential to be disposed of on goldmine tailings. South Africa has nine goldfields, producing approximately a third of the world's gold to date. The cyanide interacts with metals in the tailings environment, where Prussian blue Fe43+[Fe2+(CN)6]3 and Turnbull's blue Fe32+[Fe3+(CN)6]2 are among these. In previous studies, Prussian blue or Turnbull's blue have been found as a blue substance in tailings material. PHREEQC modelling software was used adding the mineralogical data from 16 tailings samples from the Free State goldfield. The results revealed that Prussian blue prefers to precipitate in an oxic environment and Turnbull's blue prefers an anoxic environment. It was also determined that their precipitation is affected by the availability of iron in solution. As soon as all of the iron is consumed in solution, all excess cyanide produces HCN, which is a free cyanide which volatilizes. Contrarily, Prussian and Turnbull's blue are CNSAD compounds, only dissociating in extremely low pH condition in the absence of photolysis. Ultimately, these iron-cyanide compounds are able to immobilize cyanide, preventing seepage into environments such as the ground water. This along with an anoxic environment such as mine void, keeping the pH high, may be a possible solution for cyanide remediation.