DevOps Engineer vs Security Engineer: 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
DevOps Engineer
$99,130
Security Engineer
$129,180
Higher Pay
Technology

DevOps Engineer

Automate infrastructure, CI/CD pipelines, and cloud deployments.

National Median
$99,130/yr
Entry
$75,810
Mid
$119,390
Senior
$171,470
+28% demand/yr38% AI risk
KubernetesDockerTerraformAWS
Full DevOps Engineer salary data โ†’
Higher Pay
Technology

Security Engineer

Protect systems, networks, and applications from cyber threats.

National Median
$129,180/yr
Entry
$86,860
Mid
$140,470
Senior
$216,280
+32% demand/yr32% AI risk
Penetration TestingSIEMPythonOWASP
Full Security Engineer salary data โ†’
Verdict

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

DevOps Engineer vs Security Engineer โ€” Salary by City

National median figures in USD across top cities.

CityDevOps EngineerSecurity EngineerDifference
San Francisco, CA$143,393$188,453DevOps $45,060
New York, NY$119,390$140,470DevOps $21,080
Seattle, WA$138,602$186,157DevOps $47,555
Austin, TX$109,601$141,154DevOps $31,553
Chicago, IL$106,405$136,578DevOps $30,173
Boston, MA$130,457$169,875DevOps $39,418
London, UKยฃ75,853ยฃ103,925DevOps $28,072
Toronto, CanadaCA$135,262CA$169,373DevOps $34,111
Pay Gap
30%
Security Engineer earns more
Demand Growth
28% vs 32%
DevOps Engineer vs Security Engineer YoY
AI Risk
38% vs 32%
DevOps Engineer vs Security Engineer

Frequently Asked Questions

Does a DevOps Engineer or Security Engineer earn more?+

A Security Engineer earns more on average. The national median salary for a DevOps Engineer is $99,130/year, compared to $129,180/year for a Security Engineer โ€” a difference of $30,050 (30%).

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

DevOps Engineer roles are growing at 28% YoY while Security Engineer demand is growing at 32% YoY. Security Engineer has stronger near-term demand growth.

Can you switch from DevOps Engineer to Security Engineer?+

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 โ€” DevOps Engineer or Security Engineer?+

Security Engineer has a lower AI automation risk (32% vs 38%). Based on Oxford Martin School and McKinsey 2023 analysis.