A generator needs 3 feet of clearance in its front and 5 feet or more from doors and windows. A generator should be located at least 18 inches away from a house.