によって, によると and によっては: means, cause, agent, variation and attribution
Tell Japanese によって (agent, cause, means, 'depending on'), によっては ('in some cases'), による (noun modifier), and によると/によれば (source attribution) apart.

In short
Although they share the same root verb (よる), によって and によると / によれば never swap roles: use によると / によれば strictly to attribute a report to a named source (出典, 'according to…'), and use によって for five structural jobs—passive creator, cause, means/method, 'depending on' variation, and (as によっては) 'in some cases / depending on the case'.
Yellow the idea to rememberBlue Japanese to learn
The five core jobs of によって (and によっては / による)
| Function | Pattern | Natural example |
|---|---|---|
| 1. Passive creator / agent | Creator + によって + passive | この橋は地元の技術者によって設計された。 (This bridge was designed by local engineers.) |
| 2. Cause / reason (formal) | Cause + によって / により | 台風の接近によって、一部の路線が運休した。 (Due to the approaching typhoon, some lines suspended service.) |
| 3. Means / method | Method + によって / により | 話し合いによって、合意に達することができた。 (Through discussion, we were able to reach an agreement.) |
| 4. Variation ('depending on') | Variable + によって + 異なる / 違う | 習慣は地域によって大きく異なる。 (Customs differ greatly depending on the region.) |
| 5. Partial case ('in some cases') | Category + によっては | 時間帯によっては、窓口が大変混雑します。 (Depending on the time of day, the counter gets very crowded.) |
| Noun modifier (causes/methods/agents) | Noun A + による + Noun B | 大雨による遅れ (delays caused by heavy rain); 専門家による調査 (survey by specialists) |
Attribution: によると and によれば ('according to…')
Whenever you cite a survey, official notice, spokesperson, or news report (出典), switch from によって to によると or によれば. Both require a hearsay or reporting ending at the end of the sentence (〜そうだ, 〜という, 〜とのことだ, 〜らしい, or 〜とされている) so readers know the claim comes from that source rather than your own direct observation.
〜によると / 〜によればaccording to (a named source)
Focus: Cites an external 出典 (survey, notice, weather bureau, interviewee); によれば feels slightly more formal/written
Source noun + によると / によれば + … + そうだ / という / とのことだ
市の最新の調査によると、自転車通勤者は前年より増えたそうだ。 — According to the city's latest survey, bicycle commuters increased over the previous year.
駅員の説明によれば、振替輸送は午後三時までとのことだ。 — According to the station attendant's explanation, alternative transit runs until 3:00 p.m.
〜によって / 〜によってはby / due to / through / depending on
Focus: Marks cause, method, passive creator, or variation—never translates 'according to a report'
Noun + によって / により / によっては (or による before a noun)
天候によっては、屋外イベントが屋内へ変更になることがある。 — Depending on the weather, the outdoor event may move indoors.
Common learner mistakes to avoid
- 天気予報によって、明日は雪が降るそうです。天気予報によると、明日は雪が降るそうです。
Citing an external source (天気予報) takes によると (or によれば), never によって.
- システム更新によっての不具合が報告された。システム更新による不具合が報告された。
Directly before a noun (不具合), change によって to its pre-noun form による (never によっての).
- 新聞によると、新しい橋が来年完成します。新聞によると、新しい橋が来年完成するそうです。
Pair によると / によれば with a reporting ending (〜そうです, 〜ということです, 〜とのことです) to keep attribution intact.