<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:ecd="http://xbrl.sec.gov/ecd/2026"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="flex-20260331.xsd" xlink:type="simple"/>
    <context id="P04_01_2025To03_31_2026">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000866374</identifier>
        </entity>
        <period>
            <startDate>2025-04-01</startDate>
            <endDate>2026-03-31</endDate>
        </period>
    </context>
    <dei:DocumentType contextRef="P04_01_2025To03_31_2026" id="hidden171754217">PRE 14A</dei:DocumentType>
    <dei:AmendmentFlag contextRef="P04_01_2025To03_31_2026" id="ixv-84414">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey contextRef="P04_01_2025To03_31_2026" id="ixv-84415">0000866374</dei:EntityCentralIndexKey>
    <dei:EntityRegistrantName contextRef="P04_01_2025To03_31_2026" id="ixv-84425">FLEX LTD.</dei:EntityRegistrantName>
    <ecd:AwardTmgMnpiDiscTextBlock contextRef="P04_01_2025To03_31_2026" id="ixv-23108">&lt;div style="margin-top:0pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman;font-weight:bold;text-align:justify"&gt;Timing of Equity Award Grants &lt;/div&gt;&lt;div style="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman;font-weight:bold;text-align:justify"&gt;&lt;span style="font-style: normal; letter-spacing: 0px; top: 0px;display:inline;"&gt;&lt;span style="font-style:italic;display:inline;"&gt;Flex Practice &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman;text-align:justify"&gt;The Flex Compensation and People Committee approves all equity awards granted to its executive officers on or before the grant date. Annual equity awards are typically granted to executive officers in June following the completion and release of financial results for the preceding fiscal year. The Flex Compensation and People Committee may also grant equity awards at other times during the year due to special circumstances, including to new executive officers upon hire or promotion or a change in an executive officer&#x2019;s role or scope of responsibilities. &lt;/div&gt;&lt;div style="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman;text-align:justify"&gt;As a matter of good corporate governance, Flex does not grant equity awards in anticipation of the release of material nonpublic information and, in any event, Flex does not time the release of material nonpublic information in coordination with grants of equity awards in a manner that intentionally benefits its executive officers. &lt;/div&gt;</ecd:AwardTmgMnpiDiscTextBlock>
    <ecd:AwardTmgMethodTextBlock contextRef="P04_01_2025To03_31_2026" id="ixv-84429">The Flex Compensation and People Committee approves all equity awards granted to its executive officers on or before the grant date. Annual equity awards are typically granted to executive officers in June following the completion and release of financial results for the preceding fiscal year. The Flex Compensation and People Committee may also grant equity awards at other times during the year due to special circumstances, including to new executive officers upon hire or promotion or a change in an executive officer&#x2019;s role or scope of responsibilities.</ecd:AwardTmgMethodTextBlock>
    <ecd:AwardTmgPredtrmndFlag contextRef="P04_01_2025To03_31_2026" id="ixv-84430">true</ecd:AwardTmgPredtrmndFlag>
    <ecd:AwardTmgHowMnpiCnsdrdTextBlock contextRef="P04_01_2025To03_31_2026" id="ixv-84431">As a matter of good corporate governance, Flex does not grant equity awards in anticipation of the release of material nonpublic information and, in any event, Flex does not time the release of material nonpublic information in coordination with grants of equity awards in a manner that intentionally benefits its executive officers.</ecd:AwardTmgHowMnpiCnsdrdTextBlock>
    <ecd:AwardTmgMnpiCnsdrdFlag contextRef="P04_01_2025To03_31_2026" id="ixv-84432">false</ecd:AwardTmgMnpiCnsdrdFlag>
    <ecd:MnpiDiscTimedForCompValFlag contextRef="P04_01_2025To03_31_2026" id="ixv-84433">false</ecd:MnpiDiscTimedForCompValFlag>
</xbrl>
