"Spirit of the staircase" or "Staircase inspiration"
L'esprit de l'escalier
Original text (French)
Notes from Wikiquote
This phrase is a famous allusion to the witty remarks one thinks of when it is too late, as when one is leaving a meeting and going down the stairs. Paradoxe sur le Comédien (1773-1777)