Do QR Codes Expire? Static vs Dynamic Codes Explained
Do QR codes expire? Static codes never do, but dynamic codes can stop when a plan ends. Learn why a code stops working and how to make one that lasts.
Updated
QR codes do not expire by themselves. A static QR code is only text drawn as a pattern, with no date, timer or scan counter inside it, so it works for as long as the image can be read and the thing it points to still exists. Dynamic QR codes are the exception: they depend on a redirect service, and they stop working if that service deactivates the link. Codes from the QR Code Generator are static.
Static and dynamic codes
The difference is where the destination lives.
A static code contains the final content itself. If you encode https://example.com/menu, those exact characters are in the pattern, and a phone opens that address directly. Nobody sits in between.
A dynamic code contains a short link owned by a QR service, for example an address on the provider's domain. When scanned, the phone visits that short link and the provider's server forwards it to your real destination. Because the forward is stored on a server, the provider can change it, count scans, and also switch it off.
| Static | Dynamic | |
|---|---|---|
| What is in the pattern | Your actual URL or text | A short link on the provider's domain |
| Can it expire | No | Yes, if the provider deactivates it |
| Change the destination later | Not in the pattern | Yes, in the provider's dashboard |
| Scan statistics | Not from the code itself | Yes |
| Depends on a third party | No | Yes |
| Typical cost | Free | Often a subscription |
| Works for WiFi, plain text, contact details | Yes | Usually links only |
Neither kind is better in every case. Dynamic codes are useful for campaigns where you need statistics or expect the destination to change. The cost is a permanent dependency on the provider.
Why a QR code stops working
When a code "expires", one of these has usually happened:
- The dynamic plan ended. A free trial ran out, a subscription was cancelled, or a free tier's scan limit was reached. The short link now shows an error or an upgrade page.
- The provider shut down or changed its terms. Every code using its short links goes with it.
- The destination moved. The page was renamed, the file was deleted, or a shared document's link settings changed. The code still works. The address it holds does not.
- The domain lapsed. If the registration was not renewed, the address no longer resolves, or someone else now owns it.
- The content was time-limited by design. Tickets, payment requests, login codes and one-time links expire on the server, even though the pattern is static.
- The WiFi password changed. A WiFi code stores the password that was current when it was made.
- The print is damaged. Fading, scratches, creases or a sticker over part of the code can exceed what error correction can repair.
- The code is hard to read. Too small, low contrast, printed on a reflective or curved surface, or with no clear margin around it.
Only the first two are a real expiry of the code. The others are a dead destination or a reading problem, and they affect static and dynamic codes alike.
How to tell which kind you have
Scan the code and look at the address your phone shows before you open it. Most camera apps display a preview of the link.
- If it shows your own address, the code is static.
- If it shows a short link on a domain you do not recognize, and you then land on your page after a redirect, the code is dynamic.
For plain text, WiFi and contact codes, the content is always in the pattern, so they are static.
If you find that printed material depends on a dynamic code, note which account it belongs to and when the plan renews. That is the date the code can actually stop.
How to make a QR code that lasts
- Decide on a destination you control. A page on your own domain is best, such as
https://yourdomain.com/menu. Avoid encoding long links to files on services you might leave. - Open the QR Code Generator and paste the address into the URL or Text box.
- Choose an error correction level. The generator starts on H, the highest, which gives a print the most tolerance for wear. Level M makes a simpler pattern for clean, indoor use.
- Pick colors with strong contrast. The Classic preset is black on white, the safest choice for print.
- Download SVG for printing or PNG for screens.
- Scan the result with at least two different phones, then scan the printed proof again.
The pattern you download contains the address you typed and nothing else, so no account or plan stands behind it.
Keep the destination alive
The code will outlast most websites. The work is keeping the address valid.
- Use a short, permanent path on your own domain and keep it stable.
- If the content moves, add a redirect on your own server from the old path to the new one. This gives you the main benefit of a dynamic code, a destination you can change, without relying on a QR provider.
- Renew the domain, and set it to renew automatically.
- Use
https. Browsers show warnings on plainhttppages. - Do not encode links with expiring tokens, session IDs or tracking parameters you do not need. Shorter addresses also make simpler codes that scan faster.
- Keep the source SVG and a note of what the code contains, so it can be reprinted.
Print so it stays readable
A code that cannot be read is as dead as an expired one.
- Size: for print read at arm's length, about 2 cm (0.8 in) across is a common minimum. A rule of thumb for signs is one tenth of the scanning distance.
- Margin: keep clear space around the code, free of text and borders.
- Contrast: dark modules on a light background. Avoid light colors on dark, and avoid glossy lamination where reflections hide modules.
- Surface: flat is best. On bottles and cups, keep the code small enough that it does not wrap far around the curve.
- Outdoors: use UV-resistant print and the H error correction level, since sun fading and dirt are the usual killers.
For the details of how error correction repairs a damaged code, see how QR codes work.
Try it
Paste a link you control into the QR Code Generator, keep error correction on H for print, choose a high-contrast color preset, and download the SVG. The code holds your address directly, so it keeps working for as long as that address does.