EXHIBIT 5.1 June 1, 1998 Infoseek Corporation 1399 Moffett Park Drive Sunnyvale, California 94089 Re: REGISTRATION STATEMENT ON FORM S-3 ---------------------------------- Ladies and Gentlemen: We have examined the Registration Statement on Form S-3 to be filed by you with the Securities and Exchange Commission on or about June 1, 1998 (the "Registration Statement") in connection with the registration under the Securities Act of 1933, as amended, of a total of 318,724 shares of your Common Stock (the "Shares"), to be offered for sale by the Selling Shareholders named therein. As legal counsel for Infoseek Corporation, we have examined the proceedings taken in connection with the sale of the Shares by the Selling Shareholders in the manner set forth in the Registration Statement in the Section entitled "Plan of Distribution." It is our opinion that the Shares are legally issued, fully paid and nonassessable. We consent to the use of this opinion as an exhibit to the Registration Statement, including the prospectus constituting a part thereof, and further consent to the use of our name wherever it appears in the Registration Statement and any amendments thereto. Very truly yours, Wilson Sonsini Goodrich & Rosati Professional Corporation