This protocol describes a method of examining social hierarchy in a rat model. Rats perform a complex diving-for-food task in which they form a distinct hierarchy according to their willingness to dive underwater and swim to obtain a food pellet. This method is used to understand decision making and social relationships among highly social animals in small groups.