Data Scientist 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
Data Scientist
$120,230
Security Engineer
$129,180
Higher Pay
Technology

Data Scientist

Analyse large datasets and build predictive models to drive decisions.

National Median
$120,230/yr
Entry
$79,870
Mid
$135,980
Senior
$216,030
+36% demand/yr40% AI risk
PythonMachine LearningSQLStatistics
Full Data Scientist 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 $8,950/year (7%) higher than a Data Scientist. However, salaries vary significantly by city, employer, and experience level โ€” see the city-by-city breakdown below.

Data Scientist vs Security Engineer โ€” Salary by City

National median figures in USD across top cities.

CityData ScientistSecurity EngineerDifference
San Francisco, CA$176,777$188,453Data $11,676
New York, NY$135,980$140,470Data $4,490
Seattle, WA$173,186$186,157Data $12,971
Austin, TX$130,733$141,154Data $10,421
Chicago, IL$132,415$136,578Data $4,163
Boston, MA$156,115$169,875Data $13,760
London, UKยฃ78,216ยฃ103,925Data $25,709
Toronto, CanadaCA$134,265CA$169,373Data $35,108
Pay Gap
7%
Security Engineer earns more
Demand Growth
36% vs 32%
Data Scientist vs Security Engineer YoY
AI Risk
40% vs 32%
Data Scientist vs Security Engineer

Frequently Asked Questions

Does a Data Scientist or Security Engineer earn more?+

A Security Engineer earns more on average. The national median salary for a Data Scientist is $120,230/year, compared to $129,180/year for a Security Engineer โ€” a difference of $8,950 (7%).

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

Data Scientist roles are growing at 36% YoY while Security Engineer demand is growing at 32% YoY. Data Scientist has stronger near-term demand growth.

Can you switch from Data Scientist to Security Engineer?+

Yes. Many professionals transition between these roles, especially since both are in the same category. Shared skills include: Python.

Which is harder to automate โ€” Data Scientist or Security Engineer?+

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