What is a good affiliate cookie duration?

by | May 7, 2026 | Affiliate Management, Articles

The affiliate cookie duration you set tells your affiliates how long they’ll get credit after someone clicks their link. Most programs use 30 to 90 days, but the right number depends on your sales cycle, your product type, and what your competitors are offering. Here’s how to figure out the right duration for your program.

Business owner reviewing affiliate program setup notes at a desk

If you’re setting up an affiliate program for the first time, cookie duration is one of those technical decisions that feels minor until you realize it directly affects how many commissions your affiliates actually earn. Set it too short and your best affiliates quietly resent you. Set it thoughtfully and it becomes one more reason top partners choose your program over someone else’s.

What is an affiliate cookie duration?

When someone clicks an affiliate link, a small tracking file called a cookie gets placed on their browser. That cookie tells your affiliate software that this visitor came from a specific affiliate. If that person comes back and makes a purchase, the affiliate gets credit for the sale, but only if the cookie is still active.

Cookie duration is how long that cookie stays valid. A 30-day cookie means the affiliate earns a commission on any purchase made within 30 days of the click. After day 31, the credit expires and the affiliate gets nothing from that visitor, even if the visitor eventually buys.

This matters because most people don’t buy the first time they visit a sales page. They leave, think about it, come back a week later, and then decide. If your cookie expired before they came back, your affiliate did the work and earned nothing. That’s a fast way to frustrate your partners and lose good affiliates to programs with better terms. For a deeper look at one of the strongest options, read why some programs use lifetime cookies and what that means for your affiliates.

What are typical affiliate cookie durations?

There’s no universal standard, but most programs cluster around a few common windows:

  • 30 days is the most common default, and it works for a lot of programs with short consideration periods
  • 60 days gives affiliates a bit more runway and tends to go over well with partners who promote to email lists
  • 90 days is common for higher-ticket products where buyers take longer to decide
  • 6 months or 1 year appears in programs with long sales cycles, like SaaS products or courses with extended launches
  • Lifetime cookies track a visitor permanently, which is a significant competitive advantage in affiliate recruitment

Amazon Associates uses 24 hours, which is famously stingy. Most creators running their own programs set something longer. The sweet spot for digital products like courses, memberships, and software tends to be 30 to 90 days. Physical product programs with short purchase windows often do fine at 30.

When you’re choosing a platform to run your program, check what it supports. Some software has built-in limitations. Here’s a breakdown of affiliate program software options and what each one handles in terms of tracking flexibility.

How your sales cycle should drive the decision

Business owner sitting at an outdoor table reviewing program notes, afternoon sun, relaxed posture

The single most important factor in choosing cookie duration is your actual buyer behavior. How long does it typically take someone to go from first contact to purchase?

For a $27 ebook or a low-priced digital product, a 30-day cookie is probably fine. Buyers decide quickly. But if you’re selling a $997 course or a high-ticket coaching program, someone clicking an affiliate link might need weeks to research, budget, and get ready to buy. A 30-day cookie in that case means your affiliates lose credit on a significant percentage of the sales they drove.

A general rule: match your cookie duration to at least twice your average consideration period. If your typical buyer takes two weeks to decide, a 30-day cookie covers most of them. If they take six weeks, go 90 days minimum.

When in doubt, err longer. Longer cookies cost you nothing if the affiliate doesn’t drive a sale. The only downside is theoretical, since you’re giving credit to an affiliate for a sale that might have happened anyway, but that’s a small price to pay for happy, motivated partners. You can also look at your own data. If you run email campaigns, check how many days typically pass between the first click and the final purchase. That number tells you a lot.

What a short cookie duration does to affiliate motivation

This is where most new program owners underestimate the impact. Cookie duration shows up in your affiliate recruiting email, in your program terms, and in conversations with potential partners. Experienced affiliates notice it immediately.

A 7-day cookie on a high-ticket product is a red flag. Affiliates who promote to email lists or run evergreen content know that their readers don’t always buy right away. They’ll see a short cookie and do the math: if half of the purchases happen after day 7, they’re only getting credit for half the sales they send. That’s a 50% pay cut compared to a program with a 30-day cookie at the same commission rate.

Top affiliates choose programs. They compare terms. A 30-day cookie at 30% will beat a 7-day cookie at 40% in most cases, because experienced affiliates know their traffic patterns and know short cookies cost them money.

This becomes especially important when you’re actively recruiting. If you want affiliates to say yes when you reach out, your terms need to be competitive. A solid commission rate paired with a reasonable cookie duration signals that you built this program to reward your partners, not to minimize payouts. For help getting those recruiting emails right, here’s how to write affiliate recruiting emails that actually get replies.

Cookie duration and affiliate fraud: what to watch for

Affiliate manager reviewing program reports at a standing desk in a bright office, focused expression

Longer cookies do create more opportunity for certain types of abuse, so it’s worth knowing what to watch for. The two most common issues are cookie stuffing and last-click attribution games.

Cookie stuffing is when someone places your affiliate tracking cookie on a user’s browser without that user ever actually clicking an affiliate link, usually through hidden iframes or misleading redirects. If you have a 90-day cookie and someone stuffs it on a user at the beginning of the month, they can scoop up credit for any purchase that user makes over the next three months. This is why longer cookies require tighter affiliate vetting and better fraud monitoring. Here’s a full breakdown of how to catch and prevent affiliate fraud in your program.

Last-click attribution is less about fraud and more about credit. Most affiliate tracking works on a last-click model: whoever’s cookie was set most recently gets the commission. If a user clicks Affiliate A’s link in January and then clicks Affiliate B’s link in February, Affiliate B gets credit for the sale even if Affiliate A did the real work of introducing the product. This is worth knowing because it can create friction if affiliates compare notes. It’s also a reason some programs prefer first-click attribution, though that creates its own complications.

The practical takeaway: longer cookies are almost always better for your affiliates and your recruiting, but they require that you actually vet the affiliates you approve and watch for unusual conversion rate spikes that might signal stuffing. Here’s how to screen affiliate applications so you’re approving partners who won’t abuse your terms.

Should you use the same cookie duration for all affiliates?

Most programs use one cookie duration across the board, which is fine and simple to communicate. But some programs offer longer cookies to top-tier affiliates as a negotiated perk. If a major partner is driving significant volume and asks for a 90-day cookie instead of your standard 30, that’s a reasonable concession and a strong retention tool.

What you want to avoid is making cookie duration feel arbitrary or hidden. Affiliates should be able to find this information easily in your program terms or affiliate welcome area. If they have to ask, you’ve created friction. Put it front and center.

One approach that works well: set a solid default (60 or 90 days), make it clear in all of your recruiting materials, and let that become part of your program’s value proposition. You’re not competing on cookie length alone, but it’s a signal that you’ve thought about affiliate economics from the affiliate’s perspective, which is exactly the kind of program people want to promote.

For a complete guide to structuring your affiliate program terms in a way that protects you and attracts quality partners, here’s how to create an affiliate program agreement. And if your program already exists and you want to audit every element of how it’s performing, this affiliate program audit guide walks through what to look at and what to fix.

If you want the full system for building a program that actually attracts quality affiliates and retains them, The Book on Affiliate Management covers everything from setup through scaling, including how to structure your terms, recruit the right partners, and build a program that becomes your largest marketing channel. It’s available on Amazon with over $1,000 in bonuses.

Quick answers: affiliate cookie duration FAQ

Group of three colleagues in a bright modern workspace, two seated and one standing, talking around a laptop

What cookie duration does Amazon use?
Amazon Associates uses a 24-hour cookie, which is unusually short. It works for Amazon because of the brand’s built-in trust and purchasing speed, but it’s not a model other programs should copy.

Can I change my cookie duration after launching my program?
Yes, but give affiliates notice before making changes, especially if you’re shortening it. Affiliates may have campaigns running that depend on your current terms. A sudden change without warning damages trust.

Does cookie duration affect my costs?
Longer cookies don’t directly cost you more. You only pay commission when an affiliate-referred sale actually happens. The risk is attributing sales to affiliates that you might have made anyway, but for most programs this is a minor concern compared to the recruiting advantage of competitive terms.

What if two affiliates both referred the same customer?
Most platforms use last-click attribution, meaning the affiliate whose link was clicked most recently gets credit. Some platforms let you choose first-click instead. There’s no universally right answer, but last-click is the most common and widely understood model.

Is a lifetime cookie a good idea?
For many programs, yes. It’s a powerful recruiting tool and removes any ambiguity about credit. The tradeoff is that you’re committed to attributing that customer to a specific affiliate indefinitely, which can be a concern if an affiliate later violates your terms. Read the case for lifetime cookies before deciding.

Should I mention cookie duration in my affiliate recruiting emails?
Yes, always. Commission rate and cookie duration are two of the first things experienced affiliates look for. Including both in your outreach shows you understand affiliate economics and makes it easier for partners to evaluate your program quickly. For guidance on what else to include, here’s a full affiliate management Q&A covering clicks, commissions, and cookies.

The Book on Affiliate Management by Matt McWilliams