An oral function and dysfunction quantification method that automatically records the amount of time required for a laboratory animal to gnaw through multiple obstructions in a tube includes a confinement tube and spring-loaded polymer dowels that actuate timers to precisely record the time required for a rodent to complete a discrete gnawing task. The investigation of human orofacial pain requires an animal test that objectively measures impairment secondary to pain during an oral function (gnawing) that is analogous to behavior that elicits pain in human patients (chewing). The method can also evaluate behavioral change secondary to complex disorders such as anxiety and depression and facilitate evaluation of molecular mechanisms and pharmacologic therapies relevant to chronic orofacial pain and behavioral disorders.