adverb
unexpectedly; by chance; without intending to
Used when something happens without prior planning or expectation, often with a nuance of 'it just so happened that...'. Slightly formal/literary.
期せずして同じ電車に乗り合わせた。
We happened to get on the same train by chance.
期せずして二人の意見が一致した。
Unexpectedly, their opinions matched.