Propagating seismic waves are dispersed and attenuated in the subsurface due to the conversion of elastic energy into heat. The absorptive property of a medium can be described by the quality factorQ. In this study, the first-order pressure-velocity viscoacoustic wave equations based on the standard linear solid model are used to incorporate the effect ofQ. For theQmodel inversion, an iterative procedure is then proposed by minimizing an objective function that measures the misfit energy between the observed data and the modeled data. The adjoint method is applied to derive the gradients of the objective function with respect to the model parameters, that is, bulk modulus, density, andQ-related parameterτ. Numerical tests on the crosswell recording geometry indicate the feasibility of the proposed approach for theQanomaly estimation.