EXHIBIT 23.1 CONSENT OF INDEPENDENT AUDITORS We consent to the reference to our firm under the caption "Experts" in Amendment No. 1 to the Registration Statement (Form S-4 No. 333-85568) and the related Prospectus of The Williams Companies, Inc. for the registration of $650 million of 8.125% Notes and $850 million of 8.75% Notes, and to the incorporation by reference therein of our report dated March 6, 2002, except for the matters described in the fifth and sixth paragraphs of Note 1 and the first paragraph of Note 3, as to which the date is April 11, 2002, with respect to the consolidated financial statements and schedule of The Williams Companies, Inc. included in its Current Report on Form 8-K filed with the Securities and Exchange Commission on May 28, 2002. ERNST & YOUNG LLP Tulsa, Oklahoma June 21, 2002