As a preposition with the genitive (also dative in colloquial speech) with the meaning 'in place of'.
example
Er kaufte Blumen statt des Weins, den er eigentlich mitbringen wollte.
He bought flowers instead of the wine he had actually wanted to bring.
Usage tips
Context clue
You can recognize the function of 'statt' (instead of) from the word that follows. If 'statt' comes before a noun, it is a preposition. If 'zu' and a verb in the infinitive follow, it is part of a conjunction that introduces a subordinate clause.
EXAMPLE
Ich nehme Wasser statt Saft.
I'll take water instead of juice.
Sentence structure and case
As a preposition, 'statt' (instead of) formally requires the genitive. In colloquial speech, however, the dative is used very frequently, which is now widely accepted.
EXAMPLE
Er kam statt seines Bruders zur Party. (Genitiv, formell)
He came to the party instead of his brother. (genitive, formal)
Infinitive clause with 'zu'
The construction 'statt ... zu' (instead of ... -ing) introduces an infinitive clause. The verb stands at the end of the clause in the infinitive with 'zu'. This clause describes an action that does not take place.
EXAMPLE
Er spielt am Computer, statt seine Hausaufgaben zu machen.
He is playing on the computer instead of doing his homework.
Compare with
near_synonym · confusable
statt vs für
for
'für' and 'statt' can both mean that something takes the place of something else. 'für' fits especially when a person acts on behalf of another person or replaces them: someone speaks 'für den Chef' (for/on behalf of the boss). 'statt' emphasizes more strongly that one thing or person is not chosen, but another is: 'Tee statt Kaffee' (tea instead of coffee). They can be confused because both express a kind of substitution. As a practical aid: 'für' often sounds like representation or benefit for someone, while 'statt' sounds like a choice between two options.
statt
Zum Frühstück trinkt ihr heute Tee statt Kaffee.
For breakfast today, you are drinking tea instead of coffee.