Rocklin is a city in Placer County, California, about 22 miles from Sacramento, and about 6.1 miles northeast of Roseville in the Sacramento metropolitan area. Besides Roseville, it shares borders with Granite Bay, Loomis and Lincoln. As of the 2010 census, Rocklin's population was 56,974. The California Department of Finance placed the 2019 population at 68,823.[6]