Setsubun literally means "division of seasons. It usually occurs around February 3rd.
On this day, in a custom called mame-maki, people throw and scatter roasted soy beans inside and outside their houses while saying, "Get goblins out of the house! Invite happiness into the home!(ら鬼は外！福は内 Oni ha Soto! Fuku ha Uchi!" Some people believe that mame（豆） comes from the word mametsu（魔滅） which means drive away evil matter, in Kanji.
After throwing the beans, people customarily eat one roasted soy bean, mame, for each year of their age, and pray for happiness throughout the year. People in some regions scatter peanuts and eat them, because peanuts are easier to clean and pick up.