To solve the equation \( 5^x = \frac{1}{25} \), we can first rewrite \( \frac{1}{25} \) as a power of 5.
We know that: \[ 25 = 5^2 \] Thus: \[ \frac{1}{25} = 5^{-2} \]
Now we can rewrite the original equation: \[ 5^x = 5^{-2} \]
Since the bases are the same, we can set the exponents equal to each other: \[ x = -2 \]
Thus, the value of \( x \) is \( \boxed{-2} \).
So the correct answer is option A: negative 2.