The rubber boa occurs in a variety of habitats, from desert scrub, foothill woodlands, and grasslands through deciduous and coniferous forests. In the Coast Range, it is found commonly in forest clearings that contain rotting stumps and logs. It is absent from the immediate vicinity of the coast north of Coos Bay.
Rubber boas are constrictors and eat small mammals, especially young mice and shrews.