Throughout all seven days of Sukkot—and eight in the Diaspora—a person's primary dwelling should be the sukkah. One is obligated to eat, drink, and sleep in the sukkah, and should try to do there whatever one normally does at home (given the sukkah's special sanctity, not every activity may be performed in it).
On Erev Sukkot (the eve of the festival), one should not eat much after midday, in order to fulfill the mitzvah of eating in the sukkah in the best possible way— on the first night of the festival, one must eat a quantity of bread equal to a kebeitzah (slightly more than 50 g, or, after the fact, at least a kezayit—about 25 g).
Even if a person experiences discomfort while sitting in the sukkah, for example from the cold, he is still obligated to eat there on the first night of Sukkot.
On the remaining days of the festival, there is no obligation to make a point of eating in the sukkah. However, if a person wishes to have a meal or go to sleep, he must eat and sleep in the sukkah.
Candle Lighting
Women recite the blessing Shehecheyanu, when lighting the festival candles. Afterward, a woman may answer “amen” to her husband's blessing of Shehecheyanu during Kiddush, because it applies to the mitzvah of dwelling in the sukkah.
Ideally, one should try to light the candles in the sukkah. If it is not possible to light candles in the sukkah itself, but the sukkah is next to the house (for example, on a veranda), they should be lit in the nearest room so that their light reaches the sukkah. If this is also impossible, the candles should be lit where the meal is prepared, or in the room used on Shabbat evening. In this case, before doing so, one should switch on the electric light in the sukkah where the meal will take place, and recite the blessing over it, bearing in mind everything the woman has lit to fulfill the mitzvah.
Women and the Mitzvot of Sukkot
Women are exempt from the obligation to eat, drink, and sleep in the sukkah. Nevertheless, according to Ashkenazi tradition, women may recite the blessings over the sukkah, the lulav (the four species) and hallel.
Before fulfilling a Torah mitzvah, one must prepare oneself mentally—tell oneself that one is now fulfilling the Creator's commandment, and reflect on the meaning of this mitzvah (the intention with which one fulfills a mitzvah is called kavanah). The Torah (Leviticus 23:43) says: “So that your generations may know that I settled the children of Israel in sukkot when I brought them out of Egypt.” The kavanah when fulfilling the mitzvah of “dwelling in the sukkah” is to remember that the Almighty commanded us to dwell in the sukkah in remembrance of the Exodus from Egypt and of the Clouds of Glory with which He surrounded the Jewish encampment during their journey through the wilderness.
When moving from one sukkah to another, a person does not need to recite the blessing in the second sukkah. But if he leaves the sukkah to go to the synagogue or attend to other matters, he must recite the blessing again upon returning.
It is customary to recite the blessing for “dwelling in the sukkah” when eating in the sukkah. Therefore, when a man returns to the sukkah to sleep, it is preferable to eat something before going to sleep so that he can recite the blessing according to all opinions.
Meals in the Sukkah
One may wash one's hands (netilat yadayim) outside the sukkah after Kiddush.
A “meal” is defined as eating more than a kebeitzah of bread, or baked goods and similar foods made from the five species of grain (wheat, rye, oats, spelt, barley), in a volume greater than a kebeitzah.
If a person intends to eat baked goods rather than bread, for example pastries served for dessert, it is important to eat at least 50 grams and spend some time in the sukkah after eating, with the intention of fulfilling the mitzvah of “dwelling in the sukkah.” The blessing leishev basukkah is recited before the blessing mezonot.
Because the sukkah has a very high level of sanctity, one should take care to treat it with great respect. For example, it is forbidden to use the sukkah for unclean activities (washing dirty dishes, changing a baby, and the like), or to bring in utensils such as pots and pans, etc. After eating, rubbish and dirty plates should be taken outside. Clean items, however, such as drinking vessels, may be left in the sukkah.
In the sukkah, we are beneath the wings of the Shechinah itself, so we must be especially careful in our conversations: we must not speak lashon hara (harmful speech), gossip, or engage in other forbidden speech. There is no need to leave the sukkah to discuss business matters (although the Arizal's custom was not to discuss mundane matters in the sukkah).
Out of respect for the sukkah, it is customary to clear the table after the third Shabbat meal without waiting for Havdalah.
Sleeping in the Sukkah
A man must go to the sukkah to sleep, even for a very short sleep (a nap). If he falls asleep outside the sukkah, he must move to the sukkah as soon as he wakes up. Naturally, if weather conditions make sleeping in the sukkah impossible, he is exempt from the mitzvah and may sleep at home.
The general rule is this: if a person experiences discomfort while sitting in the sukkah, he is exempt from the mitzvah of living in the sukkah (except on the first night). This refers, for example, to discomfort from an unpleasant smell or bad weather—cold, wind, rain, and the like.
Children and the Sukkah
Children are introduced to the mitzvah of “dwelling in the sukkah” (that is, eating and sleeping in it) from an early age. But the obligation lechanech (to educate) a boy by training him to fulfill this mitzvah begins only when he reaches an age at which he can manage for some time without his mother. The Gemara in Tractate Sukkah describes the age for this training as the point when a child no longer calls out “Mommy! Mommy!” upon waking. This begins at approximately 5-6 years of age (depending on the child's development). Rav Elyashiv, zt"l, held that the obligation begins only when the child can fulfill the mitzvah in its entirety—both eating and sleeping. Therefore, as long as he is not mature enough to sleep in the sukkah, he is also exempt from the obligation to eat in the sukkah.