Question: why are mobs spawning in my house?
Answer: Keep your home area well lit. Mobs only spawn if the light level is below 7; remember that a torch provides level 14 light and this decreases by one for every block away from the torch. ... Another way to keep mobs out of your house is a staircase that has an overhang.