In this article, we prove that the height function associated with square-ice model (i.e. six-vertex $$a=b=c=1$$ on square lattice), or, equivalently, of uniform random homomorphisms from $$\mathbb {Z}^2$$ to {Z}$$ , has logarithmic variance. This establishes a strong form roughness function.