Lifelink is a static ability that modifies the event of dealing damage itself, not a triggered ability that goes on the stack separately. Under CR 702.15b, damage dealt by a source with lifelink causes its controller to gain that much life as part of the damage event. This means lifelink must be on the creature at the moment damage is actually dealt — not before, not after.
When combat damage is placed on the stack (CR 510.1), it exists as a pending event. If you give a creature lifelink at this point — say, by activating an ability in response — the lifelink ability is not present when the damage resolves and is dealt. Wait: actually, combat damage in Magic does not use the stack in the traditional sense. Under CR 510.2, combat damage is dealt simultaneously and does not go on the stack. This means there is no window to respond 'after damage is on the stack' — damage is dealt all at once during the combat damage step.
The key practical point: if you grant lifelink to a creature before the combat damage step begins (i.e., before CR 510.1 is applied), it will apply. If you try to do so after damage has already been dealt, it is too late — the damage event is complete and lifelink cannot retroactively cause life gain.
Example: Your 3/3 creature attacks and is blocked. During the declare blockers step, your opponent uses an instant to give your creature lifelink. Since damage hasn't been dealt yet, lifelink applies and you gain 3 life when damage is dealt in the combat damage step. But if somehow damage were already dealt and you tried to add lifelink, no life would be gained.
Relevant rules: CR 702.15b (lifelink modifies the damage event itself), CR 510.1–510.2 (combat damage step and simultaneous damage dealing).
Unofficial fan resource — not affiliated with or endorsed by Wizards of the Coast. Answers are AI-generated estimates grounded in the Comprehensive Rules and are not a substitute for an official judge. Verify anything match-critical.