20 gallons is considered the minimum for adult corns. You can always go bigger if you want, but 20 gallons is generally fine for an adult. Garter snakes stay smaller generally. The males are smaller than females but you could definitely keep an adult female in a 20 long.