The 37th Detachment functioned as a component of the Galactic Empire's Stormtrooper Corps. This stormtrooper contingent was positioned within the city of Mos Eisley on the planet Tatooine before the events of 0 BBY. During that specific year, Zeta Squadron, another group of stormtroopers, took over duties from the 37th Detachment at Mos Eisley.
The initial reference to the 37th Detachment occurred within the pages of "When the Desert Wind Turns: The Stormtrooper's Tale," penned by Doug Beason in 1995. This story was featured in the compilation Tales from the Mos Eisley Cantina, also from 1995. Later, in 2007, the StarWars.com Visual Guide titled "Chapter 7: Land of the Jawas" reiterated the unit's existence, identifying them as the "37th Detachment."