Rocklin is a city in Placer County, California located in the metropolitan area of Sacramento. It shares borders with Roseville, Loomis, and Lincoln. As of the 2010 census, the city's population was 56,974. Rocklin is part of the Sacramento–Arden-Arcade–Roseville Metropolitan Statistical Area.