We analyse Runge–Kutta discretizations applied to autonomous index 2 differential algebraic equations in the vicinity of attracting sets. We compare the geometric properties of the numerical and the exact solutions and show that projected and half-explicit Runge–Kutta methods reproduce the qualitative features of the continuous system correctly. The proof combines invariant manifold results of Schropp (SIAM J. Numer. Anal., to appear) and classical results for discretized ordinary differential equations of Kloeden and Lorenz (SIAM J. Numer. Anal. 23 (1986) 986).