We analyse the heterogeneity in firms’ decisions to engage in R&D cooperation, taking into account the type of partner (competitors, suppliers or customers, and research institutions) and the sector to which the firm belongs (manufactures or services). We use information from the Technological Innovation Panel (PITEC) for Spanish firms and estimate multivariate probit models corrected for endogeneity which explicitly consider the interrelations between the different R&D cooperation strategies. We find that placing a higher importance to publicly available information (incoming spillovers), receiving public funding and firm size increase the probability of cooperation with all kind of partners but the role is much stronger in the case of cooperative agreements with research institutions and universities. Our results also suggest that R&D intensity and the importance attributed to the lack of qualified personnel as a factor hampering innovation are key factors influencing positively R&D cooperation activities in the service sector but not in manufactures.