When Eating Matza Is Obligatory

The only time when matza must be eaten to fulfill the commandment of eating matza is on seder night(s). There may be a mitzva to also eat matza on the other days of Passover (but there are conflicting opinions about that).
However, men must eat matza in order to fulfill the commandment of eating two meals a day on each of the festival days.