Do QR Codes Expire? | Static vs Dynamic QR Codes and Why They Stop Working
“How long will this QR code keep working?” is a question that can be surprisingly hard to answer. The short answer is that a QR code itself never expires. Expiry comes from QR codes that can be redirected later, or from the page they link to. This guide covers the difference between static and dynamic QR codes, the three ways a code “expires”, and what to do if you want to change the link after printing.
A QR code itself has no expiry date
A QR code is “text drawn as a picture”: a string converted into a pattern of black and white squares. When a camera reads it, the original string is rebuilt from that pattern, and if it is a URL the browser opens it. Nothing is fetched from a server to decode the code, so the picture itself can never become too old to use.
In other words, a QR code with a URL embedded directly will still scan successfully even if it was printed ten years ago. Whether the result is “page not found” is a question about the destination, not about the QR code. Keeping these two apart answers almost every question about expiry.
Static vs dynamic QR codes
Answers about expiry differ because there are two ways to make a QR code: a “static” code that embeds the destination URL itself, and a “dynamic” code that embeds a short relay URL which forwards visitors on. Both look like the same black and white squares, but they behave completely differently.
| Item | Static QR | Dynamic QR |
|---|---|---|
| What is embedded | The destination URL itself | A short URL on the relay service |
| Changing the link afterwards | Not possible (make a new code) | Possible |
| Counting scans | Not possible | Possible |
| Cost | Completely free | Usually a monthly fee or limited free use |
| Expiry | Effectively none | Stops working when the plan or free tier ends |
| Density of the squares | Longer URLs mean finer squares | Short URL, so coarse and easy to read |
Dynamic QR codes are handy because you can swap the destination after printing and count how many times they are scanned. Their weakness is dependence on the relay service: if the service shuts down or the free period ends, every printed code stops working at once.
- Static is enough for things whose link will not change, such as one-off event notices, business cards and internal notices.
- Dynamic suits things you may need to redirect later, such as posters that stay up for a long time, product packaging and signs.
- If you want scan counts for measuring results, consider dynamic codes or the own-domain redirect described below.
- The more copies you distribute, the more it costs to remake a static code you cannot fix later. Let the print run inform your choice too.
Three reasons a code “expires” and stops working
Situations where people say “the QR code has expired” fall into three causes. In none of them is the picture itself broken; the problem lies beyond it.
- 1
The free trial ends
Many services that let you create dynamic QR codes for free stop forwarding after a set period or number of scans. A typical sign is a landing page saying “this QR code has expired” when you scan it. Before printing, always check how long the free use lasts.
- 2
The URL shortener shuts down or changes its rules
This happens when a short URL is turned into a static QR code as it is. If the shortener shuts down, the forwarding target is lost: the code still works, but the destination has vanished. For long-lived printed material it is safer not to put a shortener in between.
- 3
The destination page is deleted or its URL changes
Campaign pages taken down, URLs changed by a site redesign, or an expired custom domain. In this case, either remake the QR code or set up a redirect from the old URL to the new one on the website.
Keeping the link changeable after printing
You can get the same “redirect later” ability as a dynamic QR code without a paid service: prepare one redirect URL on a domain you control and turn that URL into the QR code. The basic steps for creating a code are in how to make a QR code, and how to troubleshoot a printed code that will not scan is in what to do when a QR code won’t scan.
- 1
Decide on the redirect URL
For example, set up a short path such as /go/spring on your own site. That URL is the only thing you put in the QR code. Because it is short, the squares are coarse and the code holds up well in print.
- 2
Set where it redirects to
Use your server’s redirect settings, your CMS’s redirect feature, or a redirect rules file on a static site to send /go/spring to the real page. When you want to change the destination, edit only this setting.
- 3
Create the QR code
Enter the redirect URL, generate the QR code and save it at a size suitable for print. The QR Code Generator lets you choose a size from 128 to 1024 px and export it as PNG.
- 4
Scan it on real devices before printing
Do a test print on the actual paper at the actual size and check that it scans on both iPhone and Android. Also check at this stage that the redirect works and lands on the intended page.
- Shorter redirect URLs are better. Long URLs make the squares finer, and accuracy drops when the code is printed small.
- Visits can be counted in your site’s analytics, so you can measure scans yourself as well.
- If you forget to renew the domain, this method stops redirecting too. For long-term displays, keeping track of the renewal date is a prerequisite.
- If one sheet carries several QR codes, give each purpose its own redirect URL so you can tell which one people used.
Checklist before you print
Printed material cannot be fixed once it has been printed. Check the following points before distribution and you will avoid almost all expiry and scanning problems.
| Check | Guideline | Why |
|---|---|---|
| Length of the embedded string | URL of 100 characters or fewer | The longer it is, the finer and harder to read the squares |
| Print size | At least 2 cm square | Too small and the scanning distance becomes extremely short |
| Margin (quiet zone) | 4 modules all round the code | It may not be recognised if it touches the background |
| Colour contrast | A dark colour on a light colour | Inverted or pale colours cause more scan failures |
| How long the destination stays online | Longer than the display period | The page going offline is the real expiry date |
- The white band around the edge of the generated image is part of the code. Do not crop it off as if it were design margin; leave it as it is and, if needed, add more space outside it.
- The QR Code Generator lets you set the foreground and background colours, but avoid combinations with little difference in brightness. A dark foreground on a light background is the basic rule.
- Thanks to error correction, a little dirt or fading is still readable. If you overlay a logo, keep the covered area to a minimum and always test on real devices.
- Keep print data in a lossless format such as PNG and avoid scaling it up and down repeatedly. Blurred square edges lower the scan rate.
- Print the URL as text near the QR code as well, so people who cannot scan it can type it in.
FAQ
- Do QR codes have an expiry date?
- A static QR code with the URL embedded directly has no expiry. The code is a string turned into black and white squares, so it still scans no matter how much time passes. It only seems to expire when the plan for a dynamic QR code (one whose destination can be changed later) ends, or when the destination page is deleted.
- Should I choose a dynamic or a static QR code?
- Static is enough for business cards and event notices whose link will not change. It is free and never expires. Dynamic suits things you may need to redirect later, such as long-running posters and product packaging. Dynamic codes depend on a relay service, though, so make sure you can accept the risk of them all stopping at once if the service closes or the free tier ends.
- What can I do if I want to change the destination after printing?
- If you prepare a redirect URL on your own domain, you can change the destination just by editing that redirect. The key is to put only the redirect URL in the QR code. If you did not prepare this, you will need to set up a redirect from the old URL to the new one on the destination website, or remake the QR code.
- Is it safe to use a free QR code generator?
- If it only creates static QR codes, there is no problem. The generated image stays with you and cannot be disabled later for the service’s own reasons. The ones to watch for claim to be free but route scans through a relay service. These may limit the free period or number of scans, so check the terms before you print.
Tools in this article
Related articles
What Is SVG? | How It Differs from PNG and JPEG, and How to Convert It When It Won’t Open
You receive a logo and it turns out to be an SVG file, or you try to put it in a document and it won’t insert. SVG is a handy format that never loses quality when enlarged, but it only works in certain places. This guide covers how SVG differs from PNG and JPEG, what SVG is and isn’t good for, and how to convert it to PNG when it won’t open.
Read article →How to Remove Location Data from Photos: Check EXIF Before Posting to Social Media
Photos taken with a smartphone may contain the latitude and longitude of where they were taken. This guide explains what is recorded in a photo, which ways of sharing keep that data and which strip it, and how to check and remove location data on each type of device.
Read article →Image Resolution vs. DPI: How Many Pixels You Need for Web and Print
When a print shop tells you to “submit at 350 dpi,” it’s hard to tell whether the image you have meets the requirement. In fact, the only real substance of an image is its pixel count; dpi is just an instruction for how many centimeters or inches to print those pixels across. This guide covers the relationship between resolution, dpi, and pixels, how to calculate the pixels you need from a paper size, and why dpi has nothing to do with how images look on the web.
Read article →