Standard migration techniques require a velocity model. A new and fast prestack time migration method is presented that does not require a velocity model as an input. The only input is a shot gather, unlike other velocity-independent migrations that also require input of data in other gathers. The output of the presented migration is a time-migrated image and the migration velocity model. The method uses the first and second derivatives of the traveltimes with respect to the location of the receiver. These attributes are estimated by computing the gradient of the amplitude in a shot gather. The assumptions of the approach are a laterally slowly changing velocity and reflectors with small curvatures; the dip of the reflector can be arbitrary. The migration velocity corresponds to the root mean square (rms) velocity for laterally homogeneous media for near offsets. The migration expressions for 2D and 3D cases are derived from a simple geometrical construction considering the image of the source and the strengths and weaknesses of the method on synthetic data are demonstrated. At last, the applicability of the method is discussed by interpreting the migration velocity in terms of the Taylor expansion of the traveltime around the zero offset.