The Golden State lives up to its name with the sky-high pay packages some software engineers can earn. It’s no wonder, as California is home to some of the largest technology companies in the world, plus some of the most expensive cost-of-living areas.
The average total compensation for software engineers in California ranges from more than $117,000 to more than $500,000, according to the professional social network Blind.
These are the 20 best-paying cities for software engineers in California, as reported by the more than 5 million verified professionals on Blind. Blind analyzed thousands of total compensation packages, including the annual salary and any stock-based compensation or bonuses a company might offer.

1. Los Gatos, Calif.

2. Menlo Park, Calif.

3. Cupertino, Calif.

4. San Bruno, Calif.

5. Mountain View, Calif.

6. Oakland, Calif.

7. San Francisco

8. Sunnyvale, Calif.

9. Santa Monica, Calif.

10. Palo Alto, Calif.

11. San Mateo, Calif.

12. Pleasanton, Calif.

13. Foster City, Calif.

14. Fremont, Calif.

15. Santa Clara, Calif.

16. San Jose, Calif.

17. Redwood City, Calif.

18. Milpitas, Calif.

19. Irvine, Calif.

20. San Diego

Methodology

Blind analyzed the base salaries and total compensation of software engineers in the top 50 best-paying cities for software engineers in the United States on its platform. Cities were ranked by the average total compensation, including salary and, if applicable, stock-based compensation and annual cash bonuses. All data is self-reported by verified professionals on the professional social network Blind.
Also published on Teamblind's blog