A penetration test usually involves one to three weeks of active testing for a single external, internal, application or API scope, based on Canary Trap’s published engagement timelines. The full engagement takes longer: scoping, reporting and retesting sit on either side of the testing window, and an external test typically fits inside a six-to-eight-week window from scoping to final report.
That is the short answer. The longer answer is that “how long” depends far more on scope than on the testing firm, and that buyers often underestimate the time spent before and after the testers start work. This guide breaks the timeline down by phase and by test type, explains what stretches or shortens it, and shows how to plan backwards from an audit, renewal or launch date.
How long does a penetration test take, end to end?
Think of a penetration test as three blocks of time, not one:
- Before testing: scoping, rules of engagement, access and credentials, and scheduling.
- Active testing: the window in which testers are discovering, validating and exploiting weaknesses.
- After testing: reporting, findings review, remediation by your team and retesting of fixes.
Standards bodies describe engagements the same way. The PCI Security Standards Council’s Penetration Testing Guidance divides a test into pre-engagement, engagement and post-engagement, and states that engagements “may last days or weeks depending on the scope of the test and size of the environment to be tested.” The UK National Cyber Security Centre’s penetration testing guidance describes a typical pattern of initial engagement, scoping, testing, reporting and follow-up, and notes that the scoping document should state the timeframe and effort needed, “usually given in terms of resource days.”
For a public-sector reference point, CISA’s Risk and Vulnerability Assessment fact sheet (February 2022) lists one week of external testing and one week of internal testing in its execution phase, with a final review and report provided within 10 days of assessment completion. That is CISA’s own service model rather than a universal standard, but it illustrates the same shape: a short, defined testing window bracketed by planning and reporting.
What are the phases of a penetration test, and how long does each take?
NIST’s SP 800-115, Technical Guide to Information Security Testing and Assessment, describes four phases of penetration testing: planning, discovery, attack and reporting. In the planning phase, “rules are identified, management approval is finalized and documented, and testing goals are set,” and NIST is explicit that “no actual testing occurs in this phase.” Planning time is real time on the calendar, even though nobody is testing yet.
Canary Trap’s methodology, as described on our Why Canary Trap page, runs through five steps: Define, Assess, Report, Remediate and Verify. Here is where the time typically goes in each step.
1. Define: scoping and rules of engagement
Scoping confirms what is in and out of bounds, the testing objectives, timelines, testing windows, escalation contacts and communication process. The NCSC recommends that scoping involve the relevant risk owners, technical staff who know the target system and a representative of the testing team. CISA’s penetration testing service description notes that a signed Rules of Engagement describes the scope, and that tests “will only occur during agreed upon scheduled times on pre-determined systems.”
How long this takes depends mostly on you: how quickly you can name the targets, provision test accounts, approve the rules of engagement and line up a technical point of contact. For application work, Canary Trap’s typical lead time is two to four weeks. Our penetration test scoping guide covers what to have ready.
2. Assess: active testing
This is the part most people mean when they ask how long a pen test takes. For most single-scope engagements at Canary Trap (external, internal network, application, API or AI/LLM), active testing runs one to three weeks. The table below breaks this down by test type.
3. Report: findings and debrief
Reporting turns evidence into decisions. A useful report includes an executive summary, findings prioritized by exploitability and business impact, proof of exploitation and practical remediation guidance, followed by a findings review with your team. For external testing, Canary Trap’s scoping-to-final-report timeline typically fits inside six to eight weeks.
4 and 5. Remediate and verify: fixing and retesting
The remediation clock is yours, and it is often the longest part of the overall timeline. PCI SSC guidance states that exploitable vulnerabilities found during testing must be corrected and testing repeated to verify that the weaknesses have been addressed. Canary Trap includes retesting of remediated findings within a defined window after report delivery for its external, internal network, application and API penetration tests, so fixes are confirmed rather than assumed. See our guide to penetration test remediation for how to plan that work.
How long does each type of penetration test take?
The durations below are taken from Canary Trap’s published service descriptions. They describe typical engagements; your scoping call sets the actual schedule.
| Engagement type | Typical duration at Canary Trap | What moves the timeline |
|---|---|---|
| External penetration test | 1–3 weeks of active testing; scoping to final report typically within 6–8 weeks | Size of the attack surface |
| Internal network penetration test | 1–3 weeks of active testing | Scope, network complexity, access model, number of sites, testing objectives |
| Application penetration test (web and mobile) | 1–3 weeks of active testing; typical lead time 2–4 weeks | Number of applications, roles and workflows in scope |
| API penetration test | 1–3 weeks of active testing | Endpoint count, authentication models, number of roles, API complexity, documentation quality |
| AI and LLM penetration test | 1–3 weeks of active testing | Feature complexity, data access, retrieval architecture, agent behaviour, roles, integrations |
| Microsoft 365 Security Controls Review | 1–2 weeks for assessment and reporting | Tenant complexity, licensing, access model, review objectives |
| Purple Team Exercise | 1–3 weeks | Number of techniques, tuning depth, environments, defensive stakeholders |
| OT penetration test | 2–4 weeks | Number of facilities, access logistics, operational constraints |
| Secure Code Review | Typically four weeks | Number of repositories, code paths, languages and frameworks |
| Red Team Exercise | 4–8 weeks end to end | Objectives, scenario complexity, stakeholder awareness, depth, purple team replay |
| Wireless assessment and Cloud Configuration Review | Confirmed during scoping | Locations, networks and segmentation (wireless); provider, accounts and environment complexity (cloud) |
Two patterns stand out. First, single-scope technical tests cluster in the same one-to-three-week band because the work is bounded by a defined target list. Second, adversarial engagements run longer because they are objective-driven rather than target-driven. A red team has to plan, gain access quietly and work toward a goal, and our breakdown of red team engagement phases and timelines shows how that time is spent phase by phase. Red team engagements do not include a retest; improvements are validated in a follow-up purple team exercise or the next engagement.
What makes a penetration test take longer?
Scope is the dominant factor, and the standards say so directly. Beyond the sheer number of targets, these are the drivers practitioners see most often:
- Scope growth mid-test. PCI SSC guidance notes that tests “may grow in time and complexity if efforts uncover additional scope,” and the NCSC warns that a scope change “is likely to alter testing time frames and cost.”
- Restrictions to avoid disruption. PCI SSC guidance states that attempts to avoid disruption “may increase the time, resources and complexity of the testing.” Fragile production systems, restricted testing windows and change freezes all add calendar time.
- Off-hours testing. NIST SP 800-115 notes that some tests should be run during periods of low network traffic and that port scanning can be conducted after hours to minimize operational impact. Limiting testing to nights or weekends spreads the same effort over more days.
- Stealth and covert objectives. NIST describes covert testing as “often time-consuming and costly due to its stealth requirements,” which is why red team timelines are measured in weeks rather than days.
- Black-box testing. PCI SSC guidance notes that black-box testing may require more time and resources than tests where the assessor is given information about the environment.
- Access and credential delays. Authenticated application, API and internal tests cannot start until test accounts, VPN access or a testing device are ready.
- Remediation pace. Retesting can only happen once fixes are deployed, so the end date of a compliance-driven engagement often depends on your engineering backlog.
What makes a penetration test faster?
- A clear, written scope: target lists, IP ranges, application URLs, user roles and anything out of bounds, agreed before the kickoff.
- Credentials and access ready on day one: test accounts for every role in scope, API documentation and any required network access.
- A reachable technical contact: both the NCSC and CISA emphasize a technical point of contact available throughout testing, so questions and urgent findings do not stall the work.
- A known deadline: if you are working back from an audit, customer review or launch, share the date during scoping so the schedule can be built around it.
- Remediation capacity reserved in advance: plan engineering time for fixes so the retest is not waiting on a sprint that has not been scheduled.
How do compliance deadlines affect the timeline?
Compliance requirements usually dictate when a test must be complete rather than how long it takes. The FedRAMP Penetration Test Guidance (version 3.0) states that the initial penetration test “must be performed no more than 6 months prior to the submission of the SAR,” and that during continuous monitoring additional testing must be performed at least every 12 months. It also requires a test schedule with start and end dates for each testing period.
For SOC 2, ISO 27001 and PCI DSS work, the practical question is whether the report, and ideally the retest results, will be in hand before the auditor needs them. Count backwards from the evidence deadline: remediation and retesting time, then reporting, then active testing, then lead time for scoping and access.
Illustrative example (hypothetical, not a client engagement): a SaaS company needs a web application test complete before its SOC 2 audit fieldwork. Using Canary Trap’s published ranges for application testing, a two-to-four-week lead time plus one to three weeks of active testing means the scoping call needs to happen well before the testing window, with additional time reserved after the report for remediation and retesting. If the deadline is tight, the scope and access readiness become the levers, and those should be discussed on the scoping call.
Frequently asked questions
How long does a full-scope red team engagement take?
Most Red Team Exercises at Canary Trap take four to eight weeks end to end, depending on objectives, scenario complexity, stakeholder awareness, depth and whether a purple team replay is included. Red team engagements are objective-driven and often covert, and NIST SP 800-115 notes that covert testing is often time-consuming due to its stealth requirements.
Can I get a penetration test booked and delivered before a SOC 2 deadline?
Often, but it depends on scope and readiness. For application testing, Canary Trap’s typical lead time is two to four weeks, followed by one to three weeks of active testing. Share your deadline on the scoping call so the schedule, including time for remediation and retesting, can be built backwards from it.
How long does a mobile app penetration test take?
Canary Trap tests web applications and native iOS and Android applications, including the APIs they depend on, as part of application penetration testing. Most application engagements run one to three weeks of active testing, depending on the number of applications, roles and workflows in scope.
Will a penetration test disrupt our operations while it runs?
Testing should run only during agreed, scheduled windows on pre-determined systems, as CISA’s service description states. NIST SP 800-115 notes that some activities, such as port scanning, can be conducted after hours to minimize operational impact. For external penetration tests, Canary Trap coordinates testing windows, rules of engagement and escalation contacts before testing begins, and destructive techniques are avoided.
Is retesting included in the penetration test timeline?
For Canary Trap external, internal network, application and API penetration tests, retesting of remediated findings is included within a defined window after report delivery. The retest timing depends on how quickly your team deploys fixes. Red team engagements do not include a retest.
What should I expect from a professional penetration testing service timeline?
Expect a scoping call and written rules of engagement before testing, a defined active testing window with a named technical contact, a report with prioritized findings and remediation guidance, a findings review, and a retest of remediated issues. NIST and the NCSC both describe engagements that begin with planning and end with reporting and follow-up, not just a testing window.
Plan your testing timeline
If you are working against an audit, customer review, renewal or launch date, the fastest way to a realistic schedule is a short scoping conversation. Book a scoping call with Canary Trap and bring your deadline; we will be direct about what fits and what does not.