Sacramento County is a county in the U.S. state of California. It is in the Central Valley, along the Sacramento River. As of 2020, 1,585,055 people lived there. Its county seat is Sacramento, which is also the state capital.