Eventually toshikomori was divided into two customs; 'joyamode,' the visit in the night of New Year's Eve, and 'ganjitsumode,' that in the morning of the New Year's Day, which became the original form of today's hatsumode.
やがて年蘢りは、大晦日の夜の「除夜詣」と元日の朝の「元日詣」との2つに分かれ、元日詣が今日の初詣の原形となった。