This paper aims at explaining how proximity between firms affects cooperation in R&D. For that purpose, it is proposed a three-stage game amongst three firms where each firm decides about location, R&D and output. Firms’ decision about location determines a R&D spillover, which is inversely related to the distance between firms.