つい

JLPT Level: N3
Meanings

Accidentally

Unconsciously

Against one's better judgement

Usage

つい + Vてしまう

つい + Vてしまった

Explanation
つい expresses doing something unintentionally or against one’s intention, often because of habit or momentary lapse. It conveys a sense of regret or surprise about what happened. It is commonly used with verbs in their て-form followed by しまう to show the completion of the action, usually with a nuance of 'ended up' or 'unfortunately did.'
つい甘いものを食べてしまった。
ついあまいものをたべてしまった。

I ended up eating sweets.

つい夜更かししてしまった。
ついよふかししてしまった。

I stayed up late unintentionally.

つい彼に嘘をついてしまった。
ついかれにうそをついてしまった。

I ended up lying to him.

つい忘れてしまった。
ついわすれてしまった。

I ended up forgetting (unintentionally).

つい買い物をしてしまった。
ついかいものをしてしまった。

I ended up shopping (impulsively).