Deconvolution is an essential step in seismic data processing. Sparse-spike deconvolution often is used to enhance the resolution of the seismic image by adding a model-driven regularization term. However, this method does not consider the features of the data, nor does it exactly describe the relationship between seismic data and the desired attribute (such as seismic reflectivity). We have developed a data and model dual-driven seismic deconvolution method based on error-constrained joint sparse representation (SR) using borehole measurement and surface seismic data. The combined features of the borehole reflectivity and the surface seismic data can be obtained through joint dictionary learning. With the help of the joint dictionary, the relationship between seismic waveforms and reflectivity is captured by the sparse coefficients. We construct the regularization term of deconvolution by alternately decomposing the error of the synthesized data via sparse reconstruction and the observed seismic data. Unlike model-driven methods, the constraint term of the new method can be established by the error-constrained SR. Based on this SR, the initial model of reflectivity is obtained to realize the sparse deconvolution of seismic data under the constraint of borehole data features. In general, this method is a data and model dual-driven deconvolution. Synthetic and field data tests demonstrate that this method can effectively improve the resolution and accuracy of deconvolution.