In captivity, corn snakes typically live from 15 to 20 years, depending on their individual care, diet and handling. Wild corn snakes have a much shorter lifespan than pet corn snakes.
Corn snakes can get a number of diseases, such as mouth rot or various fungal and bacterial infections, so it is important for snake owners to have an experienced exotic veterinarian in case their pet gets sick. Many of the diseases corn snakes face can be cured by quick veterinary interference. Feeding a corn snake a proper diet helps ensure longer life. When feeding a snake, owners need the right size and type of food and shouldn't feed the snake too frequently or handle it too soon after eating.