The mortar technique turns out to be well adapted to handle mesh adaptivity in finite elements, since it allows for working with nonnecessarily compatible discretizations on the elements of a nonconforming partition of the initial domain. The aim of this paper is to extend the numerical analysis of residual error indicators to this type of methods for a model problem and to check their efficiency thanks to some numerical experiments.