Using data on the entire population in combination with data on almost all individuals in Sweden listed as inventors, we study how the probability of being listed on a patent as inventor is influenced by the density of other future inventors residing in the same region. In this process, we control for demographic and sector effects along with the educational characteristics of parents. This approach allows us to trace how location history influences individuals’ inventive capacity. We focus on three types of influences: (a) future inventors in the municipality around the time of birth, (b) future inventors around the time of graduation from high school and (c) future inventors at graduation from higher education. We find suggestive evidence that co-locating with future inventors may impact the probability of becoming an inventor. The most consistent effect is found for place of higher education; some positive effects are also evident from birthplace, whereas no consistent positive effect can be derived from individuals’ high school location. Therefore, the formative influences mainly deriving from family upbringing, birth region and from local milieu effects arising from a conscious choice to attend a higher education affect the choice of becoming an inventor.