QuickLinks -- Click here to rapidly navigate through this document EXHIBIT 23.01
CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM
We consent to the incorporation by reference in Registration Statement No. 333-256716 on Form S-3ASR and Registration Statement Nos. 333-248470, 333-220002, and 333-207325 on Form S-8 of our reports dated May 19, 2023 relating to the consolidated financial statements of Flex Ltd. and subsidiaries (the "Company") and the effectiveness of the Company's internal control over financial reporting, appearing in this Annual Report on Form 10-K of Flex Ltd. for the year ended March 31, 2023.
/s/ DELOITTE & TOUCHE LLP
San Jose, California
May 19, 2023
QuickLinks