Nominalization: making a verb into a noun
To talk about an action as a thing — 'reading is fun', 'I like swimming', 'I forgot to lock the door' — Japanese needs to turn the verb into a noun. Two endings do this: 〜こと and 〜の, both attached to the plain form of the verb. Often they're interchangeable: 本 を 読む こと が すき です = 本 を 読む の が すき です = 'I like reading books'. But each has a home territory. の is more colloquial and is the natural choice with sensory verbs (見る, 聞く, 待つ, 手伝う, 止める) — when the action is something you perceive or interact with directly. こと is more abstract and is required with 〜は / 〜が / 〜だ / 〜です, with 〜にする / 〜になる, and with verbs of mental activity (思う, 言う, 信じる, 知る). When in doubt for everyday speech, reach for の; for definitions and abstract claims, reach for こと.
Both 〜こと and 〜の attach to the plain form
Both nominalizers go after a verb in plain form (any tense): 食べる こと / 食べる の ('eating'); 食べた こと / 食べた の ('having eaten'); 食べない こと / 食べない の ('not eating'). The result is a noun phrase you can use as a subject, object, or topic, and it can take case particles like が, を, は: 本 を 読む こと が すき です = 'I like reading books' (the こと chunk is the が-marked subject). Also: 行く こと に した = 'I decided to go'; 遅れる の は よくない = 'being late is not good'. Word-by-word, both translate something like 'the fact / act of (Ving)'.
の is preferred with sensory / direct-experience verbs
When the main verb is something you do with your body / senses — see, hear, wait for, help with, stop — Japanese strongly prefers 〜の. 彼 が 来る の を 見ました。 = 'I saw him come.' (NOT 来る こと を 見ました.) だれか が 歌って いる の が 聞こえます。 = 'I can hear someone singing.' 電車 が 来る の を 待ちます。 = 'I'll wait for the train to come.' 田中 さん が 引っこし する の を 手伝いました。 = 'I helped Ms. Tanaka move.' 赤ちゃん が 泣く の を 止めました。 = 'I made the baby stop crying.' Try saying these with こと and they sound off. Rule of thumb: if the embedded action is a concrete event you witnessed or interacted with, use 〜の.
こと is required with 〜は / 〜が / 〜だ / 〜です predicates
When the sentence is making an abstract statement — defining or claiming something — you almost always need こと. Specifically, when the nominalized clause is followed by the copula だ / です, only こと works: わたし の 仕事 は 教える こと です。 = 'My job is teaching.' (NOT 教える の です.) 大切 な こと は 練習 する こと です。 = 'The important thing is to practice.' Same with the 〜こと が ある / 〜こと が できる patterns you've already met: 行った こと が ある = 'have been (there)'; 話す こと が できる = 'can speak'. These idioms lock in こと — never の.
こと is required with mental-activity verbs
Verbs about thinking, saying, believing, knowing take こと, not の. 行く こと を 思い ました。 is awkward but in 〜と 思う patterns we use plain quotation. The tighter rule: with 〜こと を 言う / 信じる / 考える / 知る / 教える / つたえる, こと is the right choice. きみ の こと を いつ も 考えて います。 = 'I'm always thinking about you.' (here 〜の こと = 'about you'). 大切 な こと を 教えて くれました。 = 'He taught me an important thing.' こと を 信じる = 'believe (in / about) ~'. の with these verbs sounds informal/wrong.
こと with 〜にする and 〜になる
〜こと に する = 'decide to ~ (one's own decision)'. 〜こと に なる = 'it has been decided that ~ (often by circumstance / others)'. 来年、日本 に 行く こと に しました。 = 'I decided to go to Japan next year.' 来月、転勤 する こと に なりました。 = 'It's been decided I'll be transferred next month.' These idioms are fixed: always こと, never の. Compare: 〜こと に する (you chose) vs 〜こと に なる (it happened to you / was decided for you) — same particle game as the まる/める intransitive vs transitive pair, applied to decisions.
Quick decision tree
Ask: (1) Is the verb sensory / physical (見る, 聞く, 待つ, 手伝う, 止める, 感じる)? → の. (2) Is the clause followed by だ / です as a definition? → こと. (3) Is it the 〜こと が ある / できる / に する / に なる idiom? → こと. (4) Is the verb mental (思う, 信じる, 言う, 教える)? → こと. (5) Otherwise (general fact, like or dislike, abstract activity)? → either works, の is more colloquial. Pitfall: 〜の can also be a question particle (食べる の? = 'are you eating?') or an explanatory ending (〜の です / んです). The nominalizer の is only the one followed by case particles like が / を / は. Pitfall 2: こと has another life as a regular noun meaning 'thing / matter' (大切 な こと = 'an important thing'); the nominalizer こと is morphologically the same word, just used grammatically. Don't be confused if you see both in one sentence.
