Check for small entry points. Corn snakes can fit through surprisingly small openings, so be sure to check for any gaps or cracks that they could use to enter your home. This includes gaps under doors, holes in walls, and cracks in the foundation.
Set up traps. If you think you have a corn snake in your home, you can set up traps to catch it. One simple trap is to place a box with a hole cut in the side on the floor. Bait the trap with food, such as a live mouse or a piece of raw chicken.
Contact a pest control company. If you are unable to catch the corn snake on your own, you may need to contact a pest control company.