On the 31st of December 2017 the number of people with a foreign background (persons born outside of Sweden or with two parents born outside of Sweden) was 9 646, or 34.93% of the population (27 614 on the 31st of December 2017). On the 31st of December 2002 the number of residents with a foreign background was (per the same definition) 5 002, or 23.64% of the population (21 162 on the 31st of December 2002).[3] On 31 December 2017 there were 27 614 residents in Upplands-Bro, of which 7 088 people (25.67%) were born in a country other than Sweden.