Typically the buying pays for the home inspection. It is a separate cost that is not apart of closing costs.