Static analysis is a technique that automatically scans a codebase for vulnerabilities without running the code. For smart contracts, static analysis detects issues like reentrancy, access control flaws, and unsafe patterns faster than manual review.