what is it?
Nine German prepositions — an, auf, hinter, in, neben, über, unter, vor, zwischen — can govern either the accusative or the dative, depending on meaning. The accusative signals direction toward a place (answering wohin? — where to?); the dative signals location at a place (answering wo? — where?). The choice of case is determined entirely by this direction-vs-location distinction, not by the preposition itself.
when to use it
Accusative — direction (wohin?): Use the accusative when the sentence describes movement toward or into a place. Typical verbs: gehen, fahren, legen, stellen, hängen, setzen. Ask yourself: is something moving to a destination? If yes, use the accusative.
Dative — location (wo?): Use the dative when the sentence describes where something already is or stays. Typical verbs: sein, liegen, stehen, hängen, sitzen, bleiben. Ask yourself: is something resting at a place? If yes, use the dative.
The verb alone is not the trigger: Some verbs (e.g. hängen) appear in both columns. Always ask the wo? / wohin? question, not just which verb is used.
formation
The article following the preposition changes according to case and grammatical gender. The table below shows the definite article forms most relevant for two-way prepositions.
| gender | nominative (reference) | accusative (wohin?) | dative (wo?) |
|---|---|---|---|
| masculine | der Tisch | den Tisch | dem Tisch |
| feminine | die Küche | die Küche | der Küche |
| neuter | das Zimmer | das Zimmer | dem Zimmer |
| plural | die Bücher | die Bücher | den Büchern |
Standard contractions: In everyday German, in + dem contracts to im, and in + das contracts to ins. Similarly, an + dem → am and an + das → ans. These contractions are the standard, idiomatic forms and should be used in normal speech and writing.
| full form | contraction | case | example |
|---|---|---|---|
| in + dem | im | dative | im Kino (at the cinema) |
| in + das | ins | accusative | ins Kino (to the cinema) |
| an + dem | am | dative | am Fenster (at the window) |
| an + das | ans | accusative | ans Fenster (to the window) |
examples in context
common pitfalls
Using the dative because the noun is a place: A very common error is to assume that any place noun automatically takes the dative. It does not. «Ich gehe in der Schule» is wrong because gehen here expresses movement toward the school. The correct form is Ich gehe in die Schule (accusative). Always ask wohin? before choosing the case.
Choosing the case by the preposition, not by the meaning: Unlike fixed-case prepositions (e.g. mit always dative, durch always accusative), two-way prepositions do not have a fixed case. Memorising in as «dative» or «accusative» will lead to errors half the time. The case is set by the direction-vs-location distinction, not by the preposition.
Skipping the standard contractions: Writing or saying in dem Kino instead of im Kino sounds unnatural. The contracted forms im, ins, am, ans are the default in standard German. Use the full, uncontracted form only when the article carries special emphasis.
Quick check: Before writing the article, ask the question. Wo? → dative. Wohin? → accusative. This single habit eliminates the majority of two-way preposition errors.