In this paper we analyze an error estimator introduced by Bank and Weiser. We prove that this estimator is asymptotically exact in the energy norm for regular solutions and parallel meshes. By considering a simple example we show that this is not true for general meshes.