途中に・途中で

JLPT Level: N2
Meanings

in the middle of

on the way to/while in the course of

midway through

during the process of

Usage

Noun + の途中に

Vる/N + の途中に

Vている/Vていた + 途中で

Vている途中で/Vていた途中で

Explanation
途中に and 途中で both mean “in the middle of” something, but they are used in slightly different ways. 途中に is used to indicate that something happens at a point inside the span of an ongoing action or journey, often when something unexpected occurs or when you notice something along the way. It tends to describe a point along the path or period where another event occurs. 途中で is used for events that interrupt or occur during the course of an action, often implying a break, interruption, or notable moment within that ongoing activity. Both can be attached to a whole verb phrase (by using the dictionary form or ている form) or to a noun phrase with の, but the nuance shifts slightly as described above. Typical contexts include travel, ongoing activities, or processes where another event happens partway through.
出かける途中に友だちに会った。
でかけるとちゅうにともだちにあった。

I met a friend on my way out.

歩いている途中で雨が降ってきた。
あるいているとちゅうであめがふってきた。

It started to rain in the middle of walking.

授業の途中に休憩が入る。
じゅぎょうのとちゅうにきゅうけいがはいる。

A break comes in the middle of the class.

学校の途中にコンビニがある。
がっこうのとちゅうにコンビニがある。

There is a convenience store on the way to school.

車を運転している途中で眠くなった。
くるまをうんてんしているとちゅうでねむくなった。

I became sleepy while driving.