[verb (plain)] + かと思いきや [verb (た form)] + かと思いきや
[i-adj] + かと思いきや
[na-adj (だ)] + かと思いきや
[noun (だ)] + かと思いきや
かと思いきや is used to express that something turned out contrary to what was expected. The speaker describes a situation or assumption in the first clause, then reveals in the second clause that reality was completely different. It carries a strong sense of surprise at the unexpected outcome.
It can be translated as "just when I thought…", "or so I thought, but…", or "contrary to expectations…".
The structure attaches to the end of a clause that describes what was expected or assumed:
This expression is somewhat literary or narrative in tone. It is used in written Japanese, storytelling, news commentary, and dramatic spoken recounting of events. It is less common in casual everyday conversation, where simpler expressions like 〜~とおもったら思ったら might be preferred.
Compared to 〜~とおもったら思ったら, かと思いきや places stronger emphasis on the contrast between expectation and reality, and often sounds more dramatic or emphatic.