The bill states that spouses who solicit the murder of their husband or wife will not be entitled to collect benefits in divorce proceedings.
The bill was inspired by a Pomona police detective John Pomroy. His ex-wife collected about $70,000 from the couple's estate after she was convicted of soliciting a hit man to murder him in 2003.
Until now, California's no-fault divorce code was silent on such efforts. A couple's shared assets are usually split evenly during a divorce.
The bill takes effect in January.
AP contributed to this report.