It is customary on Simḥat Torah to have seven hakafot at night and another seven during the day. As we have learned, hakafot allude to the or makif, the highest illumination that envelops us, uplifts us, and inspires us, but which is so sublime that we cannot apprehend it through our intellects in any definite way (above, 1:7 and 5:9). Everything that we learned and had the privilege to understand in the course of the year is a type of internal light, which our intellect absorbs in a definite, demarcated manner. Through this, when we complete the Torah, we can absorb something of the or makif, which emerges from the Torah as a whole. The intensity of Simḥat Torah facilitates this process.
Before the hakafot, the custom is to take all the Torah scrolls out of the ark, including invalid scrolls. Ashkenazic custom is to carry all the scrolls and dance with them for the duration of the hakafot. If there are more scrolls than the dancers can carry, only those scrolls that have someone to carry them are taken out. According to Sephardic custom, for most of the hakafot, almost all of the Torah scrolls are placed on the bima, while one person holds one Torah scroll, and everyone else dances around them. Based on the teachings of Arizal, some have the custom to circle the bima with one Torah scroll exactly once for each of the seven hakafot. (See Ben Ish Ḥai, Vezot Ha-berakha §17.) All these customs are acceptable.
Seven circuits suffice to uphold the custom of hakafot, but to rejoice with and honor the Torah, the main focus of Simḥat Torah, one should expand and extend the dancing. The extra dancing does not have to take the form of circuits around the bima. It is customary (but not required) to sing liturgical poems during hakafot, each community according to its customs.
The night hakafot take place after Ma’ariv. During the day, some have the hakafot after Musaf and some have them after the Torah reading (Ḥida, Le-David Emet, end of §26). But in most congregations, hakafot take place earlier, after Shaḥarit and before the Torah reading.
Many synagogues have a kiddush during hakafot, where some people drink a lot of wine and get tipsy, but they make sure to avoid intoxication. One must make sure to leave enough time to become sober and clearheaded before Musaf and Minḥa, as it is prohibited to pray the Amida while under the influence of alcohol (SA 99:1; Peninei Halakha: Prayer 5:11). It is also prohibited for a kohen to perform Birkat Kohanim while under the influence (SA 128:38).
Le-khatḥila, everyone present in the synagogue should stand during the entire time of hakafot. However, if it is difficult for someone to stand, he may sit, but he should stand up at the beginning of each hakafa.[3]
Based on a kabbalistic custom from Arizal’s time, some Israeli communities hold “second” hakafot (“hakafot sheniyot”) at night after Shemini Atzeret ends. They, too, are in honor of the Torah, so there is an element of mitzva in them. Rav Kook says that musical instruments should be played during hakafot sheniyot to make it clear that Yom Tov is over, and that they are not celebrating Yom Tov Sheni shel Galuyot in Eretz Yisrael (Oraḥ Mishpat §142).