There are three main components to habit formation: the context cue, behavioral repetition, and the reward.[16]The context cue can be a prior action, time of day, location, or anything that triggers the habitual behavior.