<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.24.3</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>142</ContextCount>
  <ElementCount>276</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>55</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>7</UnitCount>
  <MyReports>
    <Report instance="fdx-20240831.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/20240831/taxonomy/role/Role_DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="fdx-20240831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>100010 - Statement - Condensed Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240831/taxonomy/role/Role_StatementCondensedConsolidatedBalanceSheets</Role>
      <ShortName>Condensed Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="fdx-20240831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>100020 - Statement - Condensed Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240831/taxonomy/role/Role_StatementCondensedConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Condensed Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="fdx-20240831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>100030 - Statement - Condensed Consolidated Statements of Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240831/taxonomy/role/Role_StatementCondensedConsolidatedStatementsOfIncome</Role>
      <ShortName>Condensed Consolidated Statements of Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="fdx-20240831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>100040 - Statement - Condensed Consolidated Statements of Comprehensive Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240831/taxonomy/role/Role_StatementCondensedConsolidatedStatementsOfComprehensiveIncome</Role>
      <ShortName>Condensed Consolidated Statements of Comprehensive Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="fdx-20240831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>100050 - Statement - Condensed Consolidated Statements of Comprehensive Income (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240831/taxonomy/role/Role_StatementCondensedConsolidatedStatementsOfComprehensiveIncomeParenthetical</Role>
      <ShortName>Condensed Consolidated Statements of Comprehensive Income (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="fdx-20240831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>100060 - Statement - Condensed Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240831/taxonomy/role/Role_StatementCondensedConsolidatedStatementsOfCashFlows</Role>
      <ShortName>Condensed Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="fdx-20240831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>100070 - Statement - Condensed Consolidated Statements of Changes in Common Stockholders' Investment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240831/taxonomy/role/Role_StatementCondensedConsolidatedStatementsOfChangesInCommonStockholdersInvestment</Role>
      <ShortName>Condensed Consolidated Statements of Changes in Common Stockholders' Investment</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="fdx-20240831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>100080 - Statement - Condensed Consolidated Statements of Changes in Common Stockholders' Investment (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240831/taxonomy/role/Role_StatementCondensedConsolidatedStatementsOfChangesInCommonStockholdersInvestmentParenthetical</Role>
      <ShortName>Condensed Consolidated Statements of Changes in Common Stockholders' Investment (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="fdx-20240831.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-20240831.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-20240831.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/20240831/taxonomy/role/DisclosureDescriptionOfBusinessSegmentsAndSummaryOfSignificantAccountingPolicies1</Role>
      <ShortName>Description of Business Segments and Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="fdx-20240831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>995465 - Disclosure - Credit Losses</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240831/taxonomy/role/Role_DisclosureCreditLosses</Role>
      <ShortName>Credit Losses</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="fdx-20240831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>995475 - Disclosure - Accumulated Other Comprehensive Loss</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240831/taxonomy/role/Role_DisclosureAccumulatedOtherComprehensiveLoss</Role>
      <ShortName>Accumulated Other Comprehensive Loss</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="fdx-20240831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>995485 - Disclosure - Financing Arrangements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240831/taxonomy/role/Role_DisclosureFinancingArrangements</Role>
      <ShortName>Financing Arrangements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="fdx-20240831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>995495 - Disclosure - Computation of Earnings Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240831/taxonomy/role/Role_DisclosureComputationOfEarningsPerShare</Role>
      <ShortName>Computation of Earnings Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="fdx-20240831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>995505 - Disclosure - Retirement Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240831/taxonomy/role/Role_DisclosureRetirementPlans</Role>
      <ShortName>Retirement Plans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="fdx-20240831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>995515 - Disclosure - Business Segment Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240831/taxonomy/role/Role_DisclosureBusinessSegmentInformation</Role>
      <ShortName>Business Segment Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="fdx-20240831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>995525 - Disclosure - Commitments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240831/taxonomy/role/Role_DisclosureCommitments</Role>
      <ShortName>Commitments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="fdx-20240831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>995535 - Disclosure - Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240831/taxonomy/role/Role_DisclosureContingencies</Role>
      <ShortName>Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="fdx-20240831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>995545 - Disclosure - Supplemental Cash Flow Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240831/taxonomy/role/Role_DisclosureSupplementalCashFlowInformation</Role>
      <ShortName>Supplemental Cash Flow Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="fdx-20240831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>995555 - Disclosure - Description of Business Segments and Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240831/taxonomy/role/DisclosureDescriptionOfBusinessSegmentsAndSummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Description of Business Segments and Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.fedex.com/20240831/taxonomy/role/DisclosureDescriptionOfBusinessSegmentsAndSummaryOfSignificantAccountingPolicies1</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="fdx-20240831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>995565 - Disclosure - Description of Business Segments and Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240831/taxonomy/role/DisclosureDescriptionOfBusinessSegmentsAndSummaryOfSignificantAccountingPoliciesTables</Role>
      <ShortName>Description of Business Segments and Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.fedex.com/20240831/taxonomy/role/DisclosureDescriptionOfBusinessSegmentsAndSummaryOfSignificantAccountingPolicies1</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="fdx-20240831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>995575 - Disclosure - Accumulated Other Comprehensive Loss (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240831/taxonomy/role/Role_DisclosureAccumulatedOtherComprehensiveLossTables</Role>
      <ShortName>Accumulated Other Comprehensive Loss (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.fedex.com/20240831/taxonomy/role/Role_DisclosureAccumulatedOtherComprehensiveLoss</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="fdx-20240831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>995585 - Disclosure - Computation of Earnings Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240831/taxonomy/role/Role_DisclosureComputationOfEarningsPerShareTables</Role>
      <ShortName>Computation of Earnings Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.fedex.com/20240831/taxonomy/role/Role_DisclosureComputationOfEarningsPerShare</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="fdx-20240831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>995595 - Disclosure - Retirement Plans (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240831/taxonomy/role/Role_DisclosureRetirementPlansTables</Role>
      <ShortName>Retirement Plans (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.fedex.com/20240831/taxonomy/role/Role_DisclosureRetirementPlans</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="fdx-20240831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>995605 - Disclosure - Business Segment Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240831/taxonomy/role/Role_DisclosureBusinessSegmentInformationTables</Role>
      <ShortName>Business Segment Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.fedex.com/20240831/taxonomy/role/Role_DisclosureBusinessSegmentInformation</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="fdx-20240831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>995615 - Disclosure - Commitments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240831/taxonomy/role/Role_DisclosureCommitmentsTables</Role>
      <ShortName>Commitments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.fedex.com/20240831/taxonomy/role/Role_DisclosureCommitments</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="fdx-20240831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>995625 - Disclosure - Supplemental Cash Flow Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240831/taxonomy/role/Role_DisclosureSupplementalCashFlowInformationTables</Role>
      <ShortName>Supplemental Cash Flow Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.fedex.com/20240831/taxonomy/role/Role_DisclosureSupplementalCashFlowInformation</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="fdx-20240831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>995635 - Disclosure - Description of Business Segments and Summary of Significant Accounting Policies- Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240831/taxonomy/role/DisclosureDescriptionOfBusinessSegmentsAndSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails</Role>
      <ShortName>Description of Business Segments and Summary of Significant Accounting Policies- Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="fdx-20240831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>995645 - Disclosure - Description of Business Segments and Summary of Significant Accounting Policies - Schedule of Revenue by Service Type (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240831/taxonomy/role/DisclosureDescriptionOfBusinessSegmentsAndSummaryOfSignificantAccountingPoliciesScheduleOfRevenueByServiceTypeDetails</Role>
      <ShortName>Description of Business Segments and Summary of Significant Accounting Policies - Schedule of Revenue by Service Type (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="fdx-20240831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>995655 - 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/20240831/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>32</Position>
    </Report>
    <Report instance="fdx-20240831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>995665 - Disclosure - Credit Losses - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240831/taxonomy/role/Role_DisclosureCreditLossesAdditionalInformationDetails</Role>
      <ShortName>Credit Losses - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="fdx-20240831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>995675 - Disclosure - Accumulated Other Comprehensive Loss - Schedule of Changes in Accumulated Other Comprehensive Loss (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240831/taxonomy/role/DisclosureAccumulatedOtherComprehensiveLossScheduleOfChangesInAccumulatedOtherComprehensiveLossDetails</Role>
      <ShortName>Accumulated Other Comprehensive Loss - Schedule of Changes in Accumulated Other Comprehensive Loss (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="fdx-20240831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>995695 - Disclosure - Financing Arrangements - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240831/taxonomy/role/Role_DisclosureFinancingArrangementsAdditionalInformationDetails</Role>
      <ShortName>Financing Arrangements - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="fdx-20240831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>995705 - 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/20240831/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>36</Position>
    </Report>
    <Report instance="fdx-20240831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>995715 - Disclosure - Retirement Plans - Schedule of Retirement Plan Costs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240831/taxonomy/role/Role_DisclosureRetirementPlansScheduleOfRetirementPlanCostsDetails</Role>
      <ShortName>Retirement Plans - Schedule of Retirement Plan Costs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="fdx-20240831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>995725 - Disclosure - Retirement Plans - Schedule of Net Periodic Benefit Cost (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240831/taxonomy/role/Role_DisclosureRetirementPlansScheduleOfNetPeriodicBenefitCostDetails</Role>
      <ShortName>Retirement Plans - Schedule of Net Periodic Benefit Cost (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="fdx-20240831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>995735 - Disclosure - Retirement Plans - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240831/taxonomy/role/Role_DisclosureRetirementPlansAdditionalInformationDetails</Role>
      <ShortName>Retirement Plans - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="fdx-20240831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>995745 - Disclosure - Business Segment Information - Schedule of Segment Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240831/taxonomy/role/Role_DisclosureBusinessSegmentInformationScheduleOfSegmentInformationDetails</Role>
      <ShortName>Business Segment Information - Schedule of Segment Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="fdx-20240831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>995755 - Disclosure - Commitments - Schedule of Purchase Commitments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240831/taxonomy/role/Role_DisclosureCommitmentsScheduleOfPurchaseCommitmentsDetails</Role>
      <ShortName>Commitments - Schedule of Purchase Commitments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="fdx-20240831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>995765 - Disclosure - Commitments - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240831/taxonomy/role/Role_DisclosureCommitmentsAdditionalInformationDetails</Role>
      <ShortName>Commitments - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="fdx-20240831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>995775 - Disclosure - Commitments - Schedule of Aircraft Purchase Commitments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240831/taxonomy/role/Role_DisclosureCommitmentsScheduleOfAircraftPurchaseCommitmentsDetails</Role>
      <ShortName>Commitments - Schedule of Aircraft Purchase Commitments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="fdx-20240831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>995785 - Disclosure - Commitments - Summary of Future Minimum Lease Payments, Operating and Finance Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240831/taxonomy/role/Role_DisclosureCommitmentsSummaryOfFutureMinimumLeasePaymentsOperatingAndFinanceLeasesDetails</Role>
      <ShortName>Commitments - Summary of Future Minimum Lease Payments, Operating and Finance Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="fdx-20240831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>995805 - Disclosure - Contingencies - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240831/taxonomy/role/Role_DisclosureContingenciesAdditionalInformationDetails</Role>
      <ShortName>Contingencies - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="fdx-20240831.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>995815 - Disclosure - Supplemental Cash Flow Information - Supplemental Cash Flow (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.fedex.com/20240831/taxonomy/role/Role_DisclosureSupplementalCashFlowInformationSupplementalCashFlowDetails</Role>
      <ShortName>Supplemental Cash Flow Information - Supplemental Cash Flow (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</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-Q" isDefinitelyFs="true" isUsgaap="true" original="fdx-20240831.htm">fdx-20240831.htm</File>
    <File>fdx-20240831.xsd</File>
  </InputFiles>
  <SupplementalFiles>
    <File>img167632985_0.jpg</File>
    <File>img167632985_1.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="2">http://fasb.org/srt/2024</BaseTaxonomy>
    <BaseTaxonomy items="472">http://fasb.org/us-gaap/2024</BaseTaxonomy>
    <BaseTaxonomy items="44">http://xbrl.sec.gov/dei/2024</BaseTaxonomy>
    <BaseTaxonomy items="4">http://xbrl.sec.gov/ecd/2024</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>false</HasPresentationLinkbase>
  <HasCalculationLinkbase>false</HasCalculationLinkbase>
</FilingSummary>
