<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.24.2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>524</ContextCount>
  <ElementCount>607</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>137</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>8</UnitCount>
  <MyReports>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>100000 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>100010 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_StatementConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>100030 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_StatementConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>100040 - Statement - Consolidated Statements of Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_StatementConsolidatedStatementsOfIncome</Role>
      <ShortName>Consolidated Statements of Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>100050 - Statement - Consolidated Statements of Comprehensive Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_StatementConsolidatedStatementsOfComprehensiveIncome</Role>
      <ShortName>Consolidated Statements of Comprehensive Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>100060 - Statement - Consolidated Statements of Comprehensive Income (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_StatementConsolidatedStatementsOfComprehensiveIncomeParenthetical</Role>
      <ShortName>Consolidated Statements of Comprehensive Income (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>100070 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_StatementConsolidatedStatementsOfCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>100080 - Statement - Consolidated Statements of Changes in Common Stockholders' Investment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInCommonStockholdersInvestment</Role>
      <ShortName>Consolidated Statements of Changes in Common Stockholders' Investment</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>100090 - Statement - Consolidated Statements of Changes in Common Stockholders' Investment (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_StatementConsolidatedStatementsOfChangesInCommonStockholdersInvestmentParenthetical</Role>
      <ShortName>Consolidated Statements of Changes in Common Stockholders' Investment (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>995410 - Disclosure - Pay vs Performance Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/PvpDisclosure</Role>
      <ShortName>Pay vs Performance Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>995445 - Disclosure - Insider Trading Arrangements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements</Role>
      <ShortName>Insider Trading Arrangements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>995455 - Disclosure - Description of Business Segments and Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureDescriptionOfBusinessSegmentsAndSummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Description of Business Segments and Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>995465 - Disclosure - Recent Accounting Guidance</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureRecentAccountingGuidance</Role>
      <ShortName>Recent Accounting Guidance</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>995475 - Disclosure - Credit Losses</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureCreditLosses</Role>
      <ShortName>Credit Losses</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>995495 - Disclosure - Goodwill and Other Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureGoodwillAndOtherIntangibleAssets</Role>
      <ShortName>Goodwill and Other Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>995505 - Disclosure - Selected Current Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureSelectedCurrentLiabilities</Role>
      <ShortName>Selected Current Liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>995515 - Disclosure - Long-Term Debt and Other Financing Arrangements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureLongTermDebtAndOtherFinancingArrangements</Role>
      <ShortName>Long-Term Debt and Other Financing Arrangements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>995525 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureLeases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>995535 - Disclosure - Preferred Stock</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosurePreferredStock</Role>
      <ShortName>Preferred Stock</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>995545 - Disclosure - Accumulated Other Comprehensive Loss</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/DisclosureAccumulatedOtherComprehensiveLoss</Role>
      <ShortName>Accumulated Other Comprehensive Loss</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>995555 - Disclosure - Stock-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureStockBasedCompensation</Role>
      <ShortName>Stock-Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>995565 - Disclosure - Computation of Earnings Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureComputationOfEarningsPerShare</Role>
      <ShortName>Computation of Earnings Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>995575 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureIncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>995585 - Disclosure - Retirement Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureRetirementPlans</Role>
      <ShortName>Retirement Plans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>995595 - Disclosure - Business Segments and Disaggregated Revenue</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureBusinessSegmentsAndDisaggregatedRevenue</Role>
      <ShortName>Business Segments and Disaggregated Revenue</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>995605 - Disclosure - Derivative Financial Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/DisclosureDerivativeFinancialInstruments</Role>
      <ShortName>Derivative Financial Instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>995615 - Disclosure - Supplemental Cash Flow Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureSupplementalCashFlowInformation</Role>
      <ShortName>Supplemental Cash Flow Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>995625 - Disclosure - Guarantees and Indemnifications</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureGuaranteesAndIndemnifications</Role>
      <ShortName>Guarantees and Indemnifications</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>995635 - Disclosure - Commitments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureCommitments</Role>
      <ShortName>Commitments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>995645 - Disclosure - Investments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/DisclosureInvestments</Role>
      <ShortName>Investments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>995655 - Disclosure - Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureContingencies</Role>
      <ShortName>Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>995675 - Disclosure - Valuation and Qualifying Accounts</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureValuationAndQualifyingAccounts</Role>
      <ShortName>Valuation and Qualifying Accounts</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>995685 - Disclosure - Description of Business Segments and Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureDescriptionOfBusinessSegmentsAndSummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Description of Business Segments and Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureDescriptionOfBusinessSegmentsAndSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>995695 - Disclosure - Description of Business Segments and Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureDescriptionOfBusinessSegmentsAndSummaryOfSignificantAccountingPoliciesTables</Role>
      <ShortName>Description of Business Segments and Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureDescriptionOfBusinessSegmentsAndSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>995705 - Disclosure - Goodwill and Other Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureGoodwillAndOtherIntangibleAssetsTables</Role>
      <ShortName>Goodwill and Other Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureGoodwillAndOtherIntangibleAssets</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>995715 - Disclosure - Selected Current Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureSelectedCurrentLiabilitiesTables</Role>
      <ShortName>Selected Current Liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureSelectedCurrentLiabilities</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>995725 - Disclosure - Long Term Debt and Other Financing Arrangements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureLongTermDebtAndOtherFinancingArrangementsTables</Role>
      <ShortName>Long Term Debt and Other Financing Arrangements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>995735 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureLeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureLeases</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>995745 - Disclosure - Accumulated Other Comprehensive Loss (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/DisclosureAccumulatedOtherComprehensiveLossTables</Role>
      <ShortName>Accumulated Other Comprehensive Loss (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.fedex.com/20240531/taxonomy/role/DisclosureAccumulatedOtherComprehensiveLoss</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>995755 - Disclosure - Stock-Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureStockBasedCompensationTables</Role>
      <ShortName>Stock-Based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureStockBasedCompensation</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>995765 - Disclosure - Computation of Earnings Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureComputationOfEarningsPerShareTables</Role>
      <ShortName>Computation of Earnings Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureComputationOfEarningsPerShare</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>995775 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureIncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureIncomeTaxes</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>995785 - Disclosure - Retirement Plans (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureRetirementPlansTables</Role>
      <ShortName>Retirement Plans (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureRetirementPlans</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>995795 - Disclosure - Business Segments and Disaggregated Revenue (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureBusinessSegmentsAndDisaggregatedRevenueTables</Role>
      <ShortName>Business Segments and Disaggregated Revenue (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureBusinessSegmentsAndDisaggregatedRevenue</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>995805 - Disclosure - Derivative Financial Instruments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/DisclosureDerivativeFinancialInstrumentsTables</Role>
      <ShortName>Derivative Financial Instruments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.fedex.com/20240531/taxonomy/role/DisclosureDerivativeFinancialInstruments</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>995815 - Disclosure - Supplemental Cash Flow Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureSupplementalCashFlowInformationTables</Role>
      <ShortName>Supplemental Cash Flow Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureSupplementalCashFlowInformation</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>995825 - Disclosure - Commitments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureCommitmentsTables</Role>
      <ShortName>Commitments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureCommitments</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>995835 - Disclosure - Investments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/DisclosureInvestmentsTables</Role>
      <ShortName>Investments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.fedex.com/20240531/taxonomy/role/DisclosureInvestments</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>995845 - Disclosure - Valuation and Qualifying Accounts (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureValuationAndQualifyingAccountsTables</Role>
      <ShortName>Valuation and Qualifying Accounts (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureValuationAndQualifyingAccounts</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>995855 - Disclosure - Description of Business Segments and Summary of Significant Accounting Policies - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureDescriptionOfBusinessSegmentsAndSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails</Role>
      <ShortName>Description of Business Segments and Summary of Significant Accounting Policies - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>995865 - Disclosure - Description of Business Segments and Summary of Significant Accounting Policies - Schedule of Depreciable Lives and Net Book Value of Our Property and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureDescriptionOfBusinessSegmentsAndSummaryOfSignificantAccountingPoliciesScheduleOfDepreciableLivesAndNetBookValueOfOurPropertyAndEquipmentDetails</Role>
      <ShortName>Description of Business Segments and Summary of Significant Accounting Policies - Schedule of Depreciable Lives and Net Book Value of Our Property and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>995875 - Disclosure - Description of Business Segments and Summary of Significant Accounting Policies - Schedule of Obligation Confirmed and Paid (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/DisclosureDescriptionOfBusinessSegmentsAndSummaryOfSignificantAccountingPoliciesScheduleOfObligationConfirmedAndPaidDetails</Role>
      <ShortName>Description of Business Segments and Summary of Significant Accounting Policies - Schedule of Obligation Confirmed and Paid (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>995885 - Disclosure - Recent Accounting Guidance - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureRecentAccountingGuidanceAdditionalInformationDetails</Role>
      <ShortName>Recent Accounting Guidance - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>995895 - Disclosure - Credit Losses - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureCreditLossesAdditionalInformationDetails</Role>
      <ShortName>Credit Losses - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>995915 - Disclosure - Goodwill and Other Intangible Assets - Schedule of Goodwill (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureGoodwillAndOtherIntangibleAssetsScheduleOfGoodwillDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets - Schedule of Goodwill (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>995925 - Disclosure - Goodwill and Other Intangible Assets - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureGoodwillAndOtherIntangibleAssetsAdditionalInformationDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>995935 - Disclosure - Goodwill and Other Intangible Assets - Schedule of Identifiable Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureGoodwillAndOtherIntangibleAssetsScheduleOfIdentifiableIntangibleAssetsDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets - Schedule of Identifiable Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>995945 - Disclosure - Goodwill and Other Intangible Assets - Schedule of Finite Lived Intangible Assets Future Amortization Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureGoodwillAndOtherIntangibleAssetsScheduleOfFiniteLivedIntangibleAssetsFutureAmortizationExpenseDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets - Schedule of Finite Lived Intangible Assets Future Amortization Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>995955 - Disclosure - Selected Current Liabilities - Components of Selected Current Liability Captions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureSelectedCurrentLiabilitiesComponentsOfSelectedCurrentLiabilityCaptionsDetails</Role>
      <ShortName>Selected Current Liabilities - Components of Selected Current Liability Captions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>995965 - Disclosure - Long-term Debt and Other Financing Arrangements - Components of Long-term Debt (Net of Discounts and Debt Issuance Costs) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureLongTermDebtAndOtherFinancingArrangementsComponentsOfLongTermDebtNetOfDiscountsAndDebtIssuanceCostsDetails</Role>
      <ShortName>Long-term Debt and Other Financing Arrangements - Components of Long-term Debt (Net of Discounts and Debt Issuance Costs) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>995975 - Disclosure - Long-term Debt and Other Financing Arrangements - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureLongTermDebtAndOtherFinancingArrangementsAdditionalInformationDetails</Role>
      <ShortName>Long-term Debt and Other Financing Arrangements - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>995985 - Disclosure - Long-term Debt and Other Financing Arrangements - Scheduled Principal Payments on Long-Term Debt Maturities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/DisclosureLongtermDebtAndOtherFinancingArrangementsScheduledPrincipalPaymentsOnLongtermDebtMaturitiesDetails</Role>
      <ShortName>Long-term Debt and Other Financing Arrangements - Scheduled Principal Payments on Long-Term Debt Maturities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>995995 - Disclosure - Leases - Summary of Components of Net Lease Cost (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureLeasesSummaryOfComponentsOfNetLeaseCostDetails</Role>
      <ShortName>Leases - Summary of Components of Net Lease Cost (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>996015 - Disclosure - Leases - Schedule of Supplemental Cash Flow Information Related to Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureLeasesScheduleOfSupplementalCashFlowInformationRelatedToLeasesDetails</Role>
      <ShortName>Leases - Schedule of Supplemental Cash Flow Information Related to Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>996025 - Disclosure - Leases - Schedule of Supplemental Balance Sheet Information Related to Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureLeasesScheduleOfSupplementalBalanceSheetInformationRelatedToLeasesDetails</Role>
      <ShortName>Leases - Schedule of Supplemental Balance Sheet Information Related to Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>996035 - Disclosure - Leases - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureLeasesAdditionalInformationDetails</Role>
      <ShortName>Leases - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>996045 - Disclosure - Leases - Summary of Future Minimum Lease Payments, Operating and Finance Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureLeasesSummaryOfFutureMinimumLeasePaymentsOperatingAndFinanceLeasesDetails</Role>
      <ShortName>Leases - Summary of Future Minimum Lease Payments, Operating and Finance Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>996055 - Disclosure - Preferred Stock - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosurePreferredStockAdditionalInformationDetails</Role>
      <ShortName>Preferred Stock - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>996065 - Disclosure - Accumulated Other Comprehensive Loss - Schedule of Changes in Accumulated Other Comprehensive Loss (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/DisclosureAccumulatedOtherComprehensiveLossScheduleOfChangesInAccumulatedOtherComprehensiveLossDetails</Role>
      <ShortName>Accumulated Other Comprehensive Loss - Schedule of Changes in Accumulated Other Comprehensive Loss (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>996075 - Disclosure - Stock-Based Compensation - Stock-based Compensation Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureStockBasedCompensationStockBasedCompensationExpenseDetails</Role>
      <ShortName>Stock-Based Compensation - Stock-based Compensation Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>996085 - Disclosure - Stock-Based Compensation - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureStockBasedCompensationAdditionalInformationDetails</Role>
      <ShortName>Stock-Based Compensation - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>996095 - Disclosure - Stock-Based Compensation - Schedule of Stock Based Compensation Key Assumptions for Valuation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureStockBasedCompensationScheduleOfStockBasedCompensationKeyAssumptionsForValuationDetails</Role>
      <ShortName>Stock-Based Compensation - Schedule of Stock Based Compensation Key Assumptions for Valuation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>996105 - Disclosure - Stock-Based Compensation - Schedule of Stock Option Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureStockBasedCompensationScheduleOfStockOptionActivityDetails</Role>
      <ShortName>Stock-Based Compensation - Schedule of Stock Option Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>996115 - Disclosure - Stock-Based Compensation - Schedule of Vested and Unvested Restricted Stock and RSUs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/DisclosureStockbasedCompensationScheduleOfVestedAndUnvestedRestrictedStockAndRsusDetails</Role>
      <ShortName>Stock-Based Compensation - Schedule of Vested and Unvested Restricted Stock and RSUs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>996125 - Disclosure - Stock-Based Compensation - Schedule of Stock Option Vesting (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureStockBasedCompensationScheduleOfStockOptionVestingDetails</Role>
      <ShortName>Stock-Based Compensation - Schedule of Stock Option Vesting (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>996135 - Disclosure - Computation of Earnings Per Share - Schedule of Basic and Diluted Earnings per Common Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureComputationOfEarningsPerShareScheduleOfBasicAndDilutedEarningsPerCommonShareDetails</Role>
      <ShortName>Computation of Earnings Per Share - Schedule of Basic and Diluted Earnings per Common Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>996145 - Disclosure - Income Taxes - Schedule of Components of Provision for Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfComponentsOfProvisionForIncomeTaxesDetails</Role>
      <ShortName>Income Taxes - Schedule of Components of Provision for Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>996155 - Disclosure - Income Taxes - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails</Role>
      <ShortName>Income Taxes - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>996165 - Disclosure - Income Taxes - Schedule of Reconciliation of Total Income Tax Expense and Amount Computed by Statutory Federal Income Tax Rate to Income Before Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfReconciliationOfTotalIncomeTaxExpenseAndAmountComputedByStatutoryFederalIncomeTaxRateToIncomeBeforeIncomeTaxesDetails</Role>
      <ShortName>Income Taxes - Schedule of Reconciliation of Total Income Tax Expense and Amount Computed by Statutory Federal Income Tax Rate to Income Before Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>996175 - Disclosure - Income Taxes - Schedule of Significant Components of Deferred Tax Assets and Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfSignificantComponentsOfDeferredTaxAssetsAndLiabilitiesDetails</Role>
      <ShortName>Income Taxes - Schedule of Significant Components of Deferred Tax Assets and Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>996185 - Disclosure - Income Taxes - Schedule of Net Deferred Tax Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureIncomeTaxesScheduleOfNetDeferredTaxLiabilitiesDetails</Role>
      <ShortName>Income Taxes - Schedule of Net Deferred Tax Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>996195 - Disclosure - Income Taxes - Reconciliation of Beginning and Ending Amount of Unrecognized Tax Benefits (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureIncomeTaxesReconciliationOfBeginningAndEndingAmountOfUnrecognizedTaxBenefitsDetails</Role>
      <ShortName>Income Taxes - Reconciliation of Beginning and Ending Amount of Unrecognized Tax Benefits (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>996205 - Disclosure - Retirement Plans - Schedule of Retirement Plan Costs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureRetirementPlansScheduleOfRetirementPlanCostsDetails</Role>
      <ShortName>Retirement Plans - Schedule of Retirement Plan Costs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>996215 - Disclosure - Retirement Plans - Schedule of MTM Adjustments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureRetirementPlansScheduleOfMTMAdjustmentsDetails</Role>
      <ShortName>Retirement Plans - Schedule of MTM Adjustments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>84</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>996225 - Disclosure - Retirement Plans - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureRetirementPlansAdditionalInformationDetails</Role>
      <ShortName>Retirement Plans - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>85</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>996235 - Disclosure - Retirement Plans - Schedule of Weighted Average Actuarial Assumptions Used to Determine the Benefit Obligations and Net Periodic Benefit Cost of our Plans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureRetirementPlansScheduleOfWeightedAverageActuarialAssumptionsUsedToDetermineBenefitObligationsAndNetPeriodicBenefitCostOfOurPlansDetails</Role>
      <ShortName>Retirement Plans - Schedule of Weighted Average Actuarial Assumptions Used to Determine the Benefit Obligations and Net Periodic Benefit Cost of our Plans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>86</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>996245 - Disclosure - Retirement Plans - Schedule of Weighted-Average Asset Allocations for U.S Pension Plans and International Pension Plan (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/DisclosureRetirementPlansScheduleOfWeightedaverageAssetAllocationsForUsPensionPlansAndInternationalPensionPlanDetails</Role>
      <ShortName>Retirement Plans - Schedule of Weighted-Average Asset Allocations for U.S Pension Plans and International Pension Plan (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>87</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>996255 - Disclosure - Retirement Plans - Schedule of Change in Fair Value of Level 3 Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureRetirementPlansScheduleOfChangeInFairValueOfLevel3AssetsDetails</Role>
      <ShortName>Retirement Plans - Schedule of Change in Fair Value of Level 3 Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>88</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>996265 - Disclosure - Retirement Plans - Reconciliation of Changes In Pension And Postretirement Healthcare Plans Benefit Obligations And Fair Value Of Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureRetirementPlansReconciliationOfChangesInPensionAndPostretirementHealthcarePlansBenefitObligationsAndFairValueOfAssetsDetails</Role>
      <ShortName>Retirement Plans - Reconciliation of Changes In Pension And Postretirement Healthcare Plans Benefit Obligations And Fair Value Of Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>89</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>996275 - Disclosure - Retirement Plans - Schedule of Components of Pension Plans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureRetirementPlansScheduleOfComponentsOfPensionPlansDetails</Role>
      <ShortName>Retirement Plans - Schedule of Components of Pension Plans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>90</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>996285 - Disclosure - Retirement Plans - Schedule of Fair Value of Plan Assets for Pension Plans with a PBO or ABO in Excess of Plan Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureRetirementPlansScheduleOfFairValueOfPlanAssetsForPensionPlansWithPBOOrABOInExcessOfPlanAssetsDetails</Role>
      <ShortName>Retirement Plans - Schedule of Fair Value of Plan Assets for Pension Plans with a PBO or ABO in Excess of Plan Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>91</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>996295 - Disclosure - Retirement Plans - Schedule of Pension Plans Contributions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureRetirementPlansScheduleOfPensionPlansContributionsDetails</Role>
      <ShortName>Retirement Plans - Schedule of Pension Plans Contributions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>92</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>996305 - Disclosure - Retirement Plans - Schedule of Net Periodic Benefit (Income) Cost (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/DisclosureRetirementPlansScheduleOfNetPeriodicBenefitIncomeCostDetails</Role>
      <ShortName>Retirement Plans - Schedule of Net Periodic Benefit (Income) Cost (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>93</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>996315 - Disclosure - Retirement Plans - Schedule of Expected Future Benefit Payments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureRetirementPlansScheduleOfExpectedFutureBenefitPaymentsDetails</Role>
      <ShortName>Retirement Plans - Schedule of Expected Future Benefit Payments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>94</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>996325 - Disclosure - Business Segments and Disaggregated Revenue - Schedule of Segment Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureBusinessSegmentsAndDisaggregatedRevenueScheduleOfSegmentInformationDetails</Role>
      <ShortName>Business Segments and Disaggregated Revenue - Schedule of Segment Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>95</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>996335 - Disclosure - Business Segments and Disaggregated Revenue - Schedule of Segment Information (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureBusinessSegmentsAndDisaggregatedRevenueScheduleOfSegmentInformationParentheticalDetails</Role>
      <ShortName>Business Segments and Disaggregated Revenue - Schedule of Segment Information (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>96</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>996345 - Disclosure - Business Segments and Disaggregated Revenue - Schedule of Revenue by Service Type (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureBusinessSegmentsAndDisaggregatedRevenueScheduleOfRevenueByServiceTypeDetails</Role>
      <ShortName>Business Segments and Disaggregated Revenue - Schedule of Revenue by Service Type (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>97</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>996355 - Disclosure - Business Segments and Disaggregated Revenue - Schedule of Geographical Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureBusinessSegmentsAndDisaggregatedRevenueScheduleOfGeographicalInformationDetails</Role>
      <ShortName>Business Segments and Disaggregated Revenue - Schedule of Geographical Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>98</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R99.htm</HtmlFileName>
      <LongName>996365 - Disclosure - Derivative Financial Instruments - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/DisclosureDerivativeFinancialInstrumentsAdditionalInformationDetails</Role>
      <ShortName>Derivative Financial Instruments - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>99</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R100.htm</HtmlFileName>
      <LongName>996375 - Disclosure - Derivative Financial Instruments - Schedule of Foreign Currency Derivatives (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/DisclosureDerivativeFinancialInstrumentsScheduleOfForeignCurrencyDerivativesDetails</Role>
      <ShortName>Derivative Financial Instruments - Schedule of Foreign Currency Derivatives (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>100</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R101.htm</HtmlFileName>
      <LongName>996385 - Disclosure - Derivative Financial Instruments - Schedule of Fair Value of Derivatives (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/DisclosureDerivativeFinancialInstrumentsScheduleOfFairValueOfDerivativesDetails</Role>
      <ShortName>Derivative Financial Instruments - Schedule of Fair Value of Derivatives (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>101</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R102.htm</HtmlFileName>
      <LongName>996395 - Disclosure - Supplemental Cash Flow Information - Supplemental Cash Flow (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureSupplementalCashFlowInformationSupplementalCashFlowDetails</Role>
      <ShortName>Supplemental Cash Flow Information - Supplemental Cash Flow (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>102</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R103.htm</HtmlFileName>
      <LongName>996405 - Disclosure - Commitments - Schedule of Purchase Commitments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureCommitmentsScheduleOfPurchaseCommitmentsDetails</Role>
      <ShortName>Commitments - Schedule of Purchase Commitments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>103</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R104.htm</HtmlFileName>
      <LongName>996415 - Disclosure - Commitments - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureCommitmentsAdditionalInformationDetails</Role>
      <ShortName>Commitments - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>104</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R105.htm</HtmlFileName>
      <LongName>996425 - Disclosure - Commitments - Schedule of Aircraft Purchase Commitments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureCommitmentsScheduleOfAircraftPurchaseCommitmentsDetails</Role>
      <ShortName>Commitments - Schedule of Aircraft Purchase Commitments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>105</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R106.htm</HtmlFileName>
      <LongName>996435 - Disclosure - Investments - Summary of Investments in Equity Securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/DisclosureInvestmentsSummaryOfInvestmentsInEquitySecuritiesDetails</Role>
      <ShortName>Investments - Summary of Investments in Equity Securities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>106</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R107.htm</HtmlFileName>
      <LongName>996445 - Disclosure - Investments - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/DisclosureInvestmentsAdditionalInformationDetails</Role>
      <ShortName>Investments - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>107</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R108.htm</HtmlFileName>
      <LongName>996455 - Disclosure - Investments - Schedule of Debt Securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/DisclosureInvestmentsScheduleOfDebtSecuritiesDetails</Role>
      <ShortName>Investments - Schedule of Debt Securities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>108</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R109.htm</HtmlFileName>
      <LongName>996465 - Disclosure - Contingencies - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureContingenciesAdditionalInformationDetails</Role>
      <ShortName>Contingencies - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>109</Position>
    </Report>
    <Report instance="fdx-20240531.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R110.htm</HtmlFileName>
      <LongName>996475 - Disclosure - Valuation and Qualifying Accounts (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureValuationAndQualifyingAccountsDetails</Role>
      <ShortName>Valuation and Qualifying Accounts (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.fedex.com/20240531/taxonomy/role/Role_DisclosureValuationAndQualifyingAccountsTables</ParentRole>
      <Position>110</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="10-K" isDefinitelyFs="true" isUsgaap="true" original="fdx-20240531.htm">fdx-20240531.htm</File>
    <File>fdx-20240531.xsd</File>
  </InputFiles>
  <SupplementalFiles>
    <File>img167630102_0.jpg</File>
    <File>img167630102_1.jpg</File>
    <File>img167630102_2.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="1">http://fasb.org/srt/2023</BaseTaxonomy>
    <BaseTaxonomy items="1636">http://fasb.org/us-gaap/2023</BaseTaxonomy>
    <BaseTaxonomy items="53">http://xbrl.sec.gov/dei/2023</BaseTaxonomy>
    <BaseTaxonomy items="4">http://xbrl.sec.gov/ecd/2023</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>false</HasPresentationLinkbase>
  <HasCalculationLinkbase>false</HasCalculationLinkbase>
</FilingSummary>
