In this paper, we consider a variable‐coefficient wave equation with nonlinear acoustic boundary conditions and source term. Using the Riemannian geometry method, we prove the general energy decay of the system corresponds to the ordinary differential equation (ODE), which certainly is stable under some suitable assumptions.