Metamaterials---artificially structured materials with tailored electromagnetic response---can be designed to have properties difficult or impossible to achieve with traditional materials fabrication methods. Here we present a structured metamaterial, based on conducting split ring resonators (SRRs), which has an effective index of refraction with a constant spatial gradient. We experimentally confirm the gradient by measuring the deflection of a microwave beam by a planar slab of the composite metamaterial over a range of microwave frequencies. The gradient index metamaterial may prove an advantageous alternative approach to the development of gradient index lenses and similar optics, especially at higher frequencies. In particular, the gradient index metamaterial we propose may be suited for terahertz applications, where the magnetic resonant response of SRRs has recently been demonstrated.