How Often Should You Run a Penetration Test?
You should run a penetration test at least once a year and after any significant change to your application or infrastructure. That's the baseline most compliance frameworks and enterprise customers expect. Teams that ship weekly, handle sensitive data, or sell to security-conscious buyers should add continuous automated testing between annual tests, plus an extra human-led test before major releases. The real answer to "how often should you pentest" depends on three things: what your compliance obligations require, how fast your attack surface changes, and what a breach would cost you.
Below is what each major framework actually says, a risk-based way to set your cadence, the specific changes that should trigger an off-cycle test, and a sample schedule.
What compliance frameworks require
Most frameworks set a floor, not a target. Here's what they say about penetration test frequency:
| Framework | Penetration test frequency | Notes |
|---|---|---|
| PCI DSS v4.0.1 | At least every 12 months and after significant infrastructure or application changes (Req. 11.4) | Segmentation testing every 12 months (11.4.5), or every 6 months for service providers (11.4.6) |
| SOC 2 | No frequency set | CC4.1's points of focus list penetration testing as an example evaluation; your auditor and your own written controls set the cadence |
| ISO 27001:2022 | No explicit requirement | Supports A.8.8 and A.8.29; auditors commonly treat an annual test as the expectation |
| HIPAA (proposed rule) | At least every 12 months, plus vulnerability scanning every 6 months | From HHS's 2025 proposed Security Rule update, not yet a final rule |
| NIST SP 800-53 (CA-8) | Organization-defined frequency | CA-8 leaves the frequency to you; it has to be defined and followed |
Two patterns stand out. First, "annually" is the de facto minimum almost everywhere, whether it's written into the standard or just expected by auditors. Second, "after significant change" shows up repeatedly, and that's the clause most teams quietly ignore.
There's a catch with SOC 2 in particular. If your system description or control matrix says "annual penetration test," that sentence is now your requirement, and the auditor will test you against it. Write down a cadence you'll actually keep. For more detail, see does SOC 2 require penetration testing and ISO 27001 penetration testing requirements.
How often to run a penetration test: three risk-based tiers
Compliance sets the minimum. Your risk sets the right number. Place yourself in one of these tiers:
Tier 1: Annual test plus change triggers
Who: Products that change slowly. Quarterly releases or less, a small external footprint, no highly sensitive data.
Cadence: One human-verified pentest per year, an extra test after significant changes, and periodic automated scans of the external surface.
Tier 2: Annual or semi-annual test plus continuous automated testing
Who: Most SaaS startups. Weekly or daily deploys, a growing number of subdomains and APIs, customer data in scope, enterprise customers sending security questionnaires.
Cadence: A human-verified pentest annually (some teams do it every six months), with an extra authenticated test before major releases. Continuous automated testing of the external attack surface runs in between.
Tier 3: Continuous program plus multiple targeted tests a year
Who: Fintech, healthtech, payments, multi-tenant platforms with strict isolation needs, or anyone whose buyers ask for recent test evidence on every deal.
Cadence: Continuous automated testing, targeted human tests for each major feature or quarter, and an annual full-scope test that produces the audit report.
If you're between tiers, pick the higher one for the parts of the product that handle authentication, payments or tenant isolation, and the lower one for everything else. Cadence doesn't have to be uniform across your whole stack.
What counts as a "significant change"
This is where cadence actually breaks down. Annual tests are easy to schedule. Change-triggered tests require someone to recognize the trigger. PCI guidance gives examples such as new payment applications, major releases, cloud migrations, firewall or segmentation changes, and new third-party connectivity (summary). For a typical SaaS company, treat any of these as a trigger:
- [ ] New or replaced authentication (SSO, SAML, OAuth provider, passwordless, MFA changes)
- [ ] New roles or permission model, or changes to tenant isolation
- [ ] New public API or a new API version, including GraphQL
- [ ] Payments, billing or refund flows added or rebuilt
- [ ] Cloud migration, new cloud account, or major network or VPC change
- [ ] New file upload, import or webhook functionality
- [ ] Acquisition or merging another product's infrastructure into yours
- [ ] Adding LLM features that can call tools or read customer data (see penetration testing LLM applications)
- [ ] A security incident, even a minor one
The first six usually call for an authenticated test, because the risk lives behind the login.
Why "once a year" isn't enough on its own
An annual pentest answers "how secure were we during the test window?" For a team deploying daily, that window covers a small fraction of the year's changes. Meanwhile, exposure keeps appearing without any code change: a subdomain left pointing at a deleted service, a bucket made public during debugging, a newly disclosed CVE in a version you already run. We go deeper on this in why point-in-time pentests fail.
This is the gap continuous penetration testing fills. Automated, attacker-style testing runs on the external surface weekly or on deploy, and human tests run at the cadence above. The automation doesn't replace the annual test. It makes sure the annual test isn't the first time anyone notices an exposed admin panel.
A sample schedule (hypothetical)
Here's how a hypothetical Tier 2 company, a B2B SaaS app with one web app and a public API, preparing for its first SOC 2 Type II, might lay out a year:
| When | Activity | Output |
|---|---|---|
| Ongoing | Automated discovery and external testing, weekly re-scans | Findings in Jira, fixes verified on re-scan |
| Month 1 | Authenticated pentest before the audit window opens | Report + attestation letter |
| Month 2 | Retest of fixed high/critical findings | Updated report showing remediation |
| Month 6 | SSO launch, so a targeted authenticated test of the new auth flow | Short report on the change |
| Month 12 | Annual authenticated pentest | Report + attestation for the next audit period and customer reviews |
Note the month-2 retest. Auditors and enterprise reviewers care as much about whether you fixed findings as whether you found them. A report with ten open highs and no remediation evidence often raises more questions than having no report.
Balancing frequency and budget
Testing more often costs more, so spend where the risk is:
- Use automation for breadth and frequency. Recon, exposed services, secrets in JS bundles, cloud misconfigurations and TLS are cheap to test weekly.
- Use humans for depth. Access control, IDOR and business logic need an engineer and test accounts in every role.
- Scope human tests tightly when they're change-triggered. A test of just the new SSO flow costs less than a full re-test.
For current market rates, see how much a penetration test costs.
How SecurityInfinity maps to this cadence
For the continuous layer, SecurityInfinity's autonomous AI agents run recon, web, network and secrets checks against domains you've verified you own. Scans are read-only, and every finding includes evidence and exact remediation, ordered by severity. The Pro plan ($9/month or $90/year, see /pricing) includes continuous monitoring and re-scans, SOC 2, ISO and OWASP compliance mapping, and PDF, attestation and Jira exports. The free Starter plan covers one verified domain with 100 credits.
For the annual and change-triggered tests, the Startup Pentest is one-time, with no subscription, and delivers a report plus signed attestation letter in 3 business days. External testing starts at $499 per application. Authenticated testing starts at $999 per application and includes every user role, IDOR and business-logic review, SOC 2 and ISO 27001 mapping, and a free retest within 30 days, which covers the month-2 retest in the schedule above.
Not sure which tier you're in? Run a free scan. How much turns up on your external surface is a good indicator of how much drift happens between tests.
Frequently asked questions
How often should a penetration test be performed?
At minimum once a year and after any significant change to your application or infrastructure. Companies that ship frequently or handle sensitive data should add continuous automated testing between annual tests and run targeted human tests before major releases.
Is an annual penetration test enough for SOC 2?
Usually, yes. SOC 2 doesn't set a frequency, and an annual test is what most auditors expect to see. Whatever cadence you write into your controls becomes the requirement you're audited against, so make sure your process matches it. See SOC 2 penetration test for what auditors look for.
How often does PCI DSS require penetration testing?
PCI DSS v4.0.1 requirement 11.4 calls for internal and external penetration testing at least every 12 months and after significant infrastructure or application changes. Segmentation controls must be tested every 12 months, or every six months for service providers.
Should I pentest after every release?
Not after every release, but after releases that change your attack surface or trust boundaries: authentication, permissions, payments, new APIs, file handling or infrastructure. For routine releases, continuous automated testing of the deployed environment is a more practical way to catch regressions.
What's the difference between how often you pentest and how often you scan?
Vulnerability scanning and automated testing are cheap enough to run weekly or continuously, while human-led penetration tests usually happen annually or at specific triggers. The proposed HIPAA update reflects this split: vulnerability scanning every six months and penetration testing every 12 months. See vulnerability assessment vs penetration testing for how the two differ.