There is at least one exception to the rule that others have noted. While a private employer in California apparently cannot have a use it or lose it policy, the California law does not apply to the federal government. The federal government does have a use it or lose policy for annual leave (but not sick leave) so if you are a federal employee you are subject to that policy, even in California.

