Dictionary / Vocabulary / 帰りがけ
かえりがけ
on the way back; when about to go back
Also written 帰り掛け
帰りがけに郵便局に寄るよ。
I'll call by the post office on the way home.