One of the first questions every project team asks is: “How long will the audit take?”
The honest answer is almost always “it depends.” But that does not mean the process is mysterious. After reviewing dozens of engagements at Panda Security, we can give clear ranges and explain exactly what drives the timeline.
In 2026, a solid smart contract audit typically takes anywhere from a few days to several months. The difference comes down to code size, logic complexity, documentation quality, and how prepared the team is when the audit starts.
Here is a realistic snapshot based on current industry practice:
| Project Type | Approximate Lines of Code | Typical Duration |
|---|---|---|
| Simple ERC-20 / ERC-721 token | < 1,000 | 3–10 business days |
| Staking, vesting, basic governance | 1,000–3,000 | 2–4 weeks |
| Standard DeFi (AMM, lending, vault) | 3,000–8,000 | 3–6 weeks |
| Complex multi-contract or cross-chain | 5,000–15,000+ | 6–12 weeks |
| Bridges, ZK systems, novel protocols | High complexity | 2–6 months |
These numbers cover the active review period. They do not include the time needed to book a slot with a reputable firm or the time required for remediation and re-verification.
Many teams only think about the “audit days.” In reality the complete process has several stages:
Top-tier firms often have queues of four to twelve weeks. Even mid-tier firms can be booked solid for a month or more during busy periods.
We recommend reaching out at least two to three months before your target audit start date. Provide a clear scope early so the firm can give an accurate estimate.
Once the engagement begins, auditors spend time understanding the architecture, reading documentation, and setting up the environment. Good documentation and a stable codebase at this stage can shave days off the overall schedule.
This is where most of the calendar time sits. Auditors combine automated tools (static analysis, fuzzing, symbolic execution) with deep manual review of business logic and economic assumptions. Complex interactions and novel mechanisms require significantly more time than straightforward token logic.
After the review, the team compiles findings, severity ratings, and recommended fixes. A high-quality report usually takes several days to finalize.
Almost every project needs to address issues. Critical and high-severity findings must be fixed and then re-checked by the auditors. Skipping or rushing this step is one of the most common causes of post-launch problems.
Once fixes are verified, the final report is issued. Many teams also choose to publish a public version for community transparency.
When you add everything together, a mid-size DeFi protocol that needs a four-week review often requires six to eight weeks of total calendar time from kickoff to final report.
Several factors matter more than raw line count:
Logic density
A 500-line cross-chain bridge or ZK verifier usually takes longer than a 3,000-line standard ERC-20. Novel financial mechanisms, custom math, and intricate state transitions demand careful manual analysis.
Number of contracts and external integrations
Every additional contract and every external dependency (oracles, other protocols, bridges) expands the attack surface that auditors must understand.
Code quality and documentation
Clean, well-commented code with high test coverage and clear specifications speeds the process dramatically. Messy or poorly documented code forces auditors to reverse-engineer intent, which slows everything down.
Upgradeability and proxies
Proxy patterns require reviewers to examine both the current implementation and the entire upgrade path. This adds measurable time.
Urgency
Rush requests are possible but usually come with higher fees and, more importantly, reduced depth. Compressing a four-week audit into one week almost always means something important gets less attention.
Language and chain
Solidity on EVM is the most common and therefore the fastest to staff. Rust (Solana), Move, Cairo, or other ecosystems often require specialized expertise and can extend timelines.
Projects that finish audits on schedule usually do three things well:
At Panda Security we also encourage teams to run internal static analysis and basic fuzzing before the formal engagement. Catching obvious issues early means the professional auditors can spend their time on deeper problems.
Build buffer into your launch schedule. Ending the audit the same week you plan to go live is a classic mistake. Leave at least one to three weeks after the final report for last-minute fixes, deployment preparation, and any required re-verification.
If your protocol is complex or novel, consider a staged approach
On 4 December 2026, an attacker flash-borrowed 50 million USDC from Morpho, deposited it into the PeakDeFiFund contract through depositUSDC() while registering their own referrer contract, and captured 99.9692% of the current referral cycle's commission weight in the same block — because the fund paid referral commissions based on the balance at redemption time rather than deposits that persisted across a cycle. The fund paid out 33,819.89 USDC, the attacker burned the temporary shares, withdrew the principal, repaid the flash loan, and kept ~15,219 USDC plus ~1.07 ETH.
On 5 December 2026, an attacker used the buyTargetNFT() function in TokenWorks' NFTStrategy contracts to point a strategy vault at Seaport, list the vault's entire NFT inventory as its own seller at 1 wei each — skipping the marketplace signature check because the offerer was the caller — and drain ~418 NFTs across Chimpers, Quirkies and Sweeps in a single block; 343 Chimpers were recovered to the treasury within four hours via an ERC721C blacklist.
On 3 December 2026, an unauthorized Wormhole price message published from the attacker's own Base wallet set SPY's price to $2 billion on Hydration, turning a 0.01 SPY deposit into roughly $20 million of paper collateral and enabling 19 borrows across 17 assets in about 90 seconds; approximately 1,421 ETH (~$2.23M) left the protocol.
On 2 December 2026, an attacker turned 1 APE into 268,435,456 book APE in a single transaction by abusing ApeChain's native yield accounting during SELFDESTRUCT reverts, then bridged 138 million of them through the official LayerZero route and released 138 million real APE from the ApeCoin Staking contract on Ethereum — about $9.87M.