Software Engineer vs Security Analyst: Which Pays More?

Side-by-side salary comparison by city, experience level, and career growth outlook. Data reflects current market rates.

National Median Salary Comparison
Software Engineer
$135,980
Higher Pay
Security Analyst
$89,555
Higher Pay
Technology

Software Engineer

Design, develop and maintain software systems and applications.

National Median
$135,980/yr
Entry
$101,690
Mid
$166,830
Senior
$224,590
+25% demand/yr48% AI risk
PythonJavaScriptSystem DesignGit
Full Software Engineer salary data โ†’
Technology

Security Analyst

Monitor, detect, and respond to security incidents and threats.

National Median
$89,555/yr
Entry
$70,953
Mid
$109,717
Senior
$169,658
+32% demand/yr30% AI risk
SIEMSOCThreat IntelligenceIncident Response
Full Security Analyst salary data โ†’
Verdict

Software Engineer earns more on average โ€” the national median is $46,425/year (52%) higher than a Security Analyst. However, salaries vary significantly by city, employer, and experience level โ€” see the city-by-city breakdown below.

Software Engineer vs Security Analyst โ€” Salary by City

National median figures in USD across top cities.

CitySoftware EngineerSecurity AnalystDifference
San Francisco, CA$194,950$133,466Software +$61,484
New York, NY$166,830$109,717Software +$57,113
Seattle, WA$189,468$129,188Software +$60,280
Austin, TX$148,834$98,064Software +$50,770
Chicago, IL$149,966$98,234Software +$51,732
Boston, MA$176,542$114,557Software +$61,985
London, UKยฃ73,942ยฃ70,022Software +$3,920
Toronto, CanadaCA$126,152CA$118,720Software +$7,432
Pay Gap
52%
Software Engineer earns more
Demand Growth
25% vs 32%
Software Engineer vs Security Analyst YoY
AI Risk
48% vs 30%
Software Engineer vs Security Analyst

Frequently Asked Questions

Does a Software Engineer or Security Analyst earn more?+

A Software Engineer earns more on average. The national median salary for a Software Engineer is $135,980/year, compared to $89,555/year for a Security Analyst โ€” a difference of $46,425 (52%).

Which has better career growth โ€” Software Engineer or Security Analyst?+

Software Engineer roles are growing at 25% YoY while Security Analyst demand is growing at 32% YoY. Security Analyst has stronger near-term demand growth.

Can you switch from Software Engineer to Security Analyst?+

Yes. Many professionals transition between these roles, especially since both are in the same category. Shared skills include: analytical thinking, communication, and industry knowledge.

Which is harder to automate โ€” Software Engineer or Security Analyst?+

Security Analyst has a lower AI automation risk (30% vs 48%). Based on Oxford Martin School and McKinsey 2023 analysis.