We estimate the long-run impact of R&D activities on TFP in Spanish regions for 1980–2007. We control for direct and spatial effects from Human and Social Capital. Public R&D and patents capture R&D effectiveness better than R&D private. We find negative spatial spillovers from Human and Social capital on regional TFP. TFP increases when neighbouring territories engage in R&D activities