Diode lasers are often used as light sources for transmitting information through optical fibers. One of the inherent properties of this kind of laser is the astigmatism. Therefore, in applications that require focusing, an anamorphic system is needed. We present a theoretical study for the design of an anamorphic gradient-index lens to correct the astigmatism of the elliptical Gaussian beams emitted by diode lasers.