SummaryIn this paper, we present residual‐based error estimators applied to the Stokes problem. Implicit and explicit error estimators are developed to predict the error of the numerical solution obtained by a stabilized finite element formulation. Both error estimators arise from the variational multiscale framework, in which the variational form is split into coarse scales (finite element method solution) and fine scales (committed error). This leads to a local problem set on each element in which the error and the residuals are involved. The different ways of linking the error to the residuals produce two error estimators. Local and global error estimates measured in the H1‐seminorm are provided for triangles and quadrilaterals. As an application, using the local error estimates, an adaptive mesh refinement strategy is implemented in order to optimize the computational resources.