Security Engineer vs Penetration Tester: 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
Security Engineer
$129,180
Higher Pay
Penetration Tester
$129,180
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 โ†’
Technology

Penetration Tester

Conduct authorised attacks on systems to find and report vulnerabilities.

National Median
$129,180/yr
Entry
$86,860
Mid
$140,470
Senior
$216,280
+30% demand/yr22% AI risk
Kali LinuxMetasploitBurp SuiteOSCP
Full Penetration Tester salary data โ†’
Verdict

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

Security Engineer vs Penetration Tester โ€” Salary by City

National median figures in USD across top cities.

CitySecurity EngineerPenetration TesterDifference
San Francisco, CA$188,453$193,496Security $5,043
New York, NY$140,470$140,470Security +$0
Seattle, WA$186,157$188,841Security $2,684
Austin, TX$141,154$145,769Security $4,615
Chicago, IL$136,578$135,251Security +$1,327
Boston, MA$169,875$171,501Security $1,626
London, UKยฃ103,925ยฃ102,480Security +$1,445
Toronto, CanadaCA$169,373CA$166,911Security +$2,462
Pay Gap
0%
Security Engineer earns more
Demand Growth
32% vs 30%
Security Engineer vs Penetration Tester YoY
AI Risk
32% vs 22%
Security Engineer vs Penetration Tester

Frequently Asked Questions

Does a Security Engineer or Penetration Tester earn more?+

A Security Engineer earns more on average. The national median salary for a Security Engineer is $129,180/year, compared to $129,180/year for a Penetration Tester โ€” a difference of $0 (0%).

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

Security Engineer roles are growing at 32% YoY while Penetration Tester demand is growing at 30% YoY. Security Engineer has stronger near-term demand growth.

Can you switch from Security Engineer to Penetration Tester?+

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

Which is harder to automate โ€” Security Engineer or Penetration Tester?+

Penetration Tester has a lower AI automation risk (22% vs 32%). Based on Oxford Martin School and McKinsey 2023 analysis.