The maximum distance you can run a 1/2-inch gas line is 40 feet. If you need to run the line further than that, you will need to upgrade to a larger size pipe. However, the most common pipe size for home gas lines is 3/4-inch. So, if your furnace is more than 40 feet from the gas line, you will most likely need to upgrade to a 3/4-inch pipe.