We rigorously determine the exact freezing threshold, r f k , for k-colourings of a random graph. We prove that for random graphs with density above r f k , almost every colouring is such that a linear number of variables are frozen, meaning that their colours cannot be changed by a sequence of alterations whereby we change the colours of o(n) vertices at a time, always obtaining another proper colouring. When the density is below r f k , then almost every colouring has at most o(n) frozen variables. This confirms hypotheses made using the non-rigorous cavity method.It has been hypothesized that the freezing threshold is the cause of the "algorithmic barrier", the long observed phenomenon that once the edge-density of a random graph passes 1 2 k ln k(1 + o k (1)), no algorithms are proven to find k-colourings, despite the fact that this density is only half the k-colourability threshold.We also show that r f k is the threshold of a strong form of reconstruction for k-colourings of the Galton-Watson tree, and of the graphical model. *