Exhibit 23.1 Consent of Independent Auditors We consent to the incorporation by reference in the Registration Statement (Form S-8 Nos. 333-89368, 333-62866, 333-06163, 333-29103, 333-80313, 333-52339 and Form S3 Nos. 333-95531 and 333-86736) pertaining to the Non-Plan Stock Option, 1996 Stock Option Plan, New Executive Stock Option Plan, 1995 Employee Stock Purchase Plan, 1995 Directors' Stock Option Plan, 1996 Stock Option Plan, 1996 Non-Executive Stock Option Plan, 1988 Incentive Stock Option Plan and pertaining to shares of common stock issued to selling shareholders of Apio, Inc., an individual investor and private placement of common stock, of our report dated December 17, 2002, with respect to the consolidated financial statements and schedules of Landec Corporation included in the Annual Report (Form 10-K) for the year ended October 27, 2002. /s/ Ernst & Young LLP San Jose, California January 20, 2003