The sharptail snake is found in moist areas in coniferous forest, deciduous woodlands, chaparral, and grasslands. It frequents open grassy areas at forest edges and usually occurs under the cover of logs, rocks, fallen branches, or talus.
Sharptail snakes appears to specialize in feeding on slugs.