QR codes can have varying expiration periods depending on the creator's settings. While some QR codes may have unlimited validity, others may be set to expire after a certain timeframe, typically to ensure the accuracy and relevance of the encoded information.