The objective of this paper is to analyse the effects of international R&D cooperation on firms' economic performance. Our approach, based on a complete data set with information about Spanish participants in research joint ventures supported by the EU Framework Programme during the period 1995-2005, establishes a recursive model structure to capture the relationship between R&D cooperation, knowledge generation and economic results, which are measured by labour productivity. In the analysis we take into account that the participation in this specific type of cooperative projects implies a selection process that includes both the self-selection by participants to join the consortia and the selection of projects by the European Commission to award the public aid. Empirical analysis has confirmed that: (1) R&D cooperation has a positive impact on the technological capacity of firms, captured through intangible fixed assets and (2) the technological capacity of firms is positively related to their productivity.