The name kingsnake was given because some members of this group of snakes are known to eat other snakes, even venomous ones. The speckled kingsnake will occasionally prey on other reptiles, but the majority of its diet is mice and rats.

The speckled kingsnake prefers a wetter habitat than most other kingsnakes. It is rarely found far from a permanent body of water.