How to state the vehicle or method used to travel, using the particle で ('by means of'). Going on foot is the exception — it uses the te-form 歩いて.
[Transport Noun] + で + [Destination] + に/へ + 行く
電車で会社に行きます。
Densha de kaisha ni ikimasu.
I go to work by train.
電車 (train) + で (by means of) + 会社 (office) + に (destination) + 行きます (go)
歩いて帰ります。
Aruite kaerimasu.
I'll walk home.
Exception: walking uses the te-form 歩いて ('by walking'), not a noun + で
自転車で学校へ行きます。
Jitensha de gakkou e ikimasu.
I go to school by bicycle.
自転車 (bicycle) + で (by means of) + 学校へ (to school) + 行きます (go)
• The 'means/tool' で: で marks the means used — traveling by train, eating with chopsticks, writing in English are all で. • On foot: don't say 徒歩で in everyday speech (that's for timetables/signs). Use 歩いて.
The JLPT rarely asks whether you recognise a pattern — it asks which of several similar patterns fits. These are the ones 乗り物と is tested against.
In 電車で会社に行く, で marks HOW you go (train) and に marks WHERE you go (office). They do different jobs and both appear in the same sentence.
Vehicles use noun + で (バスで). Walking is the exception and uses the te-form verb 歩いて, not 徒歩で in speech.
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.