Abstract.The thermochemistry of H 2 and HD in non-collapsed, non-reionized primordial gas up to the end of the dark age is investigated with recent radiation-matter and chemical reaction rates taking into account the efficient coolant HD, and the possibility of a gas-solid phase transition of H 2 . In the standard big-bang model we find that these molecules can freeze out and lead to the growth of flakes of solid molecular hydrogen at redshifts z ≈ 6−12 in the unperturbed medium and under-dense regions. While this freezing caused by the mere adiabatic cooling of the expanding matter is less likely to occur in collapsed regions due to their higher than radiation background temperature, on the other hand the super-adiabatic expansion in voids strongly favors it. Later reionization (at z ≈ 5−6) eventually destroys all these H 2 flakes. The possible occurrence of H 2 flakes is important for the degree of coupling between matter and radiation, as well as for the existence of a gas-grain chemistry at the end of the dark age.