mid-15c., from Latin congratulationem (nominative congratulatio), noun of action from past participle stem of congratulari "wish joy," from com- "together, with" (see com-) + gratulari "give thanks, show joy," from gratus "agreeable" (see grace (n.)).