Grammar
N2 connective

After all that 〜あげく(に)

Meaning

"After all that ~, in the end …" — a long, troublesome process ending badly.

Formation

Notes

The outcome is always unwelcome and the lead-up must be long or exhausting — 長い間悩んだあげく. A short or pleasant preamble does not fit. Its neutral twin is 〜末に, which can end well.

Examples

After agonising over it for a long time, I quit the company.

Breakdown
for a long time agonised in the end (badly) company quit

After getting thoroughly lost, I ended up being late.

Breakdown
thoroughly / terribly got lost in the end ended up late

After all that squabbling, both of them burst into tears.

Breakdown
siblings quarrel in the end both of them burst into tears

After rewriting it, in the end I never submitted it.

Breakdown
rewrote in the end after all did not submit

After going and buying an expensive machine, I have not used it once.

Breakdown
expensive machine bought in the end not even once have not used

⚠️ Often confused with

After much ~ 〜末(に)

"After much ~, finally …" — a long process reaching its conclusion.