French doesn't let you skip the article the way English does with a sentence like "I'm eating bread." It inserts a partitive article — du, de la, de l', or des — to mean "some" of an unspecified amount, agreeing with the noun's gender and number. That article doesn't survive everywhere, though: negate the sentence, or put a quantity word in front of the noun, and du, de la, and des all collapse down to a bare de.

The short version

Du, de la, des mean "some" in a plain affirmative sentence, matching the noun's gender and number. De (or d') replaces all of them after a negation or a word expressing quantity.

Du / de la / des

Affirmative sentences -- "some"

je mange duelle boit de lanous avons des
Je mange du pain.
I'm eating (some) bread.
Masculine, singular, uncountable -- du
Elle boit de la limonade.
She's drinking (some) lemonade.
Feminine, singular -- de la
Nous avons des amis à Paris.
We have (some) friends in Paris.
Plural -- des, even though the friends are countable

De / d'

After a negation or a quantity word

ne...pas debeaucoup deun peu deplus de
Je ne mange pas de pain.
I'm not eating any bread.
Negation strips du down to de
Elle boit beaucoup de limonade.
She drinks a lot of lemonade.
A quantity word (beaucoup de) always takes plain de
Nous n'avons plus d'amis ici.
We don't have any friends here anymore.
D' before a vowel sound, same rule as negation

Je ne bois jamais de café le soir, mais ce n'est pas du vrai café de toute façon.

I never drink coffee in the evening, but it isn't real coffee anyway.

The reduction to de only happens when a negated verb like boire is saying the noun doesn't exist in the sentence at all. Negating être to make an identity claim ("it isn't [x]") doesn't trigger the same collapse -- du/de la/des survive after ce n'est pas.

Ready to test yourself?

Take the quiz and see if you can tell when du, de la, and des collapse to de.