EX-23.1 7 a2186567zex-23_1.htm EXHIBIT 23.1
QuickLinks -- Click here to rapidly navigate through this document


Exhibit 23.1


CONSENT OF ERNST & YOUNG LLP, INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM

        We consent to the incorporation by reference in the Registration Statements (Forms S-8, Nos. 333-136933, 333-125147, 333-117479, 333-89520, 333-107884, 333-111046, 333- 65330, 333-32698 and 333-51920) of Finisar Corporation pertaining to the 1989 Stock Option Plan, the 1999 Stock Option Plan, the 1999 Employee Stock Purchase Plan, the International Employee Stock Purchase Plan, the 2001 Nonstatutory Stock Option Plan of Finisar Corporation, the Transwave Fiber, Inc. Amended and Restated 2000 Stock Option Plan, the Medusa Technologies, Inc. 1999 Stock Option Plan, the Shomiti Systems, Inc. 1995 Stock Option Plan, the Sensors Unlimited, Inc. Second Amended and Restated 1997 Stock Option Plan and the Demeter Technologies, Inc. 2000 Stock Option Plan, of our reports dated June 30, 2008, with respect to the consolidated financial statements and schedule of Finisar Corporation and the effectiveness of internal control over financial reporting of Finisar Corporation, included in this Annual Report (Form 10-K) for the year ended April 30, 2008.

                        /s/  ERNST & YOUNG LLP      

San Jose, California
June 30, 2008




QuickLinks

CONSENT OF ERNST & YOUNG LLP, INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM