Nintendo eShop download codes for games and DLC generally do not have an expiration date unless one is specifically stated on the card or in the promotional terms. However there are some exceptions:
Promotional codes — codes given away through promotions, giveaways, or My Nintendo rewards often have an expiry date printed on the card or in the email. Always check the terms when receiving a promotional code.
Pre-order bonus codes — some pre-order bonus codes must be redeemed by a specific date or they will expire.
Nintendo eShop gift cards — the physical or digital card itself may have a redemption deadline, but once the funds are added to your Nintendo Account they do not expire.
Nintendo Switch Online codes — subscription codes activate immediately upon redemption and add time to your membership. The code itself does not expire but it is recommended to redeem it promptly.
Best practice: always redeem your Nintendo code as soon as possible after purchase. Storing unredeemed codes for long periods carries a risk — Nintendo closed the 3DS and Wii U eShops in 2023, making all unredeemed codes for those platforms worthless overnight. Redeeming immediately ensures your content is safely tied to your Nintendo Account.