Traveltimes from an offset vertical seismic profile (VSP) are used to estimate subsurface two-dimensional dip by applying an iterative least-squares inverse method. Tests on synthetic data show that inversion techniques are capable of estimating dips in the vicinity of a wellbore by using the traveltimes of the direct arrivals and the primary reflections. The inversion method involves a "layer stripping" approach in which the dips of the shallow layers are estimated before proceeding to estimate deeper dips. Examples demonstrate that the primary reflections become essential whenever the ratio of source offset to layer depth becomes small. Traveltime inversion also requires careful estimation of layer velocities and proper statics corrections. Aside from these difficulties and the ubiquitous nonuniqueness problem, the VSP traveltime inversion was able to produce a valid earth model for tests on a real data case.--Modified journal abstract.