〜ることがある
sometimes (does), there are times when
Verb dictionary form / ない-form + ことがある
Sign up free to review this point on a spaced schedule.
After the dictionary form, ことがある means something happens now and then: 朝ご飯を食べないこともある, "sometimes I skip breakfast". Literally, "there are occasions of …".
Don't confuse it with the た-form version from N5: 行ったことがある is experience, "I've been"; 行くことがある is an occasional habit, "I sometimes go".
も often replaces が for a softer "it also happens that": 電車が遅れることもあります, "the trains are sometimes late, too".
It's vaguer than ときどき, with a sense of "it's not unheard of". With たまに it means "once in a while": たまに料理することがある.
Examples
この電車はよく遅れることがあります。
This train is often late.
忙しいときは、昼ご飯を食べないことがある。
When I'm busy, I sometimes skip lunch.
週末は家族と映画を見に行くこともあります。
At weekends I sometimes go to see a film with my family, too.
父は夜遅くまで働くことがあります。
My father sometimes works until late at night.
たまに自分で料理することがある。
Once in a while, I cook for myself.