The cortex is crucial for many behaviors, ranging from sensory-based behaviors to working memory and social behaviors. To gain an in-depth understanding of the contribution to these behaviors, cellular and sub-cellular recordings from both individual and populations of cortical neurons are vital. However, techniques allowing such recordings, such as two-photon imaging and whole-cell electrophysiology, require absolute stability of the head, a requirement not often fulfilled in freely moving animals. Here, we review and compare behavioral paradigms that have been developed and adapted for the head-fixed preparation, which together offer the needed stability for live recordings of neural activity in behaving animals. We also review how the head-fixed preparation has been used to explore the function of primary sensory cortices, posterior parietal cortex (PPC) and anterior lateral motor (ALM) cortex in sensory-based behavioral tasks, while also discussing the considerations of performing such recordings. Overall, this review highlights the head-fixed preparation as allowing in-depth investigation into the neural activity underlying behaviors by providing highly controllable settings for precise stimuli presentation which can be combined with behavioral paradigms ranging from simple sensory detection tasks to complex, cross-modal, memory-guided decisionmaking tasks.