Used to make a figurative comparison, describing something as if it were something else that it actually is not. It signals that the speaker knows the situation is not literally true but resembles it strongly. Common in literary and descriptive writing to create vivid imagery.
[Plain form] + かのようだ/かのように/かのような
彼女はまるで何も知らないかのように話した。
Kanojo wa marude nani mo shiranai ka no you ni hanashita.
She talked as if she knew nothing at all.
知らない (plain) + かのように modifies 話した; まるで often precedes it for emphasis
五月なのに真夏になったかのような暑さだ。
Gogatsu na no ni manatsu ni natta ka no you na atsusa da.
It's only May, yet it's as hot as if midsummer had arrived.
なった (plain past) + かのような modifies the noun 暑さ
その村は時間が止まったかのようだった。
Sono mura wa jikan ga tomatta ka no you datta.
In that village it was as if time had stopped.
止まった (plain past) + かのようだ ends the clause as a predicate
• Register: literary and descriptive; more expressive than plain ようだ. • Frequently paired with まるで or あたかも for a stronger 'just like' feeling. • The situation described is understood to be counter-to-fact.
The JLPT rarely asks whether you recognise a pattern — it asks which of several similar patterns fits. These are the ones ~かのようだ is tested against.
かのようだ explicitly frames a counter-to-fact simile ('as if', though it isn't so), whereas plain ようだ can also express a genuine inference or resemblance that may be true.
かのようだ is literary and clearly figurative; みたいだ is casual speech and can express real conjecture rather than pure metaphor.
Study Japanese grammar on LenGaki

Get the Android app
The app adds offline study, home-screen widgets, stroke-order tracing, speaking practice with pronunciation scoring, and an AI tutor that answers questions in context — none of which fits in a browser tab.