User blog comment:Alixgirl11/Getting NPCs to Stay in their Houses?/@comment-74.182.165.18-20111217002829

If your house is big enough you can wait for him to go into a corner and block him off with some blocks, this is just temporary as when (if) he dies he'll just go into the main part of your house.