The typical ethical hacker salary is based on your knowledge and understanding of cybersecurity, computer programming, computer networks, and more. Certifications and experience can boost your salary as an ethical hacker in just a short time.
![[Featured image] Ethical hacker searches for holes in a computer system using three monitors.](https://d3njjcbhbojbot.cloudfront.net/api/utilities/v1/imageproxy/https://images.ctfassets.net/wp1lcwdav1p1/5tSLdMVr9lMndE0RCTCKVP/8b78fe75c2949b06897eeef6af491be0/GettyImages-1205489097__1_-converted-from-jpg.webp?w=1500&h=680&q=60&fit=fill&f=faces&fm=jpg&fl=progressive&auto=format%2Ccompress&dpr=1&w=1000)
According to Glassdoor, an ethical hacker's salary can reach a median total of $174,000 per year [1].
According to Payscale, a certified ethical hacker’s salary can be $96,490 [2].
Penetration tester, a role losely related to ethical hacker, earns a median total salary of $155,000, according to Glassdoor [3].
According to Salary.com, ethical hackers get paid an average annual salary of $105,641 [4]. Discover more about an ethical hacker’s salary and the factors that may influence it. If you’re ready to sharpen your ethical hacking skills, enroll in the IBM Ethical Hacking with Open Source Tools Professional Certificate. In as little as two months, you can learn about vulnerability scanning, penetration testing, threat management, incident response, and more.
The median total ethical hacker salary in the United States is $174,000, according to Glassdoor [1]. This figure includes base salary and additional pay, which may represent profit-sharing, commissions, bonuses, or other compensation. How much you earn will depend on several factors, including your level of experience, education, industry, company, location, and whether you have relevant certifications. Average US base salaries for ethical hackers, as of July 2026, are as follows [1, 5, 4, 6]:
| Glassdoor | ZipRecruiter | Salary.com | Payscale |
|---|---|---|---|
| $174,000 | $135,269 | $105,641 | $99,056 |
Salary aggregate websites often rely on data submitted by individuals using the site. Some websites may have received larger amounts of higher- or lower-than-average salaries, affecting the site’s calculated average.
An ethical hacker, or white hat hacker, performs simulated attacks on an organization’s network so that it can build defenses against malicious hackers. They possess a deep understanding of cutting-edge hacking techniques and help organizations boost their security against cyberattacks. Since today’s organizations have a vast amount of data stored within their networks and in the cloud, they require the skilled work of ethical hackers to improve their cybersecurity and identify and resolve any vulnerabilities.
Read more: 10 Common Types of Cyberattacks and How to Prevent Them
The wide pay range for an ethical hacker suggests there may be many opportunities for advancement and increased pay based on certifications, skill level, education, location, experience, and expertise.
One of the most impactful factors in determining your salary potential is experience. Ethical hackers may receive a bump in pay every year they’re employed. For example, consider the annual median total pay by years of experience in the US, according to Glassdoor [1]:
0–1 year of experience: $118,000
1–3 years of experience: $141,000
4–6 years of experience: $168,000
7–9 years of experience: $198,000
All salary information represents the median total pay from Glassdoor as of July 2026. These figures include base salary and additional pay, which may represent profit-sharing, commissions, bonuses, or other compensation.
Generally speaking, more education tends to correlate with higher salaries. In penetration and vulnerability testing, 54 percent of job listings request at least a bachelor's degree [7]. While this ultimately depends on the company and your unique circumstances, having a graduate degree could lead to a higher-paying ethical hacking salary.
Earning a certification in ethical hacking or cybersecurity can validate your skills to potential employers, which could translate to an increase in pay. According to Payscale, those with a Certified Ethical Hacker (CEH) credential earn an average base pay of $96,490 [2].
Pursuing a career in cybersecurity could lead to a range of career paths and roles. Here are a few different job titles to consider, along with their median total salaries in the US, according to Glassdoor (July 2026):
Computer forensic analyst: $151,000 [8]
Cryptography analyst: $127,000 [9]
Cybersecurity analyst: $128,000 [10]
Penetration tester: $155,000 [2]
Cybersecurity consultant: $152,000 [11]
Security engineer: $172,000 [12]
All salary information represents the median total pay from Glassdoor as of July 2026. These figures include base salary and additional pay, which may represent profit-sharing, commissions, bonuses, or other compensation.
Subscribe to our weekly LinkedIn newsletter, Career Chat, for industry updates, tips, and trends. Then, explore free resources related to ethical hacking to optimize your professional growth:
Watch on YouTube: Red Team Roles Explained for Beginners
Read our Career Chat issue: How AI Is Changing Cybercrime and Cybersecurity
Explore a career path: Ethical Hacking Learning Roadmap: From Beginner to Expert
Whether you want to develop a new skill, get comfortable with an in-demand technology, or advance your abilities, keep growing with a Coursera Plus subscription. You’ll get access to over 10,000 flexible courses.
Glassdoor. “How Much Does an Ethical Hacker Make?, https://www.glassdoor.com/Salaries/us-ethical-hacker-salary-SRCH_IL.0,2_IN1_KO3,17.htm.” Accessed July 20, 2026.
Payscale.com. “Average Certified Ethical Hacker (CEH) Salary, https://www.payscale.com/research/US/Job=Certified_Ethical_Hacker_(CEH)/Salary.” Accessed July 20, 2026.
Glassdoor. “Penetration Tester Salaries, https://www.glassdoor.com/Salaries/penetration-tester-salary-SRCH_KO0,18.htm.” Accessed July 20, 2026.
Salary.com. “Ethical Hacker Salary in the United States, https://www.salary.com/research/salary/posting/ethical-hacker-salary.” Accessed July 20, 2026.
ZipRecruiter. “Ethical Hacker Salary, https://www.ziprecruiter.com/Salaries/Ethical-Hacker-Salary.” Accessed July 20, 2026.
Payscale. “Average Ethical Hacker Salary, https://www.payscale.com/research/US/Job=Ethical_Hacker/Salary.” Accessed July 20, 2026.
CyberSeek. “Cybersecurity Career Pathway, https://www.cyberseek.org/pathway.html.” Accessed July 20, 2026.
Glassdoor. “Computer Forensics Analyst Salaries, https://www.glassdoor.com/Salaries/computer-forensics-analyst-salary-SRCH_KO0,26.htm.” Accessed July 20, 2026.
Glassdoor. “Cryptography Analyst Salaries, https://www.glassdoor.com/Salaries/cryptography-analyst-salary-SRCH_KO0,20.htm.” Accessed July 20, 2026.
Glassdoor. “Cybersecurity Analyst Salaries, https://www.glassdoor.com/Salaries/cybersecurity-analyst-salary-SRCH_KO0,21.htm.” Accessed July 20, 2026.
Glassdoor. “Cybersecurity Consultant Salaries, https://www.glassdoor.com/Salaries/cybersecurity-consultant-salary-SRCH_KO0,24.htm.” Accessed July 20, 2026.
Glassdoor. “Security Engineer Salaries, https://www.glassdoor.com/Salaries/security-engineer-salary-SRCH_KO0,17.htm.” Accessed July 20, 2026.
Editorial Team
Coursera’s editorial team is comprised of highly experienced professional editors, writers, and fact...
This content has been made available for informational purposes only. Learners are advised to conduct additional research to ensure that courses and other credentials pursued meet their personal, professional, and financial goals.