SACRAMENTO (AP) — The nonpartisan Legislative Analyst’s Office predicts California will have a $7 billion surplus next year but cautions lawmakers not to spend all of it.

The analysis says California’s budget is in good condition because the state has enough money to make it through a typical recession. The analyst’s office expects California’s savings account to grow to $18.3 billion by the end of the 2021 fiscal year.

READ MORE: eBay Removes Listing for Art Created in California Japanese Internment Camp

The size of the surplus depends on whether the Trump administration lets California tax the groups that manage the state’s Medicaid plans. The tax is expected to generate about $2 billion, but it requires federal approval.

READ MORE: Gas Pump Sticker Shock: Bay Area Approaching Nation Leading $4 A Gallon

The analyst’s office said some signals suggest the economy could weaken. Because of that, it recommends lawmakers spend no more than $1 billion of the surplus on ongoing programs.

MORE NEWS: VIDEO: Asian Man Attacked In Oakland, Tries to Fight Back In Attempted Robbery

© Copyright 2019 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.