Lafayette is a city in Contra Costa County, California. It has a population of 25,391 residents as of 2020.[1] The city is known for its hills and for its good schools.