We calculate the rational equivariant cohomology of the spaces of non-contractible loops in compact space forms and show how to apply these calculations for proving the existence of closed geodesics.