Seismic traveltimes for anisotropic elastic media are determined by numerical solution of the eikonal equation using a 2-D finite difference approach. Most previous examples of this technique have been restricted to the geometrical-optics form of the eikonal equation associated with isotropic media. Here, a general anisotropic form is used, with particular solutions for media with transversely isotropic (TI) symmetry. The algorithm tracks arrivals corresponding to a particular wave type (i.e. qP, qS) using an expanding-wavefront scheme on a hexagonal mesh. In a homogeneous example, the method is demonstrated to be accurate for qP waves, but prone to large errors for qS waves in the vicinity of wavefront cuspidal edges and along shear wave singularities. Two other examples that incorporate both anisotropy and inhomogeneity demonstrate the potential usefulness of this algorithm for calculating qP traveltimes in more complex models.