In this graduation thesis the migration and commuting flows to predominantly urban, intermediate and predominantly rural areas of Slovenia were analysed. The definition of the population density level was extracted from the Eurostat concept "Levels of urbanisation". We analysed several factors and researched their influences on migration and commuting flows: population, labour market, residential areas, real estate prices, municipal revenues and travel time. The analysis was carried out in an adapted spatial interaction model for each year for the period from 2000 to 2011. The influences of emission and attractiveness on the flows were estimated through comparison with the standardized regression coefficients. By comparing the migration and commuting flows in time intervals we analysed their dynamics according to travel times in the aforementioned period of twelve years.