To solve for \( z \) in the equation \( z^2 = 81 \), we take the square root of both sides.
\[ z = \sqrt{81} \quad \text{or} \quad z = -\sqrt{81} \]
Calculating the square root, we find:
\[ z = 9 \quad \text{or} \quad z = -9 \]
Thus, the solutions for \( z \) are:
\[ z = 9 \quad \text{or} \quad z = -9 \]