California remains the epicenter of the global tech industry, but choosing the right city can significantly impact your career trajectory, lifestyle, and financial outcomes. Here is how the top five California tech cities stack up for software engineers in 2026.
San Francisco continues to lead in total compensation and career opportunities. The density of startups, established tech giants, and venture capital creates an unmatched ecosystem for career growth. If maximizing earnings potential is your top priority, SF is hard to beat.
Median SWE Total Comp: $185,000
Pros:
Cons:
San Jose and the broader Silicon Valley corridor (Mountain View, Sunnyvale, Palo Alto, Cupertino) remain home to Apple, Google, NVIDIA, and dozens of enterprise giants. Compensation is nearly on par with SF, with slightly lower housing costs in some pockets.
Median SWE Total Comp: $180,000
Pros:
Cons:
LA has quietly grown into a major tech hub, especially for entertainment tech, streaming, gaming, and creator economy startups. Silicon Beach (Santa Monica, Venice, Playa Vista) hosts Snap, Riot Games, and Hulu alongside hundreds of startups. The salary gap with the Bay Area has narrowed in recent years.
Median SWE Total Comp: $163,000
Pros:
Cons:
San Diego offers a compelling balance of solid tech salaries and outstanding quality of life. The city is particularly strong in biotech, defense/aerospace, and telecom (Qualcomm). While total comp is lower than the Bay Area, the cost of living difference often makes up the gap.
Median SWE Total Comp: $155,000
Pros:
Cons:
Sacramento has seen a surge of tech interest as remote and hybrid work becomes mainstream. Government tech, healthcare IT, and remote Bay Area workers have created a growing tech community with significantly lower costs.
Median SWE Total Comp: $144,000
Pros:
Cons:
| City | Median Comp | 1BR Rent | Best For |
|---|---|---|---|
| San Francisco | $185K | $3,400 | Max comp, startups |
| San Jose | $180K | $3,200 | Big tech, hardware, AI |
| Los Angeles | $163K | $2,700 | Entertainment tech, gaming |
| San Diego | $155K | $2,500 | Biotech, defense, lifestyle |
| Sacramento | $144K | $2,000 | Affordability, remote work |
Bottom line: The "best" city depends on your priorities. SF and San Jose maximize earnings. San Diego and Sacramento maximize lifestyle per dollar. LA splits the difference with unique industry opportunities.