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
You don't need to translate the sentence to know the case, the verb tells you. 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
For feminine and neuter nouns, Dativ and Akkusativ after these prepositions can look similar. Masculine makes the contrast unmistakable.
- Das Auto steht hinterdem Haus. Wo? Position → Dativ.
- Ich fahre hinterdas Haus. Wohin? Direction → Akkusativ.
dem vs. das. One word, the entire case difference, right there.
Wo? Something is somewhere → Dativ. Wohin? Something is going somewhere → Akkusativ. The preposition has no color of its own. The verb gives it one.