Machine Learning 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
Machine Learning Engineer
$120,230
Higher Pay
Security Analyst
$89,555
Higher Pay
Technology

Machine Learning Engineer

Design and deploy machine learning models to production systems.

National Median
$120,230/yr
Entry
$79,870
Mid
$135,980
Senior
$216,030
+45% demand/yr22% AI risk
PythonTensorFlowPyTorchMLOps
Full Machine Learning 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

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

Machine Learning Engineer vs Security Analyst โ€” Salary by City

National median figures in USD across top cities.

CityMachine Learning EngineerSecurity AnalystDifference
San Francisco, CA$173,682$133,466Machine +$40,216
New York, NY$135,980$109,717Machine +$26,263
Seattle, WA$174,792$129,188Machine +$45,604
Austin, TX$134,974$98,064Machine +$36,910
Chicago, IL$129,773$98,234Machine +$31,539
Boston, MA$157,928$114,557Machine +$43,371
London, UKยฃ78,216ยฃ70,022Machine +$8,194
Toronto, CanadaCA$134,265CA$118,720Machine +$15,545
Pay Gap
34%
Machine Learning Engineer earns more
Demand Growth
45% vs 32%
Machine Learning Engineer vs Security Analyst YoY
AI Risk
22% vs 30%
Machine Learning Engineer vs Security Analyst

Frequently Asked Questions

Does a Machine Learning Engineer or Security Analyst earn more?+

A Machine Learning Engineer earns more on average. The national median salary for a Machine Learning Engineer is $120,230/year, compared to $89,555/year for a Security Analyst โ€” a difference of $30,675 (34%).

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

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

Can you switch from Machine Learning 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 โ€” Machine Learning Engineer or Security Analyst?+

Machine Learning Engineer has a lower AI automation risk (22% vs 30%). Based on Oxford Martin School and McKinsey 2023 analysis.