Madera, Merced, and Kings Counties all applied for some of the money.
Fresno County officials say the state money can't go towards building new jails and it could mean the county would have to house state prisoners. They're still working on a plan to build new jails.
The four current jails are at 77% of capacity right now after getting higher than 90%.