The plain white border around a QR code is called the quiet zone, and it's doing real work — not decoration. It's the empty margin a scanner's camera uses to figure out where the QR pattern starts and ends.

Why removing it breaks scanning
Without a clear border, a scanner can't reliably separate the QR pattern from whatever's next to it — text, a logo, the edge of a busy poster background. The scan either fails outright or takes several extra seconds while the camera hunts for the edges, which feels broken even when it eventually works.
How much is enough
The standard recommendation is a margin of at least 4 "modules" wide (modules are the small individual squares that make up the pattern) on every side. In practice: don't crop tight, and don't place text, images, or busy backgrounds right up against the edge of the code.
The most common mistake
Designers trying to save space often shrink the white margin to fit a QR code into a tight layout — a sidebar, a corner of a business card. This is the single most common reason a QR code that "looked fine on screen" fails to scan once printed.
Our generator handles this automatically
Our generator builds a correctly sized quiet zone into every download by default — you don't need to add your own margin manually. If you're placing the downloaded file into another design tool, just don't crop into that white border.