~ずにはいられない
Cannot help doing something
You’ll be able to say that an emotion or impulse is so strong that you cannot stop yourself from acting.

夕焼けに染まる富士山を見て、写真を撮らずにはいられませんでした。
yuuyake ni somaru fujisan o mite, shashin o torazu ni wa iraremasen deshita.
What do you think this sentence means?
Looking at Mt. Fuji bathed in the crimson sunset, I couldn't help taking a photo.
Cannot hold back an overwhelming reaction
~ずにはいられない expresses that an emotion, urge, or natural reaction is so intense that one cannot suppress it ("cannot help doing...", "cannot stop oneself from..."). With する, the irregular form is せずにはいられない.
かわいい子犬を見て、触らずにはいられなかった。
kawaii koinu o mite, sawarazu ni wa irarenakatta.
Seeing the cute puppy, I couldn't help touching it.
心配で、母に電話せずにはいられなかった。
shinpai de, haha ni denwa sezu ni wa irarenakatta.
I was so worried that I couldn't help calling my mother.
Attach ずにはいられない to the nai-stem
Attach ずにはいられない to the negative stem of a verb (the nai-form without ない). For する verbs, use the irregular form せずにはいられない.
おもしろい冗談を聞いて、笑わずにはいられなかった。
omoshiroi joudan o kiite, warawazu ni wa irarenakatta.
Hearing that funny joke, I couldn't help laughing.
~ないではいられない vs ~ずにはいられない
They mean the same thing: “can’t help doing”. ~ないではいられない sounds a little more spoken. ~ずにはいられない is a little more formal and is the form you will meet most in writing.
~ないではいられない, can’t help (spoken)
その写真を見て、泣かないではいられなかった。
sono shashin o mite, nakanaide wa irarenakatta.
Seeing that photo, I couldn't help crying.
ない-stem + ないではいられない.
~ずにはいられない, can’t help (a little formal)
その写真を見て、泣かずにはいられなかった。
sono shashin o mite, nakazu ni wa irarenakatta.
Seeing that photo, I couldn't help crying.
ない-stem + ずにはいられない.
久しぶりに実家で母の料理を食べたら、懐かしくて「おいしい」と言わずにはいられなかった。
hisashiburi ni jikka de haha no ryouri o tabetara, natsukashikute "oishii" to iwazu ni wa irarenakatta.
When I ate my mother’s cooking at my parents’ home for the first time in a while, it brought back such memories that I couldn’t help saying, "This is delicious."
祖母は、困っているお年寄りを見ると、声をかけずにはいられない性格だ。
sobo wa, komatte iru otoshiyori o miru to, koe o kake zu ni wa irarenai seikaku da.
My grandmother is the kind of person who can’t help speaking to elderly people who look like they need help.
隣の部屋から毎晩大きな音が聞こえるので、一言文句を言わずにはいられなかった。
tonari no heya kara maiban ookina oto ga kikoeru node, hitokoto monku o iwazu ni wa irarenakatta.
Loud noise came from the room next door every night, so I couldn’t help saying something to complain.
7 more examples in the grammar path — free for a limited time.