Nine German prepositions have no fixed case. They can govern Dativ or Akkusativ, and the same word means something different depending on which one it is. One question settles it every time.
The nine
These prepositions sit between two cases, just like geben sits between Dativ and Akkusativ. They get the same green-to-blue gradient, until the verb decides which one wins.
| Preposition | General meaning |
|---|---|
| in | in / into |
| auf | on / onto |
| an | at / to |
| über | over / above / across |
| unter | under / below / among |
| neben | next to / beside |
| hinter | behind |
| vor | in front of / before |
| zwischen | between |
One question, one answer
Ask Wo? (where?) and the answer is Dativ. Ask Wohin? (where to?) and the answer is Akkusativ.
Wo? describes a location: something is staying in place, and the sentence is about position, not movement. That gets Dativ.
Wohin? describes a destination: something is moving toward a place, and the sentence is about direction. That gets Akkusativ.
| Question | Case | Example |
|---|---|---|
| Wo? Location | Dativ | Das Buch liegt aufdem Tisch. |
| Wohin? Direction | Akkusativ | Ich legedas Buch aufden Tisch. |
| Wo? Location | Dativ | Sie sitzt imGarten. |
| Wohin? Direction | Akkusativ | Sie geht inden Garten. |
The verb is the signal
The verb usually gives it away, but the Wo? / Wohin? question is what actually settles it: the same verb can take either case. Verbs like liegen, sitzen, stehen, hängen describe position, so they go with Dativ. Verbs like legen, setzen, stellen, hängen describe placing something somewhere, so they go with Akkusativ.
| Verb | Meaning | Case |
|---|---|---|
| liegen | to be lying (position) | Dativ |
| legen | to lay / place (action) | Akkusativ |
| sitzen | to be sitting (position) | Dativ |
| setzen | to set / place (action) | Akkusativ |
| stehen | to be standing (position) | Dativ |
| stellen | to put upright (action) | Akkusativ |
| hängen | to be hanging (position) | Dativ |
| hängen | to hang something up (action) | Akkusativ |
The masculine makes it visible
Every gender marks the contrast, and none of them collapse → dem vs. den for masculine, der vs. die for feminine, dem vs. das for neuter, den vs. die in the plural. The masculine pair is the tightest of the four, a single letter apart, so it is the one worth drilling.
- Das Auto steht hinterdem Baum. Wo? Position → Dativ.
- Ich fahre hinterden Baum. Wohin? Direction → Akkusativ.
dem vs. den. One letter, the entire case difference, right there.
One thing to watch in the plural: den is the Dativ form there, so it looks exactly like the masculine Akkusativ. The noun is what separates them: the Dativ plural adds an -n.
- Die Bilder hängen anden Wänden. Wo? → Dativ plural.
- Ich hänge die Bilder andie Wände. Wohin? → Akkusativ plural.
Wo? Something is somewhere → Dativ. Wohin? Something is going somewhere → Akkusativ. The preposition has no color of its own. The verb gives it one.