<?xml version="1.0" encoding="us-ascii" standalone="yes"?>
<!--Created by 2H Software, Powered by IRIS Carbon, Unique Code 6808131f2eea2b2b44edc7c7, Generated At Tue, 22 Apr 2025 22:10:49 GMT-->
<xsd:schema xmlns:ifrs-full="https://xbrl.ifrs.org/taxonomy/2024-03-27/ifrs-full" xmlns:dtr-types="http://www.xbrl.org/dtr/type/2020-01-21" xmlns:srt="http://fasb.org/srt/2024" xmlns:country="http://xbrl.sec.gov/country/2024" xmlns:us-roles="http://fasb.org/us-roles/2024" xmlns:dei="http://xbrl.sec.gov/dei/2024" xmlns:ecd="http://xbrl.sec.gov/ecd/2024" xmlns:cyd="http://xbrl.sec.gov/cyd/2024" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:ref="http://www.xbrl.org/2006/ref" xmlns:negated="http://www.xbrl.org/2009/role/negated" xmlns:num="http://www.xbrl.org/dtr/type/numeric" xmlns:nonnum="http://www.xbrl.org/dtr/type/non-numeric" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xl="http://www.xbrl.org/2003/XLink" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:ugp="http://www.ultrapar.com/20241231" elementFormDefault="qualified" attributeFormDefault="unqualified" targetNamespace="http://www.ultrapar.com/20241231">
  <xsd:annotation>
    <xsd:appinfo>
      <link:linkbaseRef xlink:type="simple" xlink:href="ugp-20241231_pre.xml" xlink:role="http://www.xbrl.org/2003/role/presentationLinkbaseRef" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" />
      <link:linkbaseRef xlink:type="simple" xlink:href="ugp-20241231_cal.xml" xlink:role="http://www.xbrl.org/2003/role/calculationLinkbaseRef" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" />
      <link:linkbaseRef xlink:type="simple" xlink:href="ugp-20241231_def.xml" xlink:role="http://www.xbrl.org/2003/role/definitionLinkbaseRef" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" />
      <link:linkbaseRef xlink:type="simple" xlink:href="ugp-20241231_lab.xml" xlink:role="http://www.xbrl.org/2003/role/labelLinkbaseRef" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" />
      <link:roleType roleURI="http://www.ultrapar.com/role/CoverPage" id="CoverPage">
        <link:definition>0000 - Document - Cover Page</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/Consolidatedstatementsoffinancialposition" id="Consolidatedstatementsoffinancialposition">
        <link:definition>0010 - Statement - Consolidated statements of financial position</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/Consolidatedstatementsofincome" id="Consolidatedstatementsofincome">
        <link:definition>0020 - Statement - Consolidated statements of income</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/ConsolidatedstatementsofincomeCalc2" id="ConsolidatedstatementsofincomeCalc2">
        <link:definition>0021 - Statement - Consolidated statements of income (Calc 2)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/Consolidatedstatementsofcomprehensiveincome" id="Consolidatedstatementsofcomprehensiveincome">
        <link:definition>0030 - Statement - Consolidated statements of comprehensive income</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/ConsolidatedstatementsofcomprehensiveincomeCalc2" id="ConsolidatedstatementsofcomprehensiveincomeCalc2">
        <link:definition>0031 - Statement - Consolidated statements of comprehensive income (Calc 2)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/Consolidatedstatementsofchangesinequity" id="Consolidatedstatementsofchangesinequity">
        <link:definition>0040 - Statement - Consolidated statements of changes in equity</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/ConsolidatedstatementsofchangesinequityParenthetical" id="ConsolidatedstatementsofchangesinequityParenthetical">
        <link:definition>0041 - Statement - Consolidated statements of changes in equity (Parenthetical)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/Consolidatedstatementsofcashflowsindirectmethod" id="Consolidatedstatementsofcashflowsindirectmethod">
        <link:definition>0050 - Statement - Consolidated statements of cash flows - indirect method</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/ConsolidatedstatementsofcashflowsindirectmethodCalc2" id="ConsolidatedstatementsofcashflowsindirectmethodCalc2">
        <link:definition>0051 - Statement - Consolidated statements of cash flows - indirect method (Calc 2)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/Operations" id="Operations">
        <link:definition>1010 - Disclosure - Operations</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/Basisofpreparationandpresentationofconsolidatedfinancialstatements" id="Basisofpreparationandpresentationofconsolidatedfinancialstatements">
        <link:definition>1020 - Disclosure - Basis of preparation and presentation of consolidated financial statements</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/Newaccountingpoliciesandchangesinaccountingpolicies" id="Newaccountingpoliciesandchangesinaccountingpolicies">
        <link:definition>1025 - Disclosure - New accounting policies and changes in accounting policies</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/PrinciplesOfConsolidationAndInvestmentsInSubsidiaries" id="PrinciplesOfConsolidationAndInvestmentsInSubsidiaries">
        <link:definition>1030 - Disclosure - Principles of Consolidation and Investments in Subsidiaries</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/Cashandcashequivalentsfinancialinvestmentsderivativefinancialinstrumentsandotherfinancialassets" id="Cashandcashequivalentsfinancialinvestmentsderivativefinancialinstrumentsandotherfinancialassets">
        <link:definition>1040 - Disclosure - Cash and cash equivalents, financial investments, derivative financial instruments and other financial assets</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/Tradereceivablesresellerfinancingandotherreceivables" id="Tradereceivablesresellerfinancingandotherreceivables">
        <link:definition>1050 - Disclosure - Trade receivables, reseller financing and other receivables</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/Inventories" id="Inventories">
        <link:definition>1060 - Disclosure - Inventories</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/Recoverabletaxes" id="Recoverabletaxes">
        <link:definition>1070 - Disclosure - Recoverable taxes</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/RelatedParties" id="RelatedParties">
        <link:definition>1080 - Disclosure - Related Parties</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/IncomeAndSocialContributionTaxes" id="IncomeAndSocialContributionTaxes">
        <link:definition>1090 - Disclosure - Income and Social Contribution Taxes</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/PrepaidExpenses" id="PrepaidExpenses">
        <link:definition>1100 - Disclosure - Prepaid Expenses</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/Contractualassetswithcustomersexclusivityrights" id="Contractualassetswithcustomersexclusivityrights">
        <link:definition>1110 - Disclosure - Contractual assets with customers - exclusivity rights</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/Investmentsinsubsidiariesjointventuresandassociates" id="Investmentsinsubsidiariesjointventuresandassociates">
        <link:definition>1120 - Disclosure - Investments in subsidiaries, joint ventures and associates</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/Rightofuseassetsandleasespayable" id="Rightofuseassetsandleasespayable">
        <link:definition>1130 - Disclosure - Right-of-use assets and leases payable</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/Propertyplantandequipment" id="Propertyplantandequipment">
        <link:definition>1140 - Disclosure - Property, plant, and equipment</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/Intangibleassets" id="Intangibleassets">
        <link:definition>1150 - Disclosure - Intangible assets</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/Loansfinancingdebenturesandderivativefinancialinstruments" id="Loansfinancingdebenturesandderivativefinancialinstruments">
        <link:definition>1160 - Disclosure - Loans, financing, debentures and derivative financial instruments</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/Tradepayables" id="Tradepayables">
        <link:definition>1170 - Disclosure - Trade payables</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/Salariesandrelatedcharges" id="Salariesandrelatedcharges">
        <link:definition>1180 - Disclosure - Salaries and related charges</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/TaxesPayable" id="TaxesPayable">
        <link:definition>1190 - Disclosure - Taxes Payable</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/Employeebenefitsandprivatepensionplan" id="Employeebenefitsandprivatepensionplan">
        <link:definition>1200 - Disclosure - Employee benefits and private pension plan</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/Provisionforassetretirementobligation" id="Provisionforassetretirementobligation">
        <link:definition>1210 - Disclosure - Provision for asset retirement obligation</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/Provisionsandcontingentliabilities" id="Provisionsandcontingentliabilities">
        <link:definition>1220 - Disclosure - Provisions and contingent liabilities</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/DeferredRevenue" id="DeferredRevenue">
        <link:definition>1230 - Disclosure - Deferred Revenue</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/SubscriptionWarrantsIndemnification" id="SubscriptionWarrantsIndemnification">
        <link:definition>1240 - Disclosure - Subscription warrants - indemnification</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/Equity" id="Equity">
        <link:definition>1250 - Disclosure - Equity</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/Costsexpensesandotheroperatingresultsbynature" id="Costsexpensesandotheroperatingresultsbynature">
        <link:definition>1260 - Disclosure - Costs, expenses and other operating results by nature</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/Gainlossondisposalofpropertyplantandequipmentandintangibleassets" id="Gainlossondisposalofpropertyplantandequipmentandintangibleassets">
        <link:definition>1270 - Disclosure - Gain (loss) on disposal of property, plant and equipment and intangible assets</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/Otheroperatingincomenet" id="Otheroperatingincomenet">
        <link:definition>1280 - Disclosure - Other operating income, net</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/Financialresult" id="Financialresult">
        <link:definition>12800 - Disclosure - Financial result</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/Earningspershare" id="Earningspershare">
        <link:definition>1290 - Disclosure - Earnings per share</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/Segmentinformation" id="Segmentinformation">
        <link:definition>1300 - Disclosure - Segment information</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/FinancialInstruments" id="FinancialInstruments">
        <link:definition>1310 - Disclosure - Financial Instruments</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/Commitments" id="Commitments">
        <link:definition>1320 - Disclosure - Commitments</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/AcquisitionofInterestandControl" id="AcquisitionofInterestandControl">
        <link:definition>1330 - Disclosure - Acquisition of Interest and Control</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/Discontinuedoperations" id="Discontinuedoperations">
        <link:definition>1345 - Disclosure - Discontinued operations</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/Eventsafterthereportingperiod" id="Eventsafterthereportingperiod">
        <link:definition>1350 - Disclosure - Events after the reporting period</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/BasisofpreparationandpresentationofconsolidatedfinancialstatementsPolicies" id="BasisofpreparationandpresentationofconsolidatedfinancialstatementsPolicies">
        <link:definition>996660202 - Disclosure - Basis of preparation and presentation of consolidated financial statements (Policies)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/OperationsTables" id="OperationsTables">
        <link:definition>996660301 - Disclosure - Operations (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/PresentationOfFinancialStatementsAndSummaryOfSignificantAccountingPoliciesTables" id="PresentationOfFinancialStatementsAndSummaryOfSignificantAccountingPoliciesTables">
        <link:definition>996660302 - Disclosure - Presentation of Financial Statements and Summary of Significant Accounting Policies (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/CashandcashequivalentsfinancialinvestmentsderivativefinancialinstrumentsandotherfinancialassetsTables" id="CashandcashequivalentsfinancialinvestmentsderivativefinancialinstrumentsandotherfinancialassetsTables">
        <link:definition>996660304 - Disclosure - Cash and cash equivalents, financial investments, derivative financial instruments and other financial assets (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesTables" id="TradereceivablesresellerfinancingandotherreceivablesTables">
        <link:definition>996660305 - Disclosure - Trade receivables, reseller financing and other receivables (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/InventoriesTables" id="InventoriesTables">
        <link:definition>996660306 - Disclosure - Inventories (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/RecoverabletaxesTables" id="RecoverabletaxesTables">
        <link:definition>996660307 - Disclosure - Recoverable taxes (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/RelatedPartiesTables" id="RelatedPartiesTables">
        <link:definition>996660308 - Disclosure - Related Parties (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesTables" id="IncomeAndSocialContributionTaxesTables">
        <link:definition>996660309 - Disclosure - Income and Social Contribution Taxes (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/PrepaidExpensesTables" id="PrepaidExpensesTables">
        <link:definition>996660310 - Disclosure - Prepaid Expenses (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/ContractualassetswithcustomersexclusivityrightsTables" id="ContractualassetswithcustomersexclusivityrightsTables">
        <link:definition>996660311 - Disclosure - Contractual assets with customers - exclusivity rights (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/InvestmentsinsubsidiariesjointventuresandassociatesTables" id="InvestmentsinsubsidiariesjointventuresandassociatesTables">
        <link:definition>996660312 - Disclosure - Investments in subsidiaries, joint ventures and associates (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/RightofuseassetsandleasespayableTables" id="RightofuseassetsandleasespayableTables">
        <link:definition>996660313 - Disclosure - Right-of-use assets and leases payable (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/PropertyPlantAndEquipmentTables" id="PropertyPlantAndEquipmentTables">
        <link:definition>996660314 - Disclosure - Property, Plant, and Equipment (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/IntangibleassetsTables" id="IntangibleassetsTables">
        <link:definition>996660315 - Disclosure - Intangible assets (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsTables" id="LoansfinancingdebenturesandderivativefinancialinstrumentsTables">
        <link:definition>996660316 - Disclosure - Loans, financing, debentures and derivative financial instruments (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/TradePayablesTables" id="TradePayablesTables">
        <link:definition>996660317 - Disclosure - Trade Payables (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/SalariesandrelatedchargesTables" id="SalariesandrelatedchargesTables">
        <link:definition>996660318 - Disclosure - Salaries and related charges (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/TaxesPayableTables" id="TaxesPayableTables">
        <link:definition>996660319 - Disclosure - Taxes Payable (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/EmployeebenefitsandprivatepensionplanTables" id="EmployeebenefitsandprivatepensionplanTables">
        <link:definition>996660320 - Disclosure - Employee benefits and private pension plan (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/ProvisionforassetretirementobligationTables" id="ProvisionforassetretirementobligationTables">
        <link:definition>996660321 - Disclosure - Provision for asset retirement obligation (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/ProvisionsandcontingentliabilitiesTables" id="ProvisionsandcontingentliabilitiesTables">
        <link:definition>996660322 - Disclosure - Provisions and contingent liabilities (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/DeferredRevenueTables" id="DeferredRevenueTables">
        <link:definition>996660323 - Disclosure - Deferred Revenue (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/EquityTables" id="EquityTables">
        <link:definition>996660324 - Disclosure - Equity (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/CostsexpensesandotheroperatingresultsbynatureTables" id="CostsexpensesandotheroperatingresultsbynatureTables">
        <link:definition>996660325 - Disclosure - Costs, expenses and other operating results by nature (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/OtheroperatingincomenetTables" id="OtheroperatingincomenetTables">
        <link:definition>996660326 - Disclosure - Other operating income, net (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/FinancialresultTables" id="FinancialresultTables">
        <link:definition>996660327 - Disclosure - Financial result (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/EarningspershareTables" id="EarningspershareTables">
        <link:definition>996660328 - Disclosure - Earnings per share (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/SegmentinformationTables" id="SegmentinformationTables">
        <link:definition>996660329 - Disclosure - Segment information (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/FinancialInstrumentsTables" id="FinancialInstrumentsTables">
        <link:definition>996660330 - Disclosure - Financial Instruments (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/CommitmentsTables" id="CommitmentsTables">
        <link:definition>996660331 - Disclosure - Commitments (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/AcquisitionofInterestandControlTables" id="AcquisitionofInterestandControlTables">
        <link:definition>996660332 - Disclosure - Acquisition of Interest and Control (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/DiscontinuedoperationsTables" id="DiscontinuedoperationsTables">
        <link:definition>996660333 - Disclosure - Discontinued operations (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/OperationsDetail" id="OperationsDetail">
        <link:definition>99666040101 - Disclosure - Operations (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/OperationsOperationalimpactsDetailsTextuals" id="OperationsOperationalimpactsDetailsTextuals">
        <link:definition>99666040102 - Disclosure - Operations - Operational impacts (Details Textuals)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/OperationsMainrisksandassociatedmeasuresDetailsTextuals" id="OperationsMainrisksandassociatedmeasuresDetailsTextuals">
        <link:definition>99666040103 - Disclosure - Operations - Main risks and associated measures (Details Textuals)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesAdditionalInformationDetail" id="BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesAdditionalInformationDetail">
        <link:definition>99666040201 - Disclosure - Basis of preparation and presentation of the consolidated financial statements and significant accounting policies - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/CashandcashequivalentsfinancialinvestmentsderivativefinancialinstrumentsandotherfinancialassetsCashandcashequivalentsDetail" id="CashandcashequivalentsfinancialinvestmentsderivativefinancialinstrumentsandotherfinancialassetsCashandcashequivalentsDetail">
        <link:definition>99666040401 - Disclosure - Cash and cash equivalents, financial investments, derivative financial instruments and other financial assets - Cash and cash equivalents (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/CashandcashequivalentsfinancialinvestmentsderivativefinancialinstrumentsandotherfinancialassetsFinancialinvestmentsDetail" id="CashandcashequivalentsfinancialinvestmentsderivativefinancialinstrumentsandotherfinancialassetsFinancialinvestmentsDetail">
        <link:definition>99666040402 - Disclosure - Cash and cash equivalents, financial investments, derivative financial instruments and other financial assets - Financial investments (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/CashandCashEquivalentsandFinancialInvestmentsFinancialinvestmentsDetailCalc2" id="CashandCashEquivalentsandFinancialInvestmentsFinancialinvestmentsDetailCalc2">
        <link:definition>99666040403 - Disclosure - Cash and Cash Equivalents and Financial Investments - Financial investments (Detail) (Calc 2)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/CashandcashequivalentsfinancialinvestmentsandderivativefinancialinstrumentsAdditionalInformationDetail" id="CashandcashequivalentsfinancialinvestmentsandderivativefinancialinstrumentsAdditionalInformationDetail">
        <link:definition>99666040404 - Disclosure - Cash and cash equivalents, financial investments and derivative financial instruments - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesTradereceivablesDetail" id="TradereceivablesresellerfinancingandotherreceivablesTradereceivablesDetail">
        <link:definition>99666040501 - Disclosure - Trade receivables, reseller financing and other receivables - Trade receivables (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesCompositionofResellerFinancingDetail" id="TradereceivablesresellerfinancingandotherreceivablesCompositionofResellerFinancingDetail">
        <link:definition>99666040502 - Disclosure - Trade receivables, reseller financing and other receivables - Composition of Reseller Financing (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesSummaryofMovementsintheAllowanceforLossAllowanceforExpectedCreditLossesDetail" id="TradereceivablesresellerfinancingandotherreceivablesSummaryofMovementsintheAllowanceforLossAllowanceforExpectedCreditLossesDetail">
        <link:definition>99666040503 - Disclosure - Trade receivables, reseller financing and other receivables - Summary of Movements in the Allowance for Loss Allowance for Expected Credit Losses (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesSummaryofofTradeReceivablesGrossofLossAllowanceforExpectedCreditLossesDetail" id="TradereceivablesresellerfinancingandotherreceivablesSummaryofofTradeReceivablesGrossofLossAllowanceforExpectedCreditLossesDetail">
        <link:definition>99666040504 - Disclosure - Trade receivables, reseller financing and other receivables - Summary of of Trade Receivables, Gross of Loss Allowance for Expected Credit Losses (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablessaleofsubsidiariesDetail" id="TradereceivablesresellerfinancingandotherreceivablessaleofsubsidiariesDetail">
        <link:definition>99666040505 - Disclosure - Trade receivables, reseller financing and other receivables - sale of subsidiaries (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/TradeReceivablesandResellerFinancingTradereceivablesDetailCalc2" id="TradeReceivablesandResellerFinancingTradereceivablesDetailCalc2">
        <link:definition>99666040506 - Disclosure - Trade Receivables and Reseller Financing - Trade receivables (Detail) (Calc 2)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesBreakdownofLossAllowanceforExpectedCreditLossesDetail" id="TradereceivablesresellerfinancingandotherreceivablesBreakdownofLossAllowanceforExpectedCreditLossesDetail">
        <link:definition>99666040507 - Disclosure - Trade receivables, reseller financing and other receivables - Breakdown of Loss Allowance for Expected Credit Losses (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesBreakdownofResellerFinancingGrossofLossAllowanceforExpectedCreditLossesDetail" id="TradereceivablesresellerfinancingandotherreceivablesBreakdownofResellerFinancingGrossofLossAllowanceforExpectedCreditLossesDetail">
        <link:definition>99666040508 - Disclosure - Trade receivables, reseller financing and other receivables - Breakdown of Reseller Financing, Gross of Loss Allowance for Expected Credit Losses (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/TradeReceivablesandResellerFinancingCompositionofResellerFinancingDetailCalc2" id="TradeReceivablesandResellerFinancingCompositionofResellerFinancingDetailCalc2">
        <link:definition>99666040509 - Disclosure - Trade Receivables and Reseller Financing - Composition of Reseller Financing (Detail) (Calc 2)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesAdditionalInformationDetail" id="TradereceivablesresellerfinancingandotherreceivablesAdditionalInformationDetail">
        <link:definition>99666040510 - Disclosure - Trade receivables, reseller financing and other receivables - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/InventoriesBreakdownofInventoriesDetail" id="InventoriesBreakdownofInventoriesDetail">
        <link:definition>99666040601 - Disclosure - Inventories - Breakdown of Inventories (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/InventoriesMovementsintheProvisionforinventoryLossesDetail" id="InventoriesMovementsintheProvisionforinventoryLossesDetail">
        <link:definition>99666040602 - Disclosure - Inventories - Movements in the Provision for inventory Losses (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/InventoriesBreakdownofProvisionforLossesRelatedtoInventoriesDetail" id="InventoriesBreakdownofProvisionforLossesRelatedtoInventoriesDetail">
        <link:definition>99666040603 - Disclosure - Inventories - Breakdown of Provision for Losses Related to Inventories (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/RecoverabletaxesSummaryofRecoverableTaxesDetail" id="RecoverabletaxesSummaryofRecoverableTaxesDetail">
        <link:definition>99666040701 - Disclosure - Recoverable taxes - Summary of Recoverable Taxes (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/RecoverabletaxesScheduleofestimatedrecoveryofICMScreditsDetail" id="RecoverabletaxesScheduleofestimatedrecoveryofICMScreditsDetail">
        <link:definition>99666040702 - Disclosure - Recoverable taxes - Schedule of estimated recovery of ICMS credits (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/RecoverabletaxesScheduleofestimatedrecoveryofPISandCOFINScreditsDetail" id="RecoverabletaxesScheduleofestimatedrecoveryofPISandCOFINScreditsDetail">
        <link:definition>99666040703 - Disclosure - Recoverable taxes - Schedule of estimated recovery of PIS and COFINS credits (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/RecoverabletaxesAdditionalInformationDetail" id="RecoverabletaxesAdditionalInformationDetail">
        <link:definition>99666040704 - Disclosure - Recoverable taxes - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesDetail" id="RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesDetail">
        <link:definition>99666040801 - Disclosure - Related Parties - Summary of Subsidiaries and Other Related Parties (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/RelatedPartiesSummaryOfExpensesForCompensationOfItsKeyExecutivesDetail" id="RelatedPartiesSummaryOfExpensesForCompensationOfItsKeyExecutivesDetail">
        <link:definition>99666040802 - Disclosure - Related Parties - Summary of Expenses for Compensation of Its Key Executives (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/RelatedPartiesRestrictedStockProgramDetail" id="RelatedPartiesRestrictedStockProgramDetail">
        <link:definition>99666040803 - Disclosure - Related Parties - Restricted Stock Program (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/RelatedPartiesSummarizedChangesOfNumberOfRestrictedAndPerformanceSharesGrantedDetail" id="RelatedPartiesSummarizedChangesOfNumberOfRestrictedAndPerformanceSharesGrantedDetail">
        <link:definition>99666040804 - Disclosure - Related Parties - Summarized Changes of Number of Restricted and Performance Shares Granted (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/RelatedPartiesAdditionalInformationDetail" id="RelatedPartiesAdditionalInformationDetail">
        <link:definition>99666040805 - Disclosure - Related Parties - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail" id="IncomeAndSocialContributionTaxesDeferredTaxesDetail">
        <link:definition>99666040901 - Disclosure - Income and Social Contribution Taxes - Deferred Taxes (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfChangesInBalancesOfDeferredTaxesDetail" id="IncomeAndSocialContributionTaxesSummaryOfChangesInBalancesOfDeferredTaxesDetail">
        <link:definition>99666040902 - Disclosure - Income and Social Contribution Taxes - Summary of Changes in Balances of Deferred Taxes (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfReconciliationOfTaxesDetail" id="IncomeAndSocialContributionTaxesSummaryOfReconciliationOfTaxesDetail">
        <link:definition>99666040903 - Disclosure - Income and Social Contribution Taxes - Summary of Reconciliation of Taxes (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfDeferredIncomeAndSocialContributionTaxAssetsDetail" id="IncomeAndSocialContributionTaxesSummaryOfDeferredIncomeAndSocialContributionTaxAssetsDetail">
        <link:definition>99666040904 - Disclosure - Income and Social Contribution Taxes - Summary of deferred income and social contribution tax assets (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesAdditionalInformationDetail" id="IncomeAndSocialContributionTaxesAdditionalInformationDetail">
        <link:definition>99666040905 - Disclosure - Income and Social Contribution Taxes - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/ContractualassetswithcustomersexclusivityrightsSummaryofContractualAssetswithCustomersExclusiveRightsBalanceandChangesDetail" id="ContractualassetswithcustomersexclusivityrightsSummaryofContractualAssetswithCustomersExclusiveRightsBalanceandChangesDetail">
        <link:definition>99666041001 - Disclosure - Contractual assets with customers - exclusivity rights - Summary of Contractual Assets with Customers Exclusive Rights Balance and Changes (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/InvestmentsinsubsidiariesjointventuresandassociatesSummaryofthepositionsofequityandincomelossfortheyearDetails" id="InvestmentsinsubsidiariesjointventuresandassociatesSummaryofthepositionsofequityandincomelossfortheyearDetails">
        <link:definition>99666041101 - Disclosure - Investments in subsidiaries, joint ventures and associates - Summary of the positions of equity and income (loss) for the year (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/InvestmentsinsubsidiariesjointventuresandassociatesSummaryoffinancialpositionandincomeofsubsidiarieswhichhaverelevantnoncontrollinginterestsDetail" id="InvestmentsinsubsidiariesjointventuresandassociatesSummaryoffinancialpositionandincomeofsubsidiarieswhichhaverelevantnoncontrollinginterestsDetail">
        <link:definition>99666041102 - Disclosure - Investments in subsidiaries, joint ventures and associates - Summary of financial position and income of subsidiaries which have relevant non-controlling interests (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/InvestmentsinsubsidiariesjointventuresandassociatesSummaryofstatementsoffinancialinformationofjointventuresandassociatesDetail" id="InvestmentsinsubsidiariesjointventuresandassociatesSummaryofstatementsoffinancialinformationofjointventuresandassociatesDetail">
        <link:definition>99666041103 - Disclosure - Investments in subsidiaries, joint ventures and associates - Summary of statements of financial information of joint ventures and associates (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/InvestmentsinsubsidiariesjointventuresandassociatesSummaryofbalancesandchangesininvestmentsinjointventuresandassociatesDetail" id="InvestmentsinsubsidiariesjointventuresandassociatesSummaryofbalancesandchangesininvestmentsinjointventuresandassociatesDetail">
        <link:definition>99666041104 - Disclosure - Investments in subsidiaries, joint ventures and associates - Summary of balances and changes in investments in joint ventures and associates (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/InvestmentsinsubsidiariesjointventuresandassociatesDetailsTextuals" id="InvestmentsinsubsidiariesjointventuresandassociatesDetailsTextuals">
        <link:definition>99666041105 - Disclosure - Investments in subsidiaries, joint ventures and associates (Details - Textuals)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofInformationAboutRightofUseAssetsDetail" id="RightofuseassetsandleasespayableSummaryofInformationAboutRightofUseAssetsDetail">
        <link:definition>99666041201 - Disclosure - Right-of-use assets and leases payable - Summary of Information About Right of Use Assets (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofInformationAboutRightofUseAssetsDetailParenthetical" id="RightofuseassetsandleasespayableSummaryofInformationAboutRightofUseAssetsDetailParenthetical">
        <link:definition>99666041202 - Disclosure - Right-of-use assets and leases payable - Summary of Information About Right of Use Assets (Detail) (Parenthetical)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofChangesinLeasePayablesDetail" id="RightofuseassetsandleasespayableSummaryofChangesinLeasePayablesDetail">
        <link:definition>99666041203 - Disclosure - Right-of-use assets and leases payable - Summary of Changes in Lease Payables (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofMaturitiesofLeasePaymentsofOperatingLeaseDetail" id="RightofuseassetsandleasespayableSummaryofMaturitiesofLeasePaymentsofOperatingLeaseDetail">
        <link:definition>99666041204 - Disclosure - Right-of-use assets and leases payable - Summary of Maturities of Lease Payments of Operating Lease (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofweightedaveragediscountratesfortheleasepayableDetail" id="RightofuseassetsandleasespayableSummaryofweightedaveragediscountratesfortheleasepayableDetail">
        <link:definition>99666041205 - Disclosure - Right-of-use assets and leases payable - Summary of weighted average discount rates for the lease payable (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/RightofuseassetsandleasespayableDetailsaboutleasecontractsoflowamountassetsDetail" id="RightofuseassetsandleasespayableDetailsaboutleasecontractsoflowamountassetsDetail">
        <link:definition>99666041206 - Disclosure - Right-of-use assets and leases payable - Details about lease contracts of low amount assets (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/RightofuseassetsandleasespayableAdditionalInformationDetail" id="RightofuseassetsandleasespayableAdditionalInformationDetail">
        <link:definition>99666041207 - Disclosure - Right-of-use assets and leases payable - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/PropertyPlantAndEquipmentBalancesAndChangesInPropertyPlantAndEquipmentBeginningAndEndingDetail" id="PropertyPlantAndEquipmentBalancesAndChangesInPropertyPlantAndEquipmentBeginningAndEndingDetail">
        <link:definition>99666041301 - Disclosure - Property, Plant,and Equipment - Balances and changes in property, plant, and equipment beginning and ending (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/IntangibleassetsBalanceandchangesinintangibleassetsDetail" id="IntangibleassetsBalanceandchangesinintangibleassetsDetail">
        <link:definition>99666041302 - Disclosure - Intangible assets - Balance and changes in intangible assets (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/IntangibleassetsTransfertopropertyplantandequipmentDetail" id="IntangibleassetsTransfertopropertyplantandequipmentDetail">
        <link:definition>99666041401 - Disclosure - Intangible assets - Transfer to property, plant and equipment (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/IntangibleassetsBalancesofgoodwillDetail" id="IntangibleassetsBalancesofgoodwillDetail">
        <link:definition>99666041402 - Disclosure - Intangible assets - Balances of goodwill (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/IntangibleassetsBalancesofgoodwillParentheticalDetail" id="IntangibleassetsBalancesofgoodwillParentheticalDetail">
        <link:definition>99666041403 - Disclosure - Intangible assets - Balances of goodwill (Parenthetical) (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/IntangibleassetsAdditionalInformationDetail" id="IntangibleassetsAdditionalInformationDetail">
        <link:definition>99666041404 - Disclosure - Intangible assets - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCompostionofloansDetail" id="LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCompostionofloansDetail">
        <link:definition>99666041501 - Disclosure - Loans, financing, debentures and derivative financial instruments - Summary of Compostion of loans (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofChangesinLoansDebenturesandFinanceLeasesDetail" id="LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofChangesinLoansDebenturesandFinanceLeasesDetail">
        <link:definition>99666041502 - Disclosure - Loans, financing, debentures and derivative financial instruments - Summary of Changes in Loans, Debentures and Finance Leases (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofPrincipalMaturityScheduleDetail" id="LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofPrincipalMaturityScheduleDetail">
        <link:definition>99666041503 - Disclosure - Loans, financing, debentures and derivative financial instruments - Summary of Principal Maturity Schedule (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofTransactionCostsDetail" id="LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofTransactionCostsDetail">
        <link:definition>99666041504 - Disclosure - Loans, financing, debentures and derivative financial instruments - Summary of Transaction Costs (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofAppropriatedProfitorLossinTheFutureDetail" id="LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofAppropriatedProfitorLossinTheFutureDetail">
        <link:definition>99666041505 - Disclosure - Loans, financing, debentures and derivative financial instruments - Summary of Appropriated Profit or Loss in The Future (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofmainoperationscontractedloansDetail" id="LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofmainoperationscontractedloansDetail">
        <link:definition>99666041506 - Disclosure - Loans, financing, debentures and derivative financial instruments - Summary of main operations contracted loans (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofDebenturesDetail" id="LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofDebenturesDetail">
        <link:definition>99666041507 - Disclosure - Loans, financing, debentures and derivative financial instruments - Summary of Debentures (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNarrativeofDebenturesDetail" id="LoansfinancingdebenturesandderivativefinancialinstrumentsNarrativeofDebenturesDetail">
        <link:definition>99666041508 - Disclosure - Loans, financing, debentures and derivative financial instruments - Narrative of Debentures (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofLoanMaturityDetail" id="LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofLoanMaturityDetail">
        <link:definition>99666041509 - Disclosure - Loans, financing, debentures and derivative financial instruments - Summary of Loan Maturity (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofForeignLoanMaturityDetail" id="LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofForeignLoanMaturityDetail">
        <link:definition>99666041510 - Disclosure - Loans, financing, debentures and derivative financial instruments - Summary of Foreign Loan Maturity (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsAdditionalInformationDetail" id="LoansfinancingdebenturesandderivativefinancialinstrumentsAdditionalInformationDetail">
        <link:definition>99666041511 - Disclosure - Loans, financing, debentures and derivative financial instruments - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/TradePayablesSummaryOfTradePayablesDetail" id="TradePayablesSummaryOfTradePayablesDetail">
        <link:definition>99666041601 - Disclosure - Trade Payables - Summary of Trade Payables (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/EmployeebenefitsandprivatepensionplanAdditionalinformationDetail" id="EmployeebenefitsandprivatepensionplanAdditionalinformationDetail">
        <link:definition>99666041701 - Disclosure - Employee benefits and private pension plan - Additional information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/EmployeebenefitsandprivatepensionplanPostemploymentBenefitsDetail" id="EmployeebenefitsandprivatepensionplanPostemploymentBenefitsDetail">
        <link:definition>99666041702 - Disclosure - Employee benefits and private pension plan - Post-employment Benefits (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/EmployeebenefitsandprivatepensionplanChangesinprovisionforpostemploymentbenefitsDetail" id="EmployeebenefitsandprivatepensionplanChangesinprovisionforpostemploymentbenefitsDetail">
        <link:definition>99666041703 - Disclosure - Employee benefits and private pension plan - Changes in provision for post-employment benefits (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/EmployeebenefitsandprivatepensionplanPostemploymentbenefitexpenseDetail" id="EmployeebenefitsandprivatepensionplanPostemploymentbenefitexpenseDetail">
        <link:definition>99666041704 - Disclosure - Employee benefits and private pension plan - Post-employment benefit expense (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/EmployeebenefitsandprivatepensionplanSignificantactuarialassumptionsadoptedDetail" id="EmployeebenefitsandprivatepensionplanSignificantactuarialassumptionsadoptedDetail">
        <link:definition>99666041705 - Disclosure - Employee benefits and private pension plan - Significant actuarial assumptions adopted (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/EmployeebenefitsandprivatepensionplanSensitivityanalysisDetail" id="EmployeebenefitsandprivatepensionplanSensitivityanalysisDetail">
        <link:definition>99666041706 - Disclosure - Employee benefits and private pension plan - Sensitivity analysis (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/ProvisionsandcontingentliabilitiesBreakdownofprovisionsbynatureDetail" id="ProvisionsandcontingentliabilitiesBreakdownofprovisionsbynatureDetail">
        <link:definition>99666041801 - Disclosure - Provisions and contingent liabilities - Breakdown of provisions by nature (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/ProvisionsandcontingentliabilitiesBalancesofescrowdepositsDetail" id="ProvisionsandcontingentliabilitiesBalancesofescrowdepositsDetail">
        <link:definition>99666041802 - Disclosure - Provisions and contingent liabilities - Balances of escrow deposits (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/ProvisionsandcontingentliabilitiesContingentliabilitiespossiblebynatureDetail" id="ProvisionsandcontingentliabilitiesContingentliabilitiespossiblebynatureDetail">
        <link:definition>99666041803 - Disclosure - Provisions and contingent liabilities - Contingent liabilities (possible) by nature (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/ProvisionsandcontingentliabilitiesAdditionalinformationDetail" id="ProvisionsandcontingentliabilitiesAdditionalinformationDetail">
        <link:definition>99666041804 - Disclosure - Provisions and contingent liabilities - Additional information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/DeferredRevenueDeferredRevenueInSubsidiariesDetail" id="DeferredRevenueDeferredRevenueInSubsidiariesDetail">
        <link:definition>99666041805 - Disclosure - Deferred Revenue - Deferred revenue in subsidiaries (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/DeferredRevenueAdditionalInformationDetail" id="DeferredRevenueAdditionalInformationDetail">
        <link:definition>99666041806 - Disclosure - Deferred Revenue - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/SubscriptionWarrantsIndemnificationAdditionalInformationDetail" id="SubscriptionWarrantsIndemnificationAdditionalInformationDetail">
        <link:definition>99666041901 - Disclosure - Subscription warrants - indemnification - Additional information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/EquityAdditionalInformationDetail" id="EquityAdditionalInformationDetail">
        <link:definition>99666042001 - Disclosure - Equity - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/EquityBalanceoftreasurysharesDetail" id="EquityBalanceoftreasurysharesDetail">
        <link:definition>99666042002 - Disclosure - Equity - Balance of treasury shares (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/EquityBalanceOfOtherComprehensiveIncomeDetail" id="EquityBalanceOfOtherComprehensiveIncomeDetail">
        <link:definition>99666042003 - Disclosure - Equity - Balance of Other Comprehensive Income (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/EquityDividendsAndAllocationOfNetIncomeDetail" id="EquityDividendsAndAllocationOfNetIncomeDetail">
        <link:definition>99666042004 - Disclosure - Equity - Dividends and Allocation of Net Income (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/EquityDividendsandAllocationofNetIncomeDetailCalc2" id="EquityDividendsandAllocationofNetIncomeDetailCalc2">
        <link:definition>99666042005 - Disclosure - Equity - Dividends and Allocation of Net Income (Detail) (Calc 2)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/EquityDividendsAndAllocationOfNetIncomeParentheticalDetail" id="EquityDividendsAndAllocationOfNetIncomeParentheticalDetail">
        <link:definition>99666042006 - Disclosure - Equity - Dividends and Allocation of Net Income (Parenthetical) (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/EquitySummaryofBalancesandChangesinDividendsPayableDetail" id="EquitySummaryofBalancesandChangesinDividendsPayableDetail">
        <link:definition>99666042007 - Disclosure - Equity - Summary of Balances and Changes in Dividends Payable (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/CostsexpensesandotheroperatingresultsbynatureCostsandexpensesbynatureDetail" id="CostsexpensesandotheroperatingresultsbynatureCostsandexpensesbynatureDetail">
        <link:definition>99666042101 - Disclosure - Costs, expenses and other operating results by nature - Costs and expenses by nature (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/CostsandexpensesbynatureAdditionalinformationDetails" id="CostsandexpensesbynatureAdditionalinformationDetails">
        <link:definition>99666042102 - Disclosure - Costs and expenses by nature - Additional information (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/CostsandexpensesbynatureCostsandexpensesbynatureDetailCalc2" id="CostsandexpensesbynatureCostsandexpensesbynatureDetailCalc2">
        <link:definition>99666042103 - Disclosure - Costs and expenses by nature - Costs and expenses by nature (Detail) (Calc 2)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/FinancialresultFinancialresultDetail" id="FinancialresultFinancialresultDetail">
        <link:definition>99666042201 - Disclosure - Financial result - Financial result (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/EarningspershareBasicandDilutedEarningsperShareDetail" id="EarningspershareBasicandDilutedEarningsperShareDetail">
        <link:definition>99666042301 - Disclosure - Earnings per share - Basic and Diluted Earnings per Share (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/EarningspershareAdditionalInformationDetail" id="EarningspershareAdditionalInformationDetail">
        <link:definition>99666042302 - Disclosure - Earnings per share - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/SegmentInformationRevenueFromOperationsAbroadDetail" id="SegmentInformationRevenueFromOperationsAbroadDetail">
        <link:definition>99666042401 - Disclosure - Segment Information - Revenue from Operations Abroad (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/SegmentinformationFinancialInformationofSegmentsDetail" id="SegmentinformationFinancialInformationofSegmentsDetail">
        <link:definition>99666042402 - Disclosure - Segment information - Financial Information of Segments (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/SegmentInformationAssetsBySegmentsDetail" id="SegmentInformationAssetsBySegmentsDetail">
        <link:definition>99666042403 - Disclosure - Segment Information - Assets By Segments (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/SegmentInformationRightofuseAssetsPPEandIntangibleAssetsoftheCompanyAbroadDetail" id="SegmentInformationRightofuseAssetsPPEandIntangibleAssetsoftheCompanyAbroadDetail">
        <link:definition>99666042404 - Disclosure - Segment Information - Right-of-use Assets, PP&amp;E and Intangible Assets of the Company Abroad (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/FinancialInstrumentsSummaryofthefinancialassetsandfinancialliabilitiesmeasuredatfairvalueDetail" id="FinancialInstrumentsSummaryofthefinancialassetsandfinancialliabilitiesmeasuredatfairvalueDetail">
        <link:definition>99666042501 - Disclosure - Financial Instruments - Summary of the financial assets and financial liabilities measured at fair value (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/FinancialInstrumentsChangesinfinancialliabilitiesmeasuredatlevel3ofthefairvaluehierarchyDetail" id="FinancialInstrumentsChangesinfinancialliabilitiesmeasuredatlevel3ofthefairvaluehierarchyDetail">
        <link:definition>99666042502 - Disclosure - Financial Instruments - Changes in financial liabilities measured at level 3 of the fair value hierarchy (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/FinancialInstrumentsDetail" id="FinancialInstrumentsDetail">
        <link:definition>99666042503 - Disclosure - Financial Instruments -  (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/FinancialInstrumentsAssetsandliabilitiesexposedtoforeigncurrencytranslatedtoReaisandorexposedtofloatinginterestratesDetail" id="FinancialInstrumentsAssetsandliabilitiesexposedtoforeigncurrencytranslatedtoReaisandorexposedtofloatinginterestratesDetail">
        <link:definition>99666042504 - Disclosure - Financial Instruments - Assets and liabilities exposed to foreign currency, translated to Reais, and/or exposed to floating interest rates (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/FinancialInstrumentsAssetsandliabilitiesinforeigncurrenciesDetailCalc2" id="FinancialInstrumentsAssetsandliabilitiesinforeigncurrenciesDetailCalc2">
        <link:definition>99666042505 - Disclosure - Financial Instruments - Assets and liabilities in foreign currencies (Detail) (Calc 2)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/FinancialInstrumentsSensitivityanalysiswithdevaluationoftheRealandinterestrateincreaseDetail" id="FinancialInstrumentsSensitivityanalysiswithdevaluationoftheRealandinterestrateincreaseDetail">
        <link:definition>99666042506 - Disclosure - Financial Instruments - Sensitivity analysis with devaluation of the Real and interest rate increase (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/FinancialInstrumentsPositionsofderivativefinancialinstrumentstohedgecommoditypriceriskDetail" id="FinancialInstrumentsPositionsofderivativefinancialinstrumentstohedgecommoditypriceriskDetail">
        <link:definition>99666042507 - Disclosure - Financial Instruments - Positions of derivative financial instruments to hedge commodity price risk (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/FinancialInstrumentsSummaryofcreditriskoffinancialinstitutionandgovernmentofcashcashequivalentsandfinancialinvestmentsDetail" id="FinancialInstrumentsSummaryofcreditriskoffinancialinstitutionandgovernmentofcashcashequivalentsandfinancialinvestmentsDetail">
        <link:definition>99666042508 - Disclosure - Financial Instruments - Summary of credit risk of financial institution and government of cash, cash equivalents and financial investments (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/FinancialInstrumentsContractualundiscountedcashoutflowsDetail" id="FinancialInstrumentsContractualundiscountedcashoutflowsDetail">
        <link:definition>99666042509 - Disclosure - Financial Instruments - Contractual undiscounted cash outflows (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/FinancialInstrumentsScheduleofleverageratioDetail" id="FinancialInstrumentsScheduleofleverageratioDetail">
        <link:definition>99666042510 - Disclosure - Financial Instruments - Schedule of leverage ratio (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/FinancialInstrumentsSummarythepositionofhedginginstrumentsDetail" id="FinancialInstrumentsSummarythepositionofhedginginstrumentsDetail">
        <link:definition>99666042511 - Disclosure - Financial Instruments - Summary the position of hedging instruments (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/FinancialInstrumentsSensitivityanalysislevel2hierarchyDetail" id="FinancialInstrumentsSensitivityanalysislevel2hierarchyDetail">
        <link:definition>99666042512 - Disclosure - Financial Instruments - Sensitivity analysis level 2 hierarchy (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/FinancialInstrumentsAdditionalInformationDetail" id="FinancialInstrumentsAdditionalInformationDetail">
        <link:definition>99666042513 - Disclosure - Financial Instruments - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/RisksAndFinancialInstrumentsFinancialAssetsAndLiabilitiesExposedToFloatingInterestRatesDetail" id="RisksAndFinancialInstrumentsFinancialAssetsAndLiabilitiesExposedToFloatingInterestRatesDetail">
        <link:definition>99666042601 - Disclosure - Risks and Financial Instruments - Financial assets and liabilities exposed to floating interest rates (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/RisksandFinancialInstrumentsSensitivityanalysisoffloatinginterestrateriskDetail" id="RisksandFinancialInstrumentsSensitivityanalysisoffloatinginterestrateriskDetail">
        <link:definition>99666042602 - Disclosure - Risks and Financial Instruments - Sensitivity analysis of floating interest rate risk (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/RisksandFinancialInstrumentsLossallowanceforexpectedcreditlossesbalancesontradereceivablesDetail" id="RisksandFinancialInstrumentsLossallowanceforexpectedcreditlossesbalancesontradereceivablesDetail">
        <link:definition>99666042603 - Disclosure - Risks and Financial Instruments - Loss allowance for expected credit losses balances on trade receivables (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/RisksandFinancialInstrumentsCreditriskexposureDetail" id="RisksandFinancialInstrumentsCreditriskexposureDetail">
        <link:definition>99666042604 - Disclosure - Risks and Financial Instruments - Credit risk exposure (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/RisksandFinancialInstrumentsSummaryoflossallowanceforexpectedcreditlossesbalancesbygeographicareaDetail" id="RisksandFinancialInstrumentsSummaryoflossallowanceforexpectedcreditlossesbalancesbygeographicareaDetail">
        <link:definition>99666042605 - Disclosure - Risks and Financial Instruments - Summary of loss allowance for expected credit losses balances by geographic area (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/RisksandFinancialInstrumentsSummaryofforeignexchangehedginginstrumentsdesignatedasfairvaluehedgeDetail" id="RisksandFinancialInstrumentsSummaryofforeignexchangehedginginstrumentsdesignatedasfairvaluehedgeDetail">
        <link:definition>99666042606 - Disclosure - Risks and Financial Instruments - Summary of foreign exchange hedging instruments designated as fair value hedge (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/CommitmentsContractsDetail" id="CommitmentsContractsDetail">
        <link:definition>99666042701 - Disclosure - Commitments - Contracts (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail" id="CommitmentsAdditionalInformationDetail">
        <link:definition>99666042702 - Disclosure - Commitments - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/CommitmentsMinimumAnnualPurchasesDetail" id="CommitmentsMinimumAnnualPurchasesDetail">
        <link:definition>99666042703 - Disclosure - Commitments -  Minimum Annual Purchases  (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/AcquisitionofInterestandControlScheduleoftransactionamountsforacquiringaninterestDetails" id="AcquisitionofInterestandControlScheduleoftransactionamountsforacquiringaninterestDetails">
        <link:definition>99666042801 - Disclosure - Acquisition of Interest and Control - Schedule of transaction amounts for acquiring an interest (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/AcquisitionofInterestandControlScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails" id="AcquisitionofInterestandControlScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails">
        <link:definition>99666042802 - Disclosure - Acquisition of Interest and Control - Schedule of the provisional balances of assets acquired and liabilities assumed on the acquisition date (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/AcquisitionofInterestandControlScheduleofacquiredintangibleassetsthatwerenotrecognizedinthebooksoftheacquiredentityDetails" id="AcquisitionofInterestandControlScheduleofacquiredintangibleassetsthatwerenotrecognizedinthebooksoftheacquiredentityDetails">
        <link:definition>99666042803 - Disclosure - Acquisition of Interest and Control - Schedule of acquired intangible assets that were not recognized in the books of the acquired entity (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/AcquisitionofInterestandControlAdditionalInformationDetails" id="AcquisitionofInterestandControlAdditionalInformationDetails">
        <link:definition>99666042804 - Disclosure - Acquisition of Interest and Control - Additional Information (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/DiscontinuedoperationsDetails" id="DiscontinuedoperationsDetails">
        <link:definition>99666042901 - Disclosure - Discontinued operations (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/DiscontinuedoperationsDetailsTextuals" id="DiscontinuedoperationsDetailsTextuals">
        <link:definition>99666042902 - Disclosure - Discontinued operations (Details Textuals)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/EventsafterthereportingperiodAdditionalInformationDetail" id="EventsafterthereportingperiodAdditionalInformationDetail">
        <link:definition>99666043001 - Disclosure - Events after the reporting period - Additional Information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/InvestmentSummaryOfBalancesAndChangesInJointVenturesDetail" id="InvestmentSummaryOfBalancesAndChangesInJointVenturesDetail">
        <link:definition>99888040101 - Disclosure - Investment - Summary of Balances and Changes in Joint Ventures (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/InvestmentSummaryofprovisionforshorttermliabilitiesDetail" id="InvestmentSummaryofprovisionforshorttermliabilitiesDetail">
        <link:definition>99888040102 - Disclosure - Investment - Summary of provision for short-term liabilities (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/InvestmentsSummaryofreconciliationofshareofprofitlossofsubsidiariesjointventuresandassociatesDetails" id="InvestmentsSummaryofreconciliationofshareofprofitlossofsubsidiariesjointventuresandassociatesDetails">
        <link:definition>99888040103 - Disclosure - Investments - Summary of reconciliation of share of profit (loss) of subsidiaries, joint ventures and associates (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/InvestmentSummaryOfBalancesAndChangesInAssociatesDetail" id="InvestmentSummaryOfBalancesAndChangesInAssociatesDetail">
        <link:definition>99888040104 - Disclosure - Investment - Summary of Balances and Changes in Associates (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/RecoverabletaxesSummaryofestimatedrecoveryofICMSassetsDetail" id="RecoverabletaxesSummaryofestimatedrecoveryofICMSassetsDetail">
        <link:definition>99888040105 - Disclosure - Recoverable taxes - Summary of estimated recovery of ICMS assets (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/RecoverabletaxesSummaryofestimatedrecoveryofPISandCOFINScreditDetail" id="RecoverabletaxesSummaryofestimatedrecoveryofPISandCOFINScreditDetail">
        <link:definition>99888040106 - Disclosure - Recoverable taxes - Summary of estimated recovery of PIS and COFINS credit (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofAmortizationExpensesintheFinancialStatementsDetail" id="RightofuseassetsandleasespayableSummaryofAmortizationExpensesintheFinancialStatementsDetail">
        <link:definition>99888040107 - Disclosure - Right-of-use assets and leases payable - Summary of Amortization Expenses in the Financial Statements (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesParentheticalDetail" id="RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesParentheticalDetail">
        <link:definition>99888040108 - Disclosure - Related Parties - Summary of Subsidiaries and Other Related Parties (Parenthetical) (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/IncomeandSocialContributionTaxesSummaryoftaxlosscarryforwardsDetail" id="IncomeandSocialContributionTaxesSummaryoftaxlosscarryforwardsDetail">
        <link:definition>99888040109 - Disclosure - Income and Social Contribution Taxes - Summary of tax loss carryforwards (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/SegmentInformationAdditionstoPropertyPlantandEquipmentandintangibleAssetsandContractualassetswithcustomersexclusiverightsDetail" id="SegmentInformationAdditionstoPropertyPlantandEquipmentandintangibleAssetsandContractualassetswithcustomersexclusiverightsDetail">
        <link:definition>99888040110 - Disclosure - Segment Information - Additions to Property, Plant, and Equipment and intangible Assets and Contractual assets with customers &#x2013; exclusive rights (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNotesDetailsTextual" id="LoansfinancingdebenturesandderivativefinancialinstrumentsNotesDetailsTextual">
        <link:definition>99888040111 - Disclosure - Loans, financing, debentures and derivative financial instruments - Notes (Details Textual)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/DiscontinuedoperationsDetails3Textuals2" id="DiscontinuedoperationsDetails3Textuals2">
        <link:definition>99888040112 - Disclosure - Discontinued operations (Details 3 - Textuals 2)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/ProvisionforassetretirementobligationChangesintheprovisionforassetretirementobligationDetail" id="ProvisionforassetretirementobligationChangesintheprovisionforassetretirementobligationDetail">
        <link:definition>99888040113 - Disclosure - Provision for asset retirement obligation - Changes in the provision for asset retirement obligation (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCollateraltoFinancialInstitutionsDetail" id="LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCollateraltoFinancialInstitutionsDetail">
        <link:definition>99888040114 - Disclosure - Loans, financing, debentures and derivative financial instruments - Summary of Collateral to Financial Institutions (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/RisksAndFinancialInstrumentsContractualUndiscountedCashOutflowsParentheticalDetail" id="RisksAndFinancialInstrumentsContractualUndiscountedCashOutflowsParentheticalDetail">
        <link:definition>99888040115 - Disclosure - Risks and Financial Instruments - Contractual undiscounted cash outflows (Parenthetical) (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/RisksAndFinancialInstrumentsValueOfGainsLossesRecognizedDetail" id="RisksAndFinancialInstrumentsValueOfGainsLossesRecognizedDetail">
        <link:definition>99888040116 - Disclosure - Risks and Financial Instruments - Value of gains (losses) recognized (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/RisksAndFinancialInstrumentsFairValuesAndTheCarryingValuesOfTheFinancialInstrumentsDetail" id="RisksAndFinancialInstrumentsFairValuesAndTheCarryingValuesOfTheFinancialInstrumentsDetail">
        <link:definition>99888040117 - Disclosure - Risks and Financial Instruments - Fair values and the carrying values of the financial instruments (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/RisksAndFinancialInstrumentsChangesInExchangeRateDetail" id="RisksAndFinancialInstrumentsChangesInExchangeRateDetail">
        <link:definition>99888040118 - Disclosure - Risks and Financial Instruments - Changes in exchange rate (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/RecoverabletaxesConsolidatedSummaryofRecoverableIncomeTaxandSocialContributionTaxesDetail" id="RecoverabletaxesConsolidatedSummaryofRecoverableIncomeTaxandSocialContributionTaxesDetail">
        <link:definition>99888040119 - Disclosure - Recoverable taxes (Consolidated) - Summary of Recoverable Income Tax and Social Contribution Taxes (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/RelatedPartiesSummaryOfSharesGrantedDetail" id="RelatedPartiesSummaryOfSharesGrantedDetail">
        <link:definition>99888040120 - Disclosure - Related Parties - Summary of Shares granted (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/RelatedPartiesChangesOfNumberOfSharesGrantedDetail" id="RelatedPartiesChangesOfNumberOfSharesGrantedDetail">
        <link:definition>99888040121 - Disclosure - Related Parties - Changes of Number of Shares Granted (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfTaxIncentivesDetail" id="IncomeAndSocialContributionTaxesSummaryOfTaxIncentivesDetail">
        <link:definition>99888040122 - Disclosure - Income and Social Contribution Taxes - Summary of Tax Incentives (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/PrepaidExpensesSummaryOfPrepaidExpensesDetail" id="PrepaidExpensesSummaryOfPrepaidExpensesDetail">
        <link:definition>99888040123 - Disclosure - Prepaid Expenses - Summary of Prepaid Expenses (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/PrepaidExpensesSummaryofPrepaidExpensesDetailCalc2" id="PrepaidExpensesSummaryofPrepaidExpensesDetailCalc2">
        <link:definition>99888040124 - Disclosure - Prepaid Expenses - Summary of Prepaid Expenses (Detail) (Calc 2)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/EquityBalanceAndChangesInCumulativeTranslationAdjustmentsDetail" id="EquityBalanceAndChangesInCumulativeTranslationAdjustmentsDetail">
        <link:definition>99888040125 - Disclosure - Equity - Balance and Changes in Cumulative Translation Adjustments (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/AcquisitionofInterestandControlScheduleofearnoutsensitivityanalysisDetails" id="AcquisitionofInterestandControlScheduleofearnoutsensitivityanalysisDetails">
        <link:definition>99888040126 - Disclosure - Acquisition of Interest and Control - Schedule of earnout sensitivity analysis (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/AcquisitionofInterestandControlScheduleofbreakdownoftheacquisitionvalueconsideringtheworkingcapitalandnetdebtadjustmentsandprimarycontributionDetails" id="AcquisitionofInterestandControlScheduleofbreakdownoftheacquisitionvalueconsideringtheworkingcapitalandnetdebtadjustmentsandprimarycontributionDetails">
        <link:definition>99888040127 - Disclosure - Acquisition of Interest and Control - Schedule of breakdown of the acquisition value, considering the working capital and net debt adjustments and primary contribution (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/SalariesAndRelatedChargesSummaryOfSalariesAndRelatedChargesDetail" id="SalariesAndRelatedChargesSummaryOfSalariesAndRelatedChargesDetail">
        <link:definition>99888040128 - Disclosure - Salaries and Related Charges - Summary of Salaries and Related Charges (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/TaxesPayableSummaryOfTaxesPayableDetail" id="TaxesPayableSummaryOfTaxesPayableDetail">
        <link:definition>99888040129 - Disclosure - Taxes Payable - Summary of Taxes Payable (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/GainlossondisposalofpropertyplantandequipmentandintangibleassetsAdditionalinformationDetail" id="GainlossondisposalofpropertyplantandequipmentandintangibleassetsAdditionalinformationDetail">
        <link:definition>99888040130 - Disclosure - Gain (loss) on disposal of property, plant and equipment and intangible assets - Additional information (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/OtheroperatingincomenetOtheroperatingincomenetDetail" id="OtheroperatingincomenetOtheroperatingincomenetDetail">
        <link:definition>99888040131 - Disclosure - Other operating income, net - Other operating income, net (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/InvestmentsinsubsidiariesjointventuresandassociatesSummaryofAmountsofBalanceSheetsandIncomeStatementsofAssociatesDetail" id="InvestmentsinsubsidiariesjointventuresandassociatesSummaryofAmountsofBalanceSheetsandIncomeStatementsofAssociatesDetail">
        <link:definition>99888040132 - Disclosure - Investments in subsidiaries, joint ventures and associates - Summary of Amounts of Balance Sheets and Income Statements of Associates (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.ultrapar.com/role/PropertyPlantAndEquipmentSummaryOfDepreciationExpensesInTheFinancialStatementsDetail" id="PropertyPlantAndEquipmentSummaryOfDepreciationExpensesInTheFinancialStatementsDetail">
        <link:definition>99888040133 - Disclosure - Property, Plant, and Equipment - Summary Of Depreciation Expenses in The Financial Statements (Detail)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
    </xsd:appinfo>
  </xsd:annotation>
  <xsd:import namespace="https://xbrl.ifrs.org/taxonomy/2024-03-27/ifrs-full" schemaLocation="https://xbrl.ifrs.org/taxonomy/2024-03-27/full_ifrs/full_ifrs-cor_2024-03-27.xsd" />
  <xsd:import namespace="http://www.xbrl.org/dtr/type/2020-01-21" schemaLocation="https://www.xbrl.org/dtr/type/2020-01-21/types.xsd" />
  <xsd:import namespace="http://fasb.org/srt/2024" schemaLocation="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd" />
  <xsd:import namespace="http://xbrl.sec.gov/country/2024" schemaLocation="https://xbrl.sec.gov/country/2024/country-2024.xsd" />
  <xsd:import namespace="http://fasb.org/us-roles/2024" schemaLocation="https://xbrl.fasb.org/us-gaap/2024/elts/us-roles-2024.xsd" />
  <xsd:import namespace="http://xbrl.sec.gov/dei/2024" schemaLocation="https://xbrl.sec.gov/dei/2024/dei-2024.xsd" />
  <xsd:import namespace="http://xbrl.sec.gov/ecd/2024" schemaLocation="https://xbrl.sec.gov/ecd/2024/ecd-2024.xsd" />
  <xsd:import namespace="http://xbrl.sec.gov/cyd/2024" schemaLocation="https://xbrl.sec.gov/cyd/2024/cyd-2024.xsd" />
  <xsd:import namespace="http://www.xbrl.org/2003/instance" schemaLocation="http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd" />
  <xsd:import namespace="http://www.xbrl.org/2003/linkbase" schemaLocation="http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" />
  <xsd:import namespace="http://www.xbrl.org/2003/XLink" schemaLocation="http://www.xbrl.org/2003/xl-2003-12-31.xsd" />
  <xsd:import namespace="http://www.w3.org/1999/xlink" schemaLocation="http://www.xbrl.org/2003/xlink-2003-12-31.xsd" />
  <xsd:import namespace="http://xbrl.org/2005/xbrldt" schemaLocation="http://www.xbrl.org/2005/xbrldt-2005.xsd" />
  <xsd:import namespace="http://www.xbrl.org/2006/ref" schemaLocation="http://www.xbrl.org/2006/ref-2006-02-27.xsd" />
  <xsd:import namespace="http://www.xbrl.org/2009/role/negated" schemaLocation="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd" />
  <xsd:element name="PrepaymentOfTradeRelatedDebt" id="ugp_PrepaymentOfTradeRelatedDebt" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="NumberOfSharesRepurchased" id="ugp_NumberOfSharesRepurchased" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="SharesRepurchasedAveragePricePerShare" id="ugp_SharesRepurchasedAveragePricePerShare" type="dtr-types:perShareItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DescriptionSharesBuybackProgram" id="ugp_DescriptionSharesBuybackProgram" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="AdditionalDividendsMember" id="ugp_AdditionalDividendsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="NoncontrollingInterestsOfAcquirer" id="ugp_NoncontrollingInterestsOfAcquirer" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="AdjustmentsForUndistributedProfitsAndAmortizationOfFairValueAdjustmentsOfInvestmentsAccountedForUsingEquityMethod" id="ugp_AdjustmentsForUndistributedProfitsAndAmortizationOfFairValueAdjustmentsOfInvestmentsAccountedForUsingEquityMethod" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="DepreciationAndAmortizationIncludingPisAndCofinsTaxes" id="ugp_DepreciationAndAmortizationIncludingPisAndCofinsTaxes" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="CargoContractSixMember" id="ugp_CargoContractSixMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="SummaryOfTradePayablesAveragePaymentTermTableTextBlock" id="ugp_SummaryOfTradePayablesAveragePaymentTermTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="IncreaseDecreaseThroughTransfersOfFinancialAssetsToInvestmentsAccountedForUsingEquityMethod" id="ugp_IncreaseDecreaseThroughTransfersOfFinancialAssetsToInvestmentsAccountedForUsingEquityMethod" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="AdvancesForFutureCapitalIncreaseInvestmentAccountedForUsingEquityMethod" id="ugp_AdvancesForFutureCapitalIncreaseInvestmentAccountedForUsingEquityMethod" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="AdvancesForAcquisitionInvestmentAccountedForUsingEquityMethod" id="ugp_AdvancesForAcquisitionInvestmentAccountedForUsingEquityMethod" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="AmortizationOfFairValueAdjustmentOnInvestmentAccountedForUsingEquityMethod" id="ugp_AmortizationOfFairValueAdjustmentOnInvestmentAccountedForUsingEquityMethod" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="FairValueAdjustmentOnInvestmentAccountedForUsingEquityMethod" id="ugp_FairValueAdjustmentOnInvestmentAccountedForUsingEquityMethod" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="PaoDeAcucarGroupStationsMember" id="ugp_PaoDeAcucarGroupStationsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="SscOrHoldingExpenses" id="ugp_SscOrHoldingExpenses" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="TradePayablesAveragePaymentTerm" id="ugp_TradePayablesAveragePaymentTerm" type="xbrli:durationItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="TradePayablesComparableSuppliersMember" id="ugp_TradePayablesComparableSuppliersMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="GrantDateOctober12024Member" id="ugp_GrantDateOctober12024Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="GrantDateJune192024Member" id="ugp_GrantDateJune192024Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="GrantDateApril172024Member" id="ugp_GrantDateApril172024Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="SalesPurchasesOfGoodsRelatedPartyTransactions" id="ugp_SalesPurchasesOfGoodsRelatedPartyTransactions" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="OthersJointVenturesMember" id="ugp_OthersJointVenturesMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="RelatedPartiesLiabilitiesRelatedPartyTransactions" id="ugp_RelatedPartiesLiabilitiesRelatedPartyTransactions" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="RelatedPartiesAssetsRelatedPartyTransactions" id="ugp_RelatedPartiesAssetsRelatedPartyTransactions" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="AmountsOtherReceivablesRelatedPartyTransactions" id="ugp_AmountsOtherReceivablesRelatedPartyTransactions" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="TradePayablesAndRelatedPartiesLiabilitiesToRelatedPartyTransactions" id="ugp_TradePayablesAndRelatedPartiesLiabilitiesToRelatedPartyTransactions" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="TradeReceivablesOtherReceivablesAndRelatedPartiesAssetsFromRelatedPartyTransactions" id="ugp_TradeReceivablesOtherReceivablesAndRelatedPartiesAssetsFromRelatedPartyTransactions" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="TransactionsWithOtherRelatedPartiesMember" id="ugp_TransactionsWithOtherRelatedPartiesMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="TransactionsWithAssociatesMember" id="ugp_TransactionsWithAssociatesMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="TransactionsWithJointVenturesMember" id="ugp_TransactionsWithJointVenturesMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="AdjustmentsForNonCashContingentConsiderationAcquisitionOfSubsidiaries" id="ugp_AdjustmentsForNonCashContingentConsiderationAcquisitionOfSubsidiaries" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="AdjustmentsForNonCashWithdrawalOfEscrowDepositsWithTaxContingencies" id="ugp_AdjustmentsForNonCashWithdrawalOfEscrowDepositsWithTaxContingencies" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="AdjustmentsForNonCashReclassificationBetweenFinancialAssetsAndInvestmentInAssociates" id="ugp_AdjustmentsForNonCashReclassificationBetweenFinancialAssetsAndInvestmentInAssociates" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="RepurchaseOfTreasuryShares" id="ugp_RepurchaseOfTreasuryShares" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="PurchaseOfPropertyPlantAndEquipmentAndIntangibleAssetsClassifiedAsInvestingActivities" id="ugp_PurchaseOfPropertyPlantAndEquipmentAndIntangibleAssetsClassifiedAsInvestingActivities" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="AdjustmentsForGainLossOnFairValueOfEnergyContracts" id="ugp_AdjustmentsForGainLossOnFairValueOfEnergyContracts" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="IncomeTaxReductionPercentage" id="ugp_IncomeTaxReductionPercentage" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="AbasteceAiClubeMember" id="ugp_AbasteceAiClubeMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DeferredIncomeAndSocialContributionTaxesProvisionForChangeInFairValueOfSubscriptionWarrants" id="ugp_DeferredIncomeAndSocialContributionTaxesProvisionForChangeInFairValueOfSubscriptionWarrants" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="IncreaseDecreaseThroughReserveConstitution" id="ugp_IncreaseDecreaseThroughReserveConstitution" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="ShareOfProfitLossOfAssociatesAndJointVenturesAccountedForUsingEquityMethodBeforeAdjustments" id="ugp_ShareOfProfitLossOfAssociatesAndJointVenturesAccountedForUsingEquityMethodBeforeAdjustments" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="NoncurrentEnergyTradingFuturesContractsLiabilities" id="ugp_NoncurrentEnergyTradingFuturesContractsLiabilities" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="CurrentEnergyTradingFuturesContractsLiabilities" id="ugp_CurrentEnergyTradingFuturesContractsLiabilities" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="NoncurrentEnergyTradingFuturesContractsAssets" id="ugp_NoncurrentEnergyTradingFuturesContractsAssets" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="CurrentEnergyTradingFuturesContractsAssets" id="ugp_CurrentEnergyTradingFuturesContractsAssets" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="AccumulatedOtherComprehensiveIncomeExcludingReserveOfExchangeDifferencesOnTranslationMember" id="ugp_AccumulatedOtherComprehensiveIncomeExcludingReserveOfExchangeDifferencesOnTranslationMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="InvestmentsStatutoryReserveMember" id="ugp_InvestmentsStatutoryReserveMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="EquityInstrumentGrantedMember" id="ugp_EquityInstrumentGrantedMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="EarningsLossPerShareAbstract" id="ugp_EarningsLossPerShareAbstract" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="EarningsLossPerShareFromDiscontinuedOperationsAbstract" id="ugp_EarningsLossPerShareFromDiscontinuedOperationsAbstract" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="EarningsLossPerShareFromContinuingOperationsAbstract" id="ugp_EarningsLossPerShareFromContinuingOperationsAbstract" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OperatingIncomeBeforeFinancialIncomeExpensesAndIncomeAndSocialContributionTaxes" id="ugp_OperatingIncomeBeforeFinancialIncomeExpensesAndIncomeAndSocialContributionTaxes" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="OperatingIncomeBeforeFinancialIncomeExpensesAndShareOfProfitLossOfJointVenturesAndAssociates" id="ugp_OperatingIncomeBeforeFinancialIncomeExpensesAndShareOfProfitLossOfJointVenturesAndAssociates" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="OperatingIncomeExpensesAbstract" id="ugp_OperatingIncomeExpensesAbstract" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ProfitLossFromContinuingOperationsAbstract" id="ugp_ProfitLossFromContinuingOperationsAbstract" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ShareholdersEquityAttributableToAbstract" id="ugp_ShareholdersEquityAttributableToAbstract" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="AdditionalDividendsMinimumMandatoryDividends" id="ugp_AdditionalDividendsMinimumMandatoryDividends" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="ProfitReserves" id="ugp_ProfitReserves" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="EquityInstrumentsGranted" id="ugp_EquityInstrumentsGranted" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="NonCurrentProvisionForUnsecuredLiabilitiesOfSubsidiariesJointVenturesAndAssociates" id="ugp_NonCurrentProvisionForUnsecuredLiabilitiesOfSubsidiariesJointVenturesAndAssociates" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="NonCurrentIndemnificationForSubscriptionWarrants" id="ugp_NonCurrentIndemnificationForSubscriptionWarrants" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="NonCurrentFinancialLiabilitiesOfCustomers" id="ugp_NonCurrentFinancialLiabilitiesOfCustomers" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="LoansFinancingAndHedgingInstrumentsNonCurrent" id="ugp_LoansFinancingAndHedgingInstrumentsNonCurrent" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="CurrentFinancialLiabilitiesOfCustomers" id="ugp_CurrentFinancialLiabilitiesOfCustomers" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="ProvisionForDecarbonizationCredit" id="ugp_ProvisionForDecarbonizationCredit" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="LoansFinancingAndHedgingInstrumentsCurrent" id="ugp_LoansFinancingAndHedgingInstrumentsCurrent" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="TradeCurrentPayablesReverseFactoring" id="ugp_TradeCurrentPayablesReverseFactoring" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="OtherNoncurrentReceivablesAndAssets" id="ugp_OtherNoncurrentReceivablesAndAssets" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="IndemnificationAssetBusinessCombination" id="ugp_IndemnificationAssetBusinessCombination" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="NonCurrentReceivablesFromSaleOfInvestments" id="ugp_NonCurrentReceivablesFromSaleOfInvestments" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="NonCurrentResellerFinancing" id="ugp_NonCurrentResellerFinancing" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="DividendsReceivableCurrent" id="ugp_DividendsReceivableCurrent" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="CurrentReceivablesFromSaleOfInvestments" id="ugp_CurrentReceivablesFromSaleOfInvestments" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="CurrentResellerFinancing" id="ugp_CurrentResellerFinancing" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="FixedRateSwapNetEffect" id="ugp_FixedRateSwapNetEffect" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="FixedRateDebt" id="ugp_FixedRateDebt" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="FixedRateSwapDI" id="ugp_FixedRateSwapDI" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="InterestRateSwapInBrazilianReaisDebenturesCRAAbstract" id="ugp_InterestRateSwapInBrazilianReaisDebenturesCRAAbstract" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="NetInvestmentHedgedItemLiabilities" id="ugp_NetInvestmentHedgedItemLiabilities" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="NetInvestmentHedgedItemAssets" id="ugp_NetInvestmentHedgedItemAssets" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="CashFlowHedgedItemLiabilities" id="ugp_CashFlowHedgedItemLiabilities" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="CashFlowHedgedItemAssets" id="ugp_CashFlowHedgedItemAssets" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="RealToUsDollarSwapsNetEffect" id="ugp_RealToUsDollarSwapsNetEffect" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="GrossMarginOfOxitenoIpirangaSwapPayable" id="ugp_GrossMarginOfOxitenoIpirangaSwapPayable" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="RealToUsDollarSwaps" id="ugp_RealToUsDollarSwaps" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="CurrencySwapsPayableInUSDollarsAbstract" id="ugp_CurrencySwapsPayableInUSDollarsAbstract" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="USDollarToRealSwapsNetEffect" id="ugp_USDollarToRealSwapsNetEffect" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="DebtsFirmCommitmentsInDollars" id="ugp_DebtsFirmCommitmentsInDollars" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="USDollarToRealSwaps" id="ugp_USDollarToRealSwaps" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="CurrencySwapsReceivableInUSDollarsAbstract" id="ugp_CurrencySwapsReceivableInUSDollarsAbstract" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="CategoryOfFinancialAssetsAndLiabilities" id="ugp_CategoryOfFinancialAssetsAndLiabilities" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="CommoditiesCurrencyAndInterestRateHedgingInstrumentsMember" id="ugp_CommoditiesCurrencyAndInterestRateHedgingInstrumentsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="Debentures1Member" id="ugp_Debentures1Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="Financing2Member" id="ugp_Financing2Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="Financing1Member" id="ugp_Financing1Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="CurrencyInterestRateHedgingInstrumentsMember" id="ugp_CurrencyInterestRateHedgingInstrumentsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="FixedIncomeSecuritiesForeignCurrencyMember" id="ugp_FixedIncomeSecuritiesForeignCurrencyMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="FixedIncomeSecuritiesLocalCurrency3Member" id="ugp_FixedIncomeSecuritiesLocalCurrency3Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="FixedIncomeSecuritiesLocalCurrency2Member" id="ugp_FixedIncomeSecuritiesLocalCurrency2Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="FixedIncomeSecuritiesLocalCurrency1Member" id="ugp_FixedIncomeSecuritiesLocalCurrency1Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="FinancialInvestmentsForeignCurrencyMember" id="ugp_FinancialInvestmentsForeignCurrencyMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="FinancialInvestmentsLocalCurrencyMember" id="ugp_FinancialInvestmentsLocalCurrencyMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="NonDerivativeFinancialInstrumentsMember" id="ugp_NonDerivativeFinancialInstrumentsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="InterestRateSwapsBrlMember" id="ugp_InterestRateSwapsBrlMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ExchangeRateDerivatesPayableInUSDollarsMember" id="ugp_ExchangeRateDerivatesPayableInUSDollarsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ExchangeRateSwapReceivableInUSDollarsAndCommoditiesMember" id="ugp_ExchangeRateSwapReceivableInUSDollarsAndCommoditiesMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="HedgingInstrumentRatesDomain" id="ugp_HedgingInstrumentRatesDomain" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="HedgingInstrumentRatesAxis" id="ugp_HedgingInstrumentRatesAxis" type="xbrli:stringItemType" substitutionGroup="xbrldt:dimensionItem" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="HedgingInstrumentEquityMember" id="ugp_HedgingInstrumentEquityMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ProfitOrLossMember" id="ugp_ProfitOrLossMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="IPCARate" id="ugp_IPCARate" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="TJLPRate" id="ugp_TJLPRate" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DiRate" id="ugp_DiRate" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="TwentyTwentyFiveMember" id="ugp_TwentyTwentyFiveMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="TwentyTwentyFourMember" id="ugp_TwentyTwentyFourMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="TwentyTwentyThreeMember" id="ugp_TwentyTwentyThreeMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="TwentyTwentyTwoMember" id="ugp_TwentyTwentyTwoMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="TwentyTwentyOneMember" id="ugp_TwentyTwentyOneMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="GuaranteeLiabilities" id="ugp_GuaranteeLiabilities" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="CollateralFuturePaymentsMaturityPeriod" id="ugp_CollateralFuturePaymentsMaturityPeriod" type="xbrli:durationItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="ProvisionForAssetRetirementObligationMember" id="ugp_ProvisionForAssetRetirementObligationMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="NumberOfShareholdersExercisedPreemptiveRight" id="ugp_NumberOfShareholdersExercisedPreemptiveRight" type="xbrli:integerItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="ExercisePeriodOfPreemptiveRight" id="ugp_ExercisePeriodOfPreemptiveRight" type="xbrli:durationItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DescriptionOfBorrowingsReprice" id="ugp_DescriptionOfBorrowingsReprice" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DescriptionOfPaymentOfInterestOfBorrowings" id="ugp_DescriptionOfPaymentOfInterestOfBorrowings" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DescriptionOfPaymentOfFaceValueOfBorrowings" id="ugp_DescriptionOfPaymentOfFaceValueOfBorrowings" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="NumberOfDebtInstrumentsIssued" id="ugp_NumberOfDebtInstrumentsIssued" type="xbrli:integerItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="UnsecuredCommercialNotesPayableNotConvertibleIntoSharesMaturityAt3rdApril2021Member" id="ugp_UnsecuredCommercialNotesPayableNotConvertibleIntoSharesMaturityAt3rdApril2021Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="UnsecuredCommercialNotesPayableNotConvertibleIntoSharesMaturityAt6thApril2021Member" id="ugp_UnsecuredCommercialNotesPayableNotConvertibleIntoSharesMaturityAt6thApril2021Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="AdditionsPropertyPlantAndEquipmentAndIntangibleAssets" id="ugp_AdditionsPropertyPlantAndEquipmentAndIntangibleAssets" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="TaxLossCarryforwards" id="ugp_TaxLossCarryforwards" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="UltraparInternationalMember" id="ugp_UltraparInternationalMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OxitenoUSAMember" id="ugp_OxitenoUSAMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="NumberOfDrugstoresUnderRentalContracts" id="ugp_NumberOfDrugstoresUnderRentalContracts" type="xbrli:integerItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="ContractTermOfLoansReceivableFromRelatedParties" id="ugp_ContractTermOfLoansReceivableFromRelatedParties" type="xbrli:durationItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfEstimatedRecoveryOfIcmsAssetsLineItems" id="ugp_DisclosureOfEstimatedRecoveryOfIcmsAssetsLineItems" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfEstimatedRecoveryOfIcmsAssetsTable" id="ugp_DisclosureOfEstimatedRecoveryOfIcmsAssetsTable" type="xbrli:stringItemType" substitutionGroup="xbrldt:hypercubeItem" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DecreaseThroughClassifiedAsHeldForSaleInvestmentsInAssociates" id="ugp_DecreaseThroughClassifiedAsHeldForSaleInvestmentsInAssociates" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="CapitalReductionInAssociates" id="ugp_CapitalReductionInAssociates" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="NonCurrentProvisionForShortTermLiabilitiesOfJointVenture" id="ugp_NonCurrentProvisionForShortTermLiabilitiesOfJointVenture" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="IncreaseDecreaseThroughTransferToFromProvisionForShortTermLiabilitiesInvestmentsInJointVentures" id="ugp_IncreaseDecreaseThroughTransferToFromProvisionForShortTermLiabilitiesInvestmentsInJointVentures" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="IncreaseDecreaseThroughChangesOfInvestmentsFromShareholderTransactionInvestmentsInJointVentures" id="ugp_IncreaseDecreaseThroughChangesOfInvestmentsFromShareholderTransactionInvestmentsInJointVentures" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="IncreaseDecreaseThroughActuarialGainLossOfPostEmploymentBenefitsInvestmentsInJointVentures" id="ugp_IncreaseDecreaseThroughActuarialGainLossOfPostEmploymentBenefitsInvestmentsInJointVentures" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="IncreaseDecreaseThroughOtherReservesInvestmentsInJointVentures" id="ugp_IncreaseDecreaseThroughOtherReservesInvestmentsInJointVentures" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="CapitalReductionJointVentures" id="ugp_CapitalReductionJointVentures" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="CapitalIncreaseJointVentures" id="ugp_CapitalIncreaseJointVentures" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="FinalSubsequentInstallmentReceivedFromDisposalGroupTransaction" id="ugp_FinalSubsequentInstallmentReceivedFromDisposalGroupTransaction" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="BusinessCombinationSharePrice" id="ugp_BusinessCombinationSharePrice" type="dtr-types:perShareItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="NumberOfSharesAcquired" id="ugp_NumberOfSharesAcquired" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="instant" />
  <xsd:element name="HidroviasDoBrasilMember" id="ugp_HidroviasDoBrasilMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="BankCreditBillWithoutFinancialCovenantsMember" id="ugp_BankCreditBillWithoutFinancialCovenantsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="MajorTransactionsFromDiscontinuedOperationsMember" id="ugp_MajorTransactionsFromDiscontinuedOperationsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="MajorBorrowingsMember" id="ugp_MajorBorrowingsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="IncreaseDecreaseInCashAndCashEquivalentsIncludingEffectOfExchangeRateChangesOnCashAndCashEquivalentsDiscontinuedOperations" id="ugp_IncreaseDecreaseInCashAndCashEquivalentsIncludingEffectOfExchangeRateChangesOnCashAndCashEquivalentsDiscontinuedOperations" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="CessationOfDepreciationOnDisposalOfInvestments" id="ugp_CessationOfDepreciationOnDisposalOfInvestments" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="NumberOfSemiTrailersForNaturalGasDistribution" id="ugp_NumberOfSemiTrailersForNaturalGasDistribution" type="xbrli:integerItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="NumberOfCompressionBasesInSouthAndSoutheastRegions" id="ugp_NumberOfCompressionBasesInSouthAndSoutheastRegions" type="xbrli:integerItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="MinimumCapacityOfNaturalGasDistributed" id="ugp_MinimumCapacityOfNaturalGasDistributed" type="dtr-types:volumeItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="RenewableEnergyElectricityPowerDistributionCapacityInWhichAcquireeEntityOfferedToCustomers" id="ugp_RenewableEnergyElectricityPowerDistributionCapacityInWhichAcquireeEntityOfferedToCustomers" type="xbrli:decimalItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="NumberOfMinimumActiveCustomersInWhichAcquireeEntityOfferedEnergySolutions" id="ugp_NumberOfMinimumActiveCustomersInWhichAcquireeEntityOfferedEnergySolutions" type="xbrli:integerItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="instant" />
  <xsd:element name="NumberOfStatesInWhichAcquireeEntityOperates" id="ugp_NumberOfStatesInWhichAcquireeEntityOperates" type="xbrli:integerItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="instant" />
  <xsd:element name="PrimaryContributionPaid" id="ugp_PrimaryContributionPaid" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="BusinessCombinationPriceOfAcquisitionExpectedUponPurchaseAndSaleAgreement" id="ugp_BusinessCombinationPriceOfAcquisitionExpectedUponPurchaseAndSaleAgreement" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="PercentageOfReasonablyPossibleDecreaseInAssumptionsForEarnoutLiability" id="ugp_PercentageOfReasonablyPossibleDecreaseInAssumptionsForEarnoutLiability" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="instant" />
  <xsd:element name="PercentageOfReasonablyPossibleIncreaseInAssumptionsForEarnoutLiability" id="ugp_PercentageOfReasonablyPossibleIncreaseInAssumptionsForEarnoutLiability" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="instant" />
  <xsd:element name="DecreaseInEarnoutLiabilityDueToReasonablyPossibleIncreaseInActuarialAssumption" id="ugp_DecreaseInEarnoutLiabilityDueToReasonablyPossibleIncreaseInActuarialAssumption" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="DescriptionOfChangesInGoalsOfReasonablyPossibleDecreaseInActuarialAssumptionsForEarnoutLiability" id="ugp_DescriptionOfChangesInGoalsOfReasonablyPossibleDecreaseInActuarialAssumptionsForEarnoutLiability" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="IncreaseInEarnoutLiabilityDueToReasonablyPossibleIncreaseInActuarialAssumption" id="ugp_IncreaseInEarnoutLiabilityDueToReasonablyPossibleIncreaseInActuarialAssumption" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="DescriptionOfChangesInGoalsOfReasonablyPossibleIncreaseInActuarialAssumptionsForEarnoutLiability" id="ugp_DescriptionOfChangesInGoalsOfReasonablyPossibleIncreaseInActuarialAssumptionsForEarnoutLiability" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DescriptionOfGoalsInBusinessCombination" id="ugp_DescriptionOfGoalsInBusinessCombination" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="PortionOfSubsequentConsiderationPaidConsistingOfCashAndCashEquivalents" id="ugp_PortionOfSubsequentConsiderationPaidConsistingOfCashAndCashEquivalents" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="PortionOfInitialConsiderationPaidConsistingOfCashAndCashEquivalents" id="ugp_PortionOfInitialConsiderationPaidConsistingOfCashAndCashEquivalents" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="PaymentToAcquireBusinessesNetOfCashAcquiredAbstract" id="ugp_PaymentToAcquireBusinessesNetOfCashAcquiredAbstract" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="NetLiabilitiesRecognisedAsOfAcquisitionDate" id="ugp_NetLiabilitiesRecognisedAsOfAcquisitionDate" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="NetAssetsRecognisedAsOfAcquisitionDate" id="ugp_NetAssetsRecognisedAsOfAcquisitionDate" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="OtherPayablesRecognisedAsOfAcquisitionDate" id="ugp_OtherPayablesRecognisedAsOfAcquisitionDate" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="LeasesPayableRecognisedAsOfAcquisitionDate" id="ugp_LeasesPayableRecognisedAsOfAcquisitionDate" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="TaxLiabilitiesRecognisedAsOfAcquisitionDate" id="ugp_TaxLiabilitiesRecognisedAsOfAcquisitionDate" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="EmployeeBenefitLiabilitiesRecognisedAsOfAcquisitionDate" id="ugp_EmployeeBenefitLiabilitiesRecognisedAsOfAcquisitionDate" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="AmountsRecognisedAsOfAcquisitionDateForEachMajorClassOfLiabilitiesAssumedAbstract" id="ugp_AmountsRecognisedAsOfAcquisitionDateForEachMajorClassOfLiabilitiesAssumedAbstract" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="RightOfUseAssetsNetRecognisedAsOfAcquisitionDate" id="ugp_RightOfUseAssetsNetRecognisedAsOfAcquisitionDate" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="OtherInvestmentsRecognisedAsOfAcquisitionDate" id="ugp_OtherInvestmentsRecognisedAsOfAcquisitionDate" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="OtherReceivablesRecognisedAsOfAcquisitionDate" id="ugp_OtherReceivablesRecognisedAsOfAcquisitionDate" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="JudicialDepositsRecognisedAsOfAcquisitionDate" id="ugp_JudicialDepositsRecognisedAsOfAcquisitionDate" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="TaxAssetsRecognisedAsOfAcquisitionDate" id="ugp_TaxAssetsRecognisedAsOfAcquisitionDate" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="AmountsRecognisedAsOfAcquisitionDateForEachMajorClassOfAssetsAcquiredAbstract" id="ugp_AmountsRecognisedAsOfAcquisitionDateForEachMajorClassOfAssetsAcquiredAbstract" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="PeriodOfMaturityOfCommitmentOfMaua" id="ugp_PeriodOfMaturityOfCommitmentOfMaua" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="PeriodOfMaturityOfCommitmentOfCamacari" id="ugp_PeriodOfMaturityOfCommitmentOfCamacari" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="MinimumAnnualPurchaseOfMaua" id="ugp_MinimumAnnualPurchaseOfMaua" type="xbrli:integerItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="MinimumAnnualPurchaseOfCamacari" id="ugp_MinimumAnnualPurchaseOfCamacari" type="xbrli:integerItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="EstimatedInvestmentsDisbursementPeriod" id="ugp_EstimatedInvestmentsDisbursementPeriod" type="xbrli:durationItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="MinimumLeasePeriodOfPortConcession" id="ugp_MinimumLeasePeriodOfPortConcession" type="xbrli:durationItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="EstimatedInvestmentsToPortConcessions" id="ugp_EstimatedInvestmentsToPortConcessions" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="PeriodOfPortConcession" id="ugp_PeriodOfPortConcession" type="xbrli:durationItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DescriptionOfPortConcessions" id="ugp_DescriptionOfPortConcessions" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="PeriodOfConcession" id="ugp_PeriodOfConcession" type="xbrli:durationItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="MinimumPortStorageCapacity" id="ugp_MinimumPortStorageCapacity" type="dtr-types:volumeItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="PercentageOfConsortiumOwned" id="ugp_PercentageOfConsortiumOwned" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="NumberOfPortConcessions" id="ugp_NumberOfPortConcessions" type="xbrli:integerItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="CargoRatesPerTon" id="ugp_CargoRatesPerTon" type="xbrli:decimalItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="instant" />
  <xsd:element name="DisclosureOfCommitmentsAndContingenciesLineItems" id="ugp_DisclosureOfCommitmentsAndContingenciesLineItems" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="AreaIqi13Member" id="ugp_AreaIqi13Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="AreaVdc12Member" id="ugp_AreaVdc12Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="AreaBel04aMember" id="ugp_AreaBel04aMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="AreaBel02AMember" id="ugp_AreaBel02AMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="PortOfMiramarMember" id="ugp_PortOfMiramarMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="PortOfVitoriaMember" id="ugp_PortOfVitoriaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="PortOfCabedeloMember" id="ugp_PortOfCabedeloMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="Terminal1Member" id="ugp_Terminal1Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="TerminalAxis" id="ugp_TerminalAxis" type="xbrli:stringItemType" substitutionGroup="xbrldt:dimensionItem" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="EspiritoSantoMember" id="ugp_EspiritoSantoMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ParaibaMember" id="ugp_ParaibaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="EntitiesByLocationDomain" id="ugp_EntitiesByLocationDomain" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="EntitiesByLocationAxis" id="ugp_EntitiesByLocationAxis" type="xbrli:stringItemType" substitutionGroup="xbrldt:dimensionItem" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="IpirangaProdutosDepetroleoSaAndUltracargoLogisticaSAMember" id="ugp_IpirangaProdutosDepetroleoSaAndUltracargoLogisticaSAMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="IpirangaProdutosDepetroleoSaAndUltracargoMember" id="ugp_IpirangaProdutosDepetroleoSaAndUltracargoMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="AreaPortLeaseMember" id="ugp_AreaPortLeaseMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ItaquiMember" id="ugp_ItaquiMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="SuapeMember" id="ugp_SuapeMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="AratuMember" id="ugp_AratuMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DirectorsAndOfficersMember" id="ugp_DirectorsAndOfficersMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ThirdPartiesMember" id="ugp_ThirdPartiesMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfCommitmentsAndContingenciesTable" id="ugp_DisclosureOfCommitmentsAndContingenciesTable" type="xbrli:stringItemType" substitutionGroup="xbrldt:hypercubeItem" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="CargoAgreementMaturity" id="ugp_CargoAgreementMaturity" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="MinimumCargoMovementPerYear" id="ugp_MinimumCargoMovementPerYear" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="CargoPort" id="ugp_CargoPort" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="SummaryOfContractCommitmentsLineItems" id="ugp_SummaryOfContractCommitmentsLineItems" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="CargoContractFiveMember" id="ugp_CargoContractFiveMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="CargoContractFourMember" id="ugp_CargoContractFourMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="CargoContractThreeMember" id="ugp_CargoContractThreeMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="CargoContractTwoMember" id="ugp_CargoContractTwoMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="CargoContractOneMember" id="ugp_CargoContractOneMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="CommitmentsTable" id="ugp_CommitmentsTable" type="xbrli:stringItemType" substitutionGroup="xbrldt:hypercubeItem" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="FinancialLiabilitiesMeasuredAtFairValueThroughOtherComprehensiveIncomeCategoryMember" id="ugp_FinancialLiabilitiesMeasuredAtFairValueThroughOtherComprehensiveIncomeCategoryMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OtherPayablesMember" id="ugp_OtherPayablesMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="FinancialLiabilitiesOfCustomersMember" id="ugp_FinancialLiabilitiesOfCustomersMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="SubscriptionWarrantsIndemnificationMember" id="ugp_SubscriptionWarrantsIndemnificationMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="TradePayablesReverseFactoringMember" id="ugp_TradePayablesReverseFactoringMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="TradePayableMember" id="ugp_TradePayableMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ForeignExchangeInterestRateAndCommodityHedgingInstrumentLiabilitiesMember" id="ugp_ForeignExchangeInterestRateAndCommodityHedgingInstrumentLiabilitiesMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="LoanFinancingLiabilitiesMember" id="ugp_LoanFinancingLiabilitiesMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ReceivablesFromSaleOfInvestmentsMember" id="ugp_ReceivablesFromSaleOfInvestmentsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ResellerFinancingMember" id="ugp_ResellerFinancingMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DerivativeFinancialInstrumentsAndOtherFinancialAssetsMember" id="ugp_DerivativeFinancialInstrumentsAndOtherFinancialAssetsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="FinancialInvestmentsSecuritiesAndFundsInLocalCurrencyMember" id="ugp_FinancialInvestmentsSecuritiesAndFundsInLocalCurrencyMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="CashAndCashEquivalentsSecuritiesAndFundsInForeignCurrencyMember" id="ugp_CashAndCashEquivalentsSecuritiesAndFundsInForeignCurrencyMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="CashAndCashEquivalentsSecuritiesAndFundsInLocalCurrencyMember" id="ugp_CashAndCashEquivalentsSecuritiesAndFundsInLocalCurrencyMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="CashAndBankDepositsMember" id="ugp_CashAndBankDepositsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="GainLossRelatedToFairValueAdjustmentOfInventories" id="ugp_GainLossRelatedToFairValueAdjustmentOfInventories" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="PercentageOfAverageEffectiveCost" id="ugp_PercentageOfAverageEffectiveCost" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="InterestIncomeExpenseOnFinancialLiabilitiesDesignatedAtFairValueThroughProfitOrLoss" id="ugp_InterestIncomeExpenseOnFinancialLiabilitiesDesignatedAtFairValueThroughProfitOrLoss" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="GainLossRelatedToFairValueAdjustmentOfDebt" id="ugp_GainLossRelatedToFairValueAdjustmentOfDebt" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="InterestRateHedgingInstrumentsMember" id="ugp_InterestRateHedgingInstrumentsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ForeignExchangeHedgingInstrumentsMember" id="ugp_ForeignExchangeHedgingInstrumentsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="LiabilitiesInterestRateBasis" id="ugp_LiabilitiesInterestRateBasis" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="AssetsInterestRateBasis" id="ugp_AssetsInterestRateBasis" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="NdfOneMember" id="ugp_NdfOneMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ZeroCostCollarMember" id="ugp_ZeroCostCollarMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="NdfMember" id="ugp_NdfMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="InterestRateSwapContractOneMember" id="ugp_InterestRateSwapContractOneMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ForeignExchangeSwapThreeMember" id="ugp_ForeignExchangeSwapThreeMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ForeignExchangeSwapTwoMember" id="ugp_ForeignExchangeSwapTwoMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ForeignExchangeSwapOneMember" id="ugp_ForeignExchangeSwapOneMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ForeignExchangeSwapMember" id="ugp_ForeignExchangeSwapMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DerivativesNotDesignatedAsHedgeAccountingMember" id="ugp_DerivativesNotDesignatedAsHedgeAccountingMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DerivativesDesignatedAsHedgeAccountingMember" id="ugp_DerivativesDesignatedAsHedgeAccountingMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="PercentageOfNetDebtToEquityRatio" id="ugp_PercentageOfNetDebtToEquityRatio" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="instant" />
  <xsd:element name="CashAndCashEquivalentsFinancialInvestmentsAndDerivativeHedgeFinancialInstruments" id="ugp_CashAndCashEquivalentsFinancialInvestmentsAndDerivativeHedgeFinancialInstruments" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="LoansFinancingAndLeasesPayable" id="ugp_LoansFinancingAndLeasesPayable" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="OtherPayablesUndiscountedCashFlows" id="ugp_OtherPayablesUndiscountedCashFlows" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="FinancialLiabilitiesOfCustomersUndiscountedCashFlows" id="ugp_FinancialLiabilitiesOfCustomersUndiscountedCashFlows" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="TradePayablesReverseFactoringUndiscountedCashFlows" id="ugp_TradePayablesReverseFactoringUndiscountedCashFlows" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="LoansIncludingFutureContractualInterestUndiscountedCashFlows" id="ugp_LoansIncludingFutureContractualInterestUndiscountedCashFlows" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="DerivativeNonmonetaryNotionalAmountVolumeOne" id="ugp_DerivativeNonmonetaryNotionalAmountVolumeOne" type="xbrli:integerItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="TermMember" id="ugp_TermMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="MarineFuelMember" id="ugp_MarineFuelMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="SeaFreightMember" id="ugp_SeaFreightMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="SoybeanOilMember" id="ugp_SoybeanOilMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="RBOBMember" id="ugp_RBOBMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="HeatingOilOneMember" id="ugp_HeatingOilOneMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="TradeAndOtherReceivablesGross" id="ugp_TradeAndOtherReceivablesGross" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="AllowancesForDoubfulAccountsOnTradeReceivablesAndOtherReceivables" id="ugp_AllowancesForDoubfulAccountsOnTradeReceivablesAndOtherReceivables" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="CashCashEquivalentsAndFinancialInvestments" id="ugp_CashCashEquivalentsAndFinancialInvestments" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="OtherExternalCreditGradesMember" id="ugp_OtherExternalCreditGradesMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="AMember" id="ugp_AMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="AAMember" id="ugp_AAMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="AAAMember" id="ugp_AAAMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="IncrementalExpenses" id="ugp_IncrementalExpenses" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="InterestRateHedgingInstrumentsLiabilitiesInterestEffect" id="ugp_InterestRateHedgingInstrumentsLiabilitiesInterestEffect" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="ForeignExchangeHedgingInstrumentsAssetsInterestEffect" id="ugp_ForeignExchangeHedgingInstrumentsAssetsInterestEffect" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="InterestEffectOnCashEquivalentsAndFinancialInvestments" id="ugp_InterestEffectOnCashEquivalentsAndFinancialInvestments" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="ExposureOfInterestRateRiskAbstract" id="ugp_ExposureOfInterestRateRiskAbstract" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="NetAssetsLiabilitiesPositionExposedToFloatingInterestRates" id="ugp_NetAssetsLiabilitiesPositionExposedToFloatingInterestRates" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="LoanPayablesMember" id="ugp_LoanPayablesMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="AssetPositionOfForeignExchangeHedgingInstrumentsMember" id="ugp_AssetPositionOfForeignExchangeHedgingInstrumentsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="LiabilityPositionOfHedgingInstrumentsPreFixedMember" id="ugp_LiabilityPositionOfHedgingInstrumentsPreFixedMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="LiabilityPositionOfForeignExchangeHedgingInstrumentsMember" id="ugp_LiabilityPositionOfForeignExchangeHedgingInstrumentsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="LoansAndDebenturesMember" id="ugp_LoansAndDebenturesMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="TradeReceivablesSaleOfSubsidiariesMember" id="ugp_TradeReceivablesSaleOfSubsidiariesMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="FinancialInvestmentsMember" id="ugp_FinancialInvestmentsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="CashEquivalentMember" id="ugp_CashEquivalentMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="BalanceSheetPositionDomain" id="ugp_BalanceSheetPositionDomain" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="BalanceSheetPositionAxis" id="ugp_BalanceSheetPositionAxis" type="xbrli:stringItemType" substitutionGroup="xbrldt:dimensionItem" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="SelicMember" id="ugp_SelicMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="TJLPMember" id="ugp_TJLPMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DiMember" id="ugp_DiMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="IncomeStatementEffectincreaseShareholdersEquityDecreaseNetEffect" id="ugp_IncomeStatementEffectincreaseShareholdersEquityDecreaseNetEffect" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="ExchangeRateAppreciationNetEffectOnLiabilityPosition" id="ugp_ExchangeRateAppreciationNetEffectOnLiabilityPosition" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="IncomeStatementEffectIncrease" id="ugp_IncomeStatementEffectIncrease" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="IncomeStatementEffectDecreaseShareHoldersEquityIncreaseNetEffect" id="ugp_IncomeStatementEffectDecreaseShareHoldersEquityIncreaseNetEffect" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="ExchangeRateDevaluationNetEffectOnLiabilityPosition" id="ugp_ExchangeRateDevaluationNetEffectOnLiabilityPosition" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="IncomeStatementEffectDecrease" id="ugp_IncomeStatementEffectDecrease" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="PeriodForSensitivityAnalysis" id="ugp_PeriodForSensitivityAnalysis" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="NegativeGoodwillOfNotesInForeignMarket" id="ugp_NegativeGoodwillOfNotesInForeignMarket" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="ExpectedPercentageOfHedgeEffectivenessInRetrospectiveAssessmentToContinueHedgeAccountingForHedgeRelationshipIsNotSubjectToInterestRateBenchmarkReforms" id="ugp_ExpectedPercentageOfHedgeEffectivenessInRetrospectiveAssessmentToContinueHedgeAccountingForHedgeRelationshipIsNotSubjectToInterestRateBenchmarkReforms" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="instant" />
  <xsd:element name="ExpectedPercentageOfHedgeEffectivenessInRetrospectiveAssessmentToDiscontinueHedgeAccountingForHedgeRelationshipIsSubjectToInterestRateBenchmarkReforms" id="ugp_ExpectedPercentageOfHedgeEffectivenessInRetrospectiveAssessmentToDiscontinueHedgeAccountingForHedgeRelationshipIsSubjectToInterestRateBenchmarkReforms" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="instant" />
  <xsd:element name="ExchangeRatePerShareForLastMaturityOfForeignExchangeHedgingInstruments" id="ugp_ExchangeRatePerShareForLastMaturityOfForeignExchangeHedgingInstruments" type="dtr-types:perShareItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="instant" />
  <xsd:element name="ForeignExchangeHedgingInstrumentsDesignatedAsNetInvestmentsHedgeInForeignEntities" id="ugp_ForeignExchangeHedgingInstrumentsDesignatedAsNetInvestmentsHedgeInForeignEntities" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="CashFlowHedgeUnrealizedLossOfOtherComprehensiveIncomeNetRelatedToFutureSalesRevenues" id="ugp_CashFlowHedgeUnrealizedLossOfOtherComprehensiveIncomeNetRelatedToFutureSalesRevenues" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="EstimatedInvestmentsForNextFiscalYear" id="ugp_EstimatedInvestmentsForNextFiscalYear" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="FloatingInterestRate" id="ugp_FloatingInterestRate" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="MaturityOfForeignExchangeHedgingInstruments" id="ugp_MaturityOfForeignExchangeHedgingInstruments" type="dtr-types:perShareItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="instant" />
  <xsd:element name="BalanceOfForeignExchangeHedgingInstrumentsDesignatedAsNetInvestmentsHedgeInForeignEntities" id="ugp_BalanceOfForeignExchangeHedgingInstrumentsDesignatedAsNetInvestmentsHedgeInForeignEntities" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="CashFlowHedgeUnrealizedGainLossOfOtherComprehensiveIncomeNetRelatedToNotesInForeignMarket" id="ugp_CashFlowHedgeUnrealizedGainLossOfOtherComprehensiveIncomeNetRelatedToNotesInForeignMarket" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="NotionalAmountOfForeignExchangeHedgingInstrumentsForHighlyProbableFutureTransactionsDesignatedAsCashFlowHedgeRelatedToNotesInForeignMarket" id="ugp_NotionalAmountOfForeignExchangeHedgingInstrumentsForHighlyProbableFutureTransactionsDesignatedAsCashFlowHedgeRelatedToNotesInForeignMarket" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="CashCashEquivalentsAndShortTermFinancialInvestments" id="ugp_CashCashEquivalentsAndShortTermFinancialInvestments" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="InvestmentPlan" id="ugp_InvestmentPlan" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="MaximumPercentageOfIdentifiedRiskToCoverByDerivativeFinancialInstruments" id="ugp_MaximumPercentageOfIdentifiedRiskToCoverByDerivativeFinancialInstruments" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="NumberOfCustomersAccountedForMoreThanTenPercentOfRevenue" id="ugp_NumberOfCustomersAccountedForMoreThanTenPercentOfRevenue" type="xbrli:decimalItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="NumberOfCustomers" id="ugp_NumberOfCustomers" type="xbrli:integerItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="CustomerOneMember" id="ugp_CustomerOneMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="CustomerConcentrationsRiskMember" id="ugp_CustomerConcentrationsRiskMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="Scenario3Member" id="ugp_Scenario3Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="Scenario2Member" id="ugp_Scenario2Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ScenarioMember" id="ugp_ScenarioMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ScenarioDomain" id="ugp_ScenarioDomain" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ScenarioAxis" id="ugp_ScenarioAxis" type="xbrli:stringItemType" substitutionGroup="xbrldt:dimensionItem" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="NetAssetLiabilityPositionShareholdersEffectEquity" id="ugp_NetAssetLiabilityPositionShareholdersEffectEquity" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="NetAssetLiabilityPositionEffectStatementIncome" id="ugp_NetAssetLiabilityPositionEffectStatementIncome" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="NetAssetLiabilityPositionTotal" id="ugp_NetAssetLiabilityPositionTotal" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="DisclosureOfSensitivityAnalysisOfFairValueMeasurementToChangesInUnobservableInputsAssetsLiabilitiesTableTextBlock" id="ugp_DisclosureOfSensitivityAnalysisOfFairValueMeasurementToChangesInUnobservableInputsAssetsLiabilitiesTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="ForeignCurrencyHedgingInstruments" id="ugp_ForeignCurrencyHedgingInstruments" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="LiabilitiesInForeignCurrency" id="ugp_LiabilitiesInForeignCurrency" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="LiabilitiesExposureFromSubsidiariesHeldForSale" id="ugp_LiabilitiesExposureFromSubsidiariesHeldForSale" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="PayablesArisingFromImports" id="ugp_PayablesArisingFromImports" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="FinancingInForeignCurrency" id="ugp_FinancingInForeignCurrency" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="LiabilitiesInForeignCurrencyAbstract" id="ugp_LiabilitiesInForeignCurrencyAbstract" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="AssetsInForeignCurrency" id="ugp_AssetsInForeignCurrency" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="SummaryOfFinancialInformationOfJointVenturesAndAssociatesTableTextBlock" id="ugp_SummaryOfFinancialInformationOfJointVenturesAndAssociatesTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="OtherNetAssetsOfForeignSubsidiariesInForeignCurrencyExceptCashCashEquivalentsFinancialInvestmentsTradeReceivablesFinancingAndPayables" id="ugp_OtherNetAssetsOfForeignSubsidiariesInForeignCurrencyExceptCashCashEquivalentsFinancialInvestmentsTradeReceivablesFinancingAndPayables" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="OtherReceivablesInForeignCurrency" id="ugp_OtherReceivablesInForeignCurrency" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="ForeignTradeReceivablesNetOfAllowanceForDoubtfulAccountsAndAdvancesToForeignCustomers" id="ugp_ForeignTradeReceivablesNetOfAllowanceForDoubtfulAccountsAndAdvancesToForeignCustomers" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="CashCashEquivalentsAndFinancialInvestmentsInForeignCurrencyExceptHedgingInstruments" id="ugp_CashCashEquivalentsAndFinancialInvestmentsInForeignCurrencyExceptHedgingInstruments" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="AssetsInForeignCurrencyAbstract" id="ugp_AssetsInForeignCurrencyAbstract" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="AsiaAndOthersRegionsMember" id="ugp_AsiaAndOthersRegionsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OtherLatinAmericanCountriesMember" id="ugp_OtherLatinAmericanCountriesMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="UnitedStatesOfAmericaAndCanadaMember" id="ugp_UnitedStatesOfAmericaAndCanadaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="AdjustmentsForIncreaseDecreaseInPaymentsOfContractualAssetsWithCustomersExclusiveRights" id="ugp_AdjustmentsForIncreaseDecreaseInPaymentsOfContractualAssetsWithCustomersExclusiveRights" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="AdjustmentsForIncreaseDecreaseInCapitalizedInterestAndOtherPropertyPlantAndEquipmentAndProvisionForARO" id="ugp_AdjustmentsForIncreaseDecreaseInCapitalizedInterestAndOtherPropertyPlantAndEquipmentAndProvisionForARO" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="AssetsHeldForSaleMember" id="ugp_AssetsHeldForSaleMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OxitenoMember" id="ugp_OxitenoMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ShareOfProfitLossOfSubsidiariesAssociatesAndJointVentures" id="ugp_ShareOfProfitLossOfSubsidiariesAssociatesAndJointVentures" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="SellingAndMarketingExpenses" id="ugp_SellingAndMarketingExpenses" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="WeightedAverageNumberOfOrdinarySharesUsedInCalculatingDilutedEarningsPerShareDiscontinuedOperations" id="ugp_WeightedAverageNumberOfOrdinarySharesUsedInCalculatingDilutedEarningsPerShareDiscontinuedOperations" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="instant" />
  <xsd:element name="WeightedAverageNumberOfOrdinarySharesUsedInCalculatingDilutedEarningsPerShareContinuingOperations" id="ugp_WeightedAverageNumberOfOrdinarySharesUsedInCalculatingDilutedEarningsPerShareContinuingOperations" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="WeightedAverageNumberOfOrdinarySharesUsedInCalculatingBasicEarningsPerShareDiscontinuedOperations" id="ugp_WeightedAverageNumberOfOrdinarySharesUsedInCalculatingBasicEarningsPerShareDiscontinuedOperations" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="WeightedAverageNumberOfOrdinarySharesUsedInCalculatingBasicEarningsPerShareContinuingOperations" id="ugp_WeightedAverageNumberOfOrdinarySharesUsedInCalculatingBasicEarningsPerShareContinuingOperations" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="UpdateOfProvisionsNetAndOtherExpenses" id="ugp_UpdateOfProvisionsNetAndOtherExpenses" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="ExchangeVariationNetOfGainsAndLossesHedgingInstruments" id="ugp_ExchangeVariationNetOfGainsAndLossesHedgingInstruments" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="ChangesInSubscriptionWarrants" id="ugp_ChangesInSubscriptionWarrants" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="FinanceLeasesInterest" id="ugp_FinanceLeasesInterest" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="UpdateOfProvisionsAndOtherIncome" id="ugp_UpdateOfProvisionsAndOtherIncome" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="SelicInterestOnPISAndCOFINSCredits" id="ugp_SelicInterestOnPISAndCOFINSCredits" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="ChangesInSubscriptionWarrantsIncome" id="ugp_ChangesInSubscriptionWarrantsIncome" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="FinancialInvestmentsInterest" id="ugp_FinancialInvestmentsInterest" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="ExpensesFromFinesForTaxInfractions" id="ugp_ExpensesFromFinesForTaxInfractions" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="TaxExpensesOnOtherOperatingIncome" id="ugp_TaxExpensesOnOtherOperatingIncome" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="OtherOperatingExpenseAbstract" id="ugp_OtherOperatingExpenseAbstract" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="TaxEffectOfUnrecordedDeferredIncomeAndSocialContributionTaxesCarryforwardsDeferred" id="ugp_TaxEffectOfUnrecordedDeferredIncomeAndSocialContributionTaxesCarryforwardsDeferred" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="TaxEffectOfAdjustmentToEstimatedIncome" id="ugp_TaxEffectOfAdjustmentToEstimatedIncome" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="TaxEffectOfMonetaryVariationFromSpecialSystemForSettlementAndCustodyOnRepetitionOfTaxUnduePayments" id="ugp_TaxEffectOfMonetaryVariationFromSpecialSystemForSettlementAndCustodyOnRepetitionOfTaxUnduePayments" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="IncreaseDecreaseThroughOtherAdjustmentsDeferredTaxLiabilityAsset" id="ugp_IncreaseDecreaseThroughOtherAdjustmentsDeferredTaxLiabilityAsset" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="DeferredTaxExpenseIncomeRecognisedInProfitOrLossFromDiscontinuedOperations" id="ugp_DeferredTaxExpenseIncomeRecognisedInProfitOrLossFromDiscontinuedOperations" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="DeferredIncomeAndSocialContributionTaxesOffsetAssetsBalance" id="ugp_DeferredIncomeAndSocialContributionTaxesOffsetAssetsBalance" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="DeferredIncomeAndSocialContributionTaxLiabilities" id="ugp_DeferredIncomeAndSocialContributionTaxLiabilities" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="DeferredIncomeAndSocialContributionTaxesOtherProvisionsLiabilities" id="ugp_DeferredIncomeAndSocialContributionTaxesOtherProvisionsLiabilities" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="DeferredIncomeAndSocialContributionTaxesProvisionForPostemploymentBenefitsBusinessCombinationFairValueOfAssets" id="ugp_DeferredIncomeAndSocialContributionTaxesProvisionForPostemploymentBenefitsBusinessCombinationFairValueOfAssets" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="DeferredIncomeAndSocialContributionTaxesProvisionForPostemploymentBenefitsProvisionForGoodwillAndNegativeGoodwill" id="ugp_DeferredIncomeAndSocialContributionTaxesProvisionForPostemploymentBenefitsProvisionForGoodwillAndNegativeGoodwill" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="DeferredIncomeAndSocialContributionTaxesProvisionForDifferencesBetweenCashAndAccrualBasisLiabilities" id="ugp_DeferredIncomeAndSocialContributionTaxesProvisionForDifferencesBetweenCashAndAccrualBasisLiabilities" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="DeferredIncomeAndSocialContributionTaxesLease" id="ugp_DeferredIncomeAndSocialContributionTaxesLease" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="DeferredIncomeAndSocialContributionTaxesRevaluationOfPropertyPlantAndEquipment" id="ugp_DeferredIncomeAndSocialContributionTaxesRevaluationOfPropertyPlantAndEquipment" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="DeferredIncomeAndSocialContributionTaxLiabilitiesAbstract" id="ugp_DeferredIncomeAndSocialContributionTaxLiabilitiesAbstract" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ContractualFineAndGasVoucherIncome" id="ugp_ContractualFineAndGasVoucherIncome" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="RevenueFromMiscellaneousServices" id="ugp_RevenueFromMiscellaneousServices" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="ExtraordinaryTaxCreditsIncome" id="ugp_ExtraordinaryTaxCreditsIncome" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="MerchandisingIncome" id="ugp_MerchandisingIncome" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="CommercialPartnershipsIncome" id="ugp_CommercialPartnershipsIncome" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="OtherOperatingIncomeAbstract" id="ugp_OtherOperatingIncomeAbstract" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="GainOnInsuranceClaim" id="ugp_GainOnInsuranceClaim" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="ClassifiedByFunctionAbstract" id="ugp_ClassifiedByFunctionAbstract" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OtherOperatingIncomeExpenseByFunction" id="ugp_OtherOperatingIncomeExpenseByFunction" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="ExtemporaneousTaxCredits" id="ugp_ExtemporaneousTaxCredits" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="AdvertisingAndMarketingExpense" id="ugp_AdvertisingAndMarketingExpense" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="ExpensesFromDecarbonizationObligation" id="ugp_ExpensesFromDecarbonizationObligation" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="FreightAndStorageExpense" id="ugp_FreightAndStorageExpense" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="ReclassificationToLiabilitiesOfSubsidiariesHeldForSale" id="ugp_ReclassificationToLiabilitiesOfSubsidiariesHeldForSale" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="DividendsPaidToEquityHolders" id="ugp_DividendsPaidToEquityHolders" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="InterestOnCapitalPaidBeforeIncomeTax" id="ugp_InterestOnCapitalPaidBeforeIncomeTax" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="InterestOnCapitalPaidNetOfIncomeTaxPerShare" id="ugp_InterestOnCapitalPaidNetOfIncomeTaxPerShare" type="dtr-types:perShareItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="AllocationOfNetIncome" id="ugp_AllocationOfNetIncome" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="AllocationOfNetIncomeToInvestmentsStatutoryReserve" id="ugp_AllocationOfNetIncomeToInvestmentsStatutoryReserve" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="MinimumMandatoryDividendsLessInterimDividend" id="ugp_MinimumMandatoryDividendsLessInterimDividend" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="AllocationOfDividendsAbstract" id="ugp_AllocationOfDividendsAbstract" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="InterestOnCapitalPaidNetOfIncomeTax" id="ugp_InterestOnCapitalPaidNetOfIncomeTax" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="InterimDividendsPaid" id="ugp_InterimDividendsPaid" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="MinimumMandatoryDividends" id="ugp_MinimumMandatoryDividends" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="AdjustedNetIncomeBasisForDividends" id="ugp_AdjustedNetIncomeBasisForDividends" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="AllocationToLegalReserves" id="ugp_AllocationToLegalReserves" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="ReclassificationAdjustmentsOnExchangeDifferencesOnTranslationOfForeignOperationsDueToSaleOfInvestmentNetOfTax" id="ugp_ReclassificationAdjustmentsOnExchangeDifferencesOnTranslationOfForeignOperationsDueToSaleOfInvestmentNetOfTax" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="WriteOffAdjustmentsOnExchangeDifferencesOnTranslationOfSaleOfInvestmentNetOfTax" id="ugp_WriteOffAdjustmentsOnExchangeDifferencesOnTranslationOfSaleOfInvestmentNetOfTax" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="ReserveOfValuationAdjustments" id="ugp_ReserveOfValuationAdjustments" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="OtherValuationAdjustmentsMember" id="ugp_OtherValuationAdjustmentsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="NoncontrollingShareholdersInterestChangeMember" id="ugp_NoncontrollingShareholdersInterestChangeMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ValuationAdjustmentsMember" id="ugp_ValuationAdjustmentsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="NumberOfTreasurySharesOutstanding" id="ugp_NumberOfTreasurySharesOutstanding" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="instant" />
  <xsd:element name="MinimumMandatoryDividendsAsPercentageOfNetIncome" id="ugp_MinimumMandatoryDividendsAsPercentageOfNetIncome" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="instant" />
  <xsd:element name="ThresholdPercentageOfShareCapitalForInvestmentsReserveAllocation" id="ugp_ThresholdPercentageOfShareCapitalForInvestmentsReserveAllocation" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="InvestmentStatutoryReserveAsMaximumPercentageOfNetIncome" id="ugp_InvestmentStatutoryReserveAsMaximumPercentageOfNetIncome" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="instant" />
  <xsd:element name="LegalReserves" id="ugp_LegalReserves" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="ThresholdPercentageOfShareCapitalForLegalReserveAllocation" id="ugp_ThresholdPercentageOfShareCapitalForLegalReserveAllocation" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="LegalReserveAsPercentageOfNetIncome" id="ugp_LegalReserveAsPercentageOfNetIncome" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="RetentionOfProfitsAndInvestmentsReserve" id="ugp_RetentionOfProfitsAndInvestmentsReserve" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="TreasurySharesAveragePrice" id="ugp_TreasurySharesAveragePrice" type="dtr-types:perShareItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="NumberOfTreasurySharesGrantedWithRightOfUse" id="ugp_NumberOfTreasurySharesGrantedWithRightOfUse" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="instant" />
  <xsd:element name="NumberOfSharesOutstandingAbroadInFormOfAmericanDepositaryReceipts" id="ugp_NumberOfSharesOutstandingAbroadInFormOfAmericanDepositaryReceipts" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="instant" />
  <xsd:element name="MaximumNumberOfSharesAvailableForIssueSubscriptionWarrants" id="ugp_MaximumNumberOfSharesAvailableForIssueSubscriptionWarrants" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="SubscriptionWarrants" id="ugp_SubscriptionWarrants" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="SubscriptionWarrantsShares" id="ugp_SubscriptionWarrantsShares" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="instant" />
  <xsd:element name="NumberOfSharesCanceledAndNotIssuedWhichLinkedToSubscriptionWarrantsIndemnification" id="ugp_NumberOfSharesCanceledAndNotIssuedWhichLinkedToSubscriptionWarrantsIndemnification" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="ExerciseOfWarrantsRightsOutstanding" id="ugp_ExerciseOfWarrantsRightsOutstanding" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="instant" />
  <xsd:element name="MaximumNumberOfSharesToBeIssuedSubscriptionWarrants" id="ugp_MaximumNumberOfSharesToBeIssuedSubscriptionWarrants" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="SubscriptionWarrantsSharesIssued" id="ugp_SubscriptionWarrantsSharesIssued" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfSubscriptionWarrantsTable" id="ugp_DisclosureOfSubscriptionWarrantsTable" type="xbrli:stringItemType" substitutionGroup="xbrldt:hypercubeItem" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DeferredRevenueReclassifiedToALiabilityHeldForSale" id="ugp_DeferredRevenueReclassifiedToALiabilityHeldForSale" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="ExchangePeriodOfLoyaltyProgramPointsForCustomers" id="ugp_ExchangePeriodOfLoyaltyProgramPointsForCustomers" type="xbrli:durationItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="NumberOfStores1" id="ugp_NumberOfStores1" type="xbrli:integerItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="instant" />
  <xsd:element name="NumberOfStoresWhichHaveNotYetMetPerformanceRequirements" id="ugp_NumberOfStoresWhichHaveNotYetMetPerformanceRequirements" type="xbrli:integerItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="instant" />
  <xsd:element name="JetOilMember" id="ugp_JetOilMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="AmPmMember" id="ugp_AmPmMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="SummaryOfDeferredRevenueLineItems" id="ugp_SummaryOfDeferredRevenueLineItems" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="LoyaltyProgramTwoMember" id="ugp_LoyaltyProgramTwoMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="LoyaltyProgramOneMember" id="ugp_LoyaltyProgramOneMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="FranchisingUpfrontFeeMember" id="ugp_FranchisingUpfrontFeeMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DeferredRevenueDomain" id="ugp_DeferredRevenueDomain" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DeferredRevenueAxis" id="ugp_DeferredRevenueAxis" type="xbrli:stringItemType" substitutionGroup="xbrldt:dimensionItem" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfDeferredRevenueTable" id="ugp_DisclosureOfDeferredRevenueTable" type="xbrli:stringItemType" substitutionGroup="xbrldt:hypercubeItem" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="AdjustmentOnEscrowDeposits" id="ugp_AdjustmentOnEscrowDeposits" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="ActionForDamagesAsContingentAssetAmountReceived" id="ugp_ActionForDamagesAsContingentAssetAmountReceived" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="ActionForDamagesAsContingentAssetInitialFixedAmountRecognized" id="ugp_ActionForDamagesAsContingentAssetInitialFixedAmountRecognized" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="PercentageOfReceivablesFromAnActionForDamagesAsContingentAsset" id="ugp_PercentageOfReceivablesFromAnActionForDamagesAsContingentAsset" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="ProvisionForIndemnitiesRelatedToTaxClaims" id="ugp_ProvisionForIndemnitiesRelatedToTaxClaims" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="ProvisionForIndemnitiesRelatedToCivilClaims" id="ugp_ProvisionForIndemnitiesRelatedToCivilClaims" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="ProvisionForIndemnitiesRelatedToLaborClaims" id="ugp_ProvisionForIndemnitiesRelatedToLaborClaims" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="ProvisionForIndemnities" id="ugp_ProvisionForIndemnities" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="ContingentLiabilitiesForTaxAssessmentsOnSales" id="ugp_ContingentLiabilitiesForTaxAssessmentsOnSales" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="PaymentsForIcmsTaxAssessment" id="ugp_PaymentsForIcmsTaxAssessment" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="NumberOfFinesReceived" id="ugp_NumberOfFinesReceived" type="xbrli:integerItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="SurchargeOnNonEssentialProducts" id="ugp_SurchargeOnNonEssentialProducts" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="SurchargeRateOnNonEssentialProducts" id="ugp_SurchargeRateOnNonEssentialProducts" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="FruitionTaxExpensesBenefitsRelatedToFiscalEquilibriumFund" id="ugp_FruitionTaxExpensesBenefitsRelatedToFiscalEquilibriumFund" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="CompensationPaidToParty" id="ugp_CompensationPaidToParty" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="CompensationSuitAgainstDamages" id="ugp_CompensationSuitAgainstDamages" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="PenaltyOnAdministrativeProceedings" id="ugp_PenaltyOnAdministrativeProceedings" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="NumberOfLawsuitsFiledForLaborMatters" id="ugp_NumberOfLawsuitsFiledForLaborMatters" type="xbrli:integerItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="ContingentLiabilitiesForLaborMatters" id="ugp_ContingentLiabilitiesForLaborMatters" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="ContingentLiabilitiesNotRecognizedToLawsuit" id="ugp_ContingentLiabilitiesNotRecognizedToLawsuit" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="PenaltyOnUltragaz" id="ugp_PenaltyOnUltragaz" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="NumberOfLawsuitsFiledForCivilEnvironmentalAndRegulatoryClaims" id="ugp_NumberOfLawsuitsFiledForCivilEnvironmentalAndRegulatoryClaims" type="xbrli:integerItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="ContingentLiabilitiesForCivilEnvironmentalAndRegulatoryClaims" id="ugp_ContingentLiabilitiesForCivilEnvironmentalAndRegulatoryClaims" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="AmortizationOfGoodwillPaidOnAcquisitionOfSubsidiary" id="ugp_AmortizationOfGoodwillPaidOnAcquisitionOfSubsidiary" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="OffsetClaimsAndCreditDisallowances" id="ugp_OffsetClaimsAndCreditDisallowances" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="ReversalOfConditionedFruitionOfFiscalIncentive" id="ugp_ReversalOfConditionedFruitionOfFiscalIncentive" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="ReversalOfInventoryDifferences" id="ugp_ReversalOfInventoryDifferences" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="ReversalOfAllegedNonpayment" id="ugp_ReversalOfAllegedNonpayment" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="ReversalOfICMSCredits" id="ugp_ReversalOfICMSCredits" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="IcmsCredits" id="ugp_IcmsCredits" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="LegalProceedingsRelatedToIcms" id="ugp_LegalProceedingsRelatedToIcms" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="IpiContingency" id="ugp_IpiContingency" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="ContingentLiabilitiesForTaxMattersAndSocialSecurity" id="ugp_ContingentLiabilitiesForTaxMattersAndSocialSecurity" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="PercentageOfPossibleLossContingency" id="ugp_PercentageOfPossibleLossContingency" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="PossibleContingency" id="ugp_PossibleContingency" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="ProvisionsForLaborLitigationFiledByFormerEmployees" id="ugp_ProvisionsForLaborLitigationFiledByFormerEmployees" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="ProvisionsForLawsuitsAndAdministrativeProceedings" id="ugp_ProvisionsForLawsuitsAndAdministrativeProceedings" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="EscrowDepositsMadeUnderPreLiminaryInjunction" id="ugp_EscrowDepositsMadeUnderPreLiminaryInjunction" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="ReceivablesInvestmentFundMember" id="ugp_ReceivablesInvestmentFundMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="FisheriesManagementProjectMember" id="ugp_FisheriesManagementProjectMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="SubsidiaryIPPMember" id="ugp_SubsidiaryIPPMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ChevronAndSubsidiaryIPPMember" id="ugp_ChevronAndSubsidiaryIPPMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="TwoFormerEmployeesEachMember" id="ugp_TwoFormerEmployeesEachMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ThreeEmployeesAndOneFormerEmployeeMember" id="ugp_ThreeEmployeesAndOneFormerEmployeeMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="CiaUltragazAndBahianaMember" id="ugp_CiaUltragazAndBahianaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="TaxMattersMember" id="ugp_TaxMattersMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="IncreaseThroughAcquisitionOfSubsidiaryOtherProvisions" id="ugp_IncreaseThroughAcquisitionOfSubsidiaryOtherProvisions" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="ProvisionForIndemnitiesMember" id="ugp_ProvisionForIndemnitiesMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="LaborLitigationMember" id="ugp_LaborLitigationMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="CivilEnvironmentalAndRegulatoryClaimsMember" id="ugp_CivilEnvironmentalAndRegulatoryClaimsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="IrpjAndCsllMember" id="ugp_IrpjAndCsllMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ActuarialAssumptionOfAverageDiscountRateOfMedicalServices" id="ugp_ActuarialAssumptionOfAverageDiscountRateOfMedicalServices" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="instant" />
  <xsd:element name="ActuarialAssumptionOfExpectedRatesOfBonusIncreases" id="ugp_ActuarialAssumptionOfExpectedRatesOfBonusIncreases" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="instant" />
  <xsd:element name="DecreaseInNetDefinedBenefitLiabilityResultingFromReclassificationToLiabilitiesHeldForSale" id="ugp_DecreaseInNetDefinedBenefitLiabilityResultingFromReclassificationToLiabilitiesHeldForSale" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="EmployeeBenefitsExchangeRateFromForeignSubsidiaries" id="ugp_EmployeeBenefitsExchangeRateFromForeignSubsidiaries" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="PostEmploymentBenefitExpenseInProfitOrLossFromDiscontinuedOperationsDefinedBenefitPlans" id="ugp_PostEmploymentBenefitExpenseInProfitOrLossFromDiscontinuedOperationsDefinedBenefitPlans" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="PostEmploymentBenefitExpenseInProfitOrLossFromContinuingOperationsDefinedBenefitPlans" id="ugp_PostEmploymentBenefitExpenseInProfitOrLossFromContinuingOperationsDefinedBenefitPlans" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="LifeInsuranceMember" id="ugp_LifeInsuranceMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="SeniorityBonusMember" id="ugp_SeniorityBonusMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="IndemnificationOfFGTSMember" id="ugp_IndemnificationOfFGTSMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="HealthAndDentalCareMember" id="ugp_HealthAndDentalCareMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DemographicAssumptionPercentageOfReasonablyPossibleDecreaseInMortalityTableForOtherBenefits" id="ugp_DemographicAssumptionPercentageOfReasonablyPossibleDecreaseInMortalityTableForOtherBenefits" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="ContributionsToPlanByEmployerPortionOfReversionFund" id="ugp_ContributionsToPlanByEmployerPortionOfReversionFund" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="DefinedContributionPensionPlanReversionFundReclassifiedToAssetsHeldForSale" id="ugp_DefinedContributionPensionPlanReversionFundReclassifiedToAssetsHeldForSale" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="NumberOfFormerEmployeesReceivingBenefits" id="ugp_NumberOfFormerEmployeesReceivingBenefits" type="xbrli:integerItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="NumberOfRetiredParticipatingEmployees" id="ugp_NumberOfRetiredParticipatingEmployees" type="xbrli:integerItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="NumberOfActiveParticipatingEmployees" id="ugp_NumberOfActiveParticipatingEmployees" type="xbrli:integerItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DefinedContributionPensionPlanReversionFund" id="ugp_DefinedContributionPensionPlanReversionFund" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="FixedAccumulatedFundPeriod" id="ugp_FixedAccumulatedFundPeriod" type="xbrli:durationItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="AccumulatedFundPercentage" id="ugp_AccumulatedFundPercentage" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="MaximumMatchingContributionInProportionToEmployeeGrossSalaryPercentage" id="ugp_MaximumMatchingContributionInProportionToEmployeeGrossSalaryPercentage" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfTaxesPayableLineItems" id="ugp_DisclosureOfTaxesPayableLineItems" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OtherTaxesPayableMember" id="ugp_OtherTaxesPayableMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ISSMunicipalVATMember" id="ugp_ISSMunicipalVATMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="TaxOnIndustrializedProductsFederalVATMember" id="ugp_TaxOnIndustrializedProductsFederalVATMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfTaxesPayableTable" id="ugp_DisclosureOfTaxesPayableTable" type="xbrli:stringItemType" substitutionGroup="xbrldt:hypercubeItem" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ShortTermEmployeeBenefitsAccrualsForOtherCharges" id="ugp_ShortTermEmployeeBenefitsAccrualsForOtherCharges" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="ShortTermEmployeeBenefitsAccrualsForSocialCharges" id="ugp_ShortTermEmployeeBenefitsAccrualsForSocialCharges" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="ShortTermEmployeeBenefitsAccrualsForProfitSharingBonusAndPremium" id="ugp_ShortTermEmployeeBenefitsAccrualsForProfitSharingBonusAndPremium" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="ShortTermEmployeeBenefitsAccrualsForProvisionsOnSalaries" id="ugp_ShortTermEmployeeBenefitsAccrualsForProvisionsOnSalaries" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="SummaryOfTradePayablesLineItems" id="ugp_SummaryOfTradePayablesLineItems" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="TradePayablesRreverseFactoringMember" id="ugp_TradePayablesRreverseFactoringMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ForeignSuppliersMember" id="ugp_ForeignSuppliersMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DomesticSuppliersMember" id="ugp_DomesticSuppliersMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="TradePayablesDomain" id="ugp_TradePayablesDomain" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="TradePayablesAxis" id="ugp_TradePayablesAxis" type="xbrli:stringItemType" substitutionGroup="xbrldt:dimensionItem" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfPayablesTable" id="ugp_DisclosureOfPayablesTable" type="xbrli:stringItemType" substitutionGroup="xbrldt:hypercubeItem" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ValueOfAssetsPercentage" id="ugp_ValueOfAssetsPercentage" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="BondsIssuePriceInPercentage" id="ugp_BondsIssuePriceInPercentage" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="MaximumAggregateTenderAmountAvailableForIncrease" id="ugp_MaximumAggregateTenderAmountAvailableForIncrease" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="MaximumAggregateTenderAmount" id="ugp_MaximumAggregateTenderAmount" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="RestrictedAssetsMember" id="ugp_RestrictedAssetsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="NotesDue2029Member" id="ugp_NotesDue2029Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="NotesDue2026Member" id="ugp_NotesDue2026Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DebtInstrumentsDomain" id="ugp_DebtInstrumentsDomain" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DebtInstrumentsAxis" id="ugp_DebtInstrumentsAxis" type="xbrli:stringItemType" substitutionGroup="xbrldt:dimensionItem" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="AgribusinessCreditRightsCertificateMember" id="ugp_AgribusinessCreditRightsCertificateMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="BankCreditNoteMember" id="ugp_BankCreditNoteMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ForeignLoanSevenMember" id="ugp_ForeignLoanSevenMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ForeignLoanSixMember" id="ugp_ForeignLoanSixMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ForeignLoanFiveMember" id="ugp_ForeignLoanFiveMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ForeignLoanFourMember" id="ugp_ForeignLoanFourMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ForeignLoanThreeMember" id="ugp_ForeignLoanThreeMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ForeignLoanTwoMember" id="ugp_ForeignLoanTwoMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ForeignLoanOneMember" id="ugp_ForeignLoanOneMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ChargesMember" id="ugp_ChargesMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ForeignLoanDomain" id="ugp_ForeignLoanDomain" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ForeignLoanAxis" id="ugp_ForeignLoanAxis" type="xbrli:stringItemType" substitutionGroup="xbrldt:dimensionItem" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="MaturityElevenMember" id="ugp_MaturityElevenMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="MaturityTenMember" id="ugp_MaturityTenMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="MaturityNineMember" id="ugp_MaturityNineMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="MaturityEightMember" id="ugp_MaturityEightMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="MaturitySevenMember" id="ugp_MaturitySevenMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="MaturitySixMember" id="ugp_MaturitySixMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="MaturityFiveMember" id="ugp_MaturityFiveMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="MaturityFourMember" id="ugp_MaturityFourMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="MaturityThreeMember" id="ugp_MaturityThreeMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="MaturityTwoMember" id="ugp_MaturityTwoMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="MaturityOneMember" id="ugp_MaturityOneMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="NumberOfDebenturesIssued" id="ugp_NumberOfDebenturesIssued" type="xbrli:integerItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="NumberOfDebenturesDistributedThroughPublicOffer" id="ugp_NumberOfDebenturesDistributedThroughPublicOffer" type="xbrli:decimalItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="NumberOfDebentureSeriesIssued" id="ugp_NumberOfDebentureSeriesIssued" type="xbrli:integerItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="instant" />
  <xsd:element name="MaximumPotentialAmountOfFuturePaymentsOnGuarantees" id="ugp_MaximumPotentialAmountOfFuturePaymentsOnGuarantees" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="CollateralAssetsLettersOfCreditOrGuarantees" id="ugp_CollateralAssetsLettersOfCreditOrGuarantees" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="GuaranteesDebtors" id="ugp_GuaranteesDebtors" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="DebentureReprice" id="ugp_DebentureReprice" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="FaceValuePerDebtInstrument" id="ugp_FaceValuePerDebtInstrument" type="dtr-types:perShareItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="instant" />
  <xsd:element name="DebenturePaymentOfFaceValueDescription" id="ugp_DebenturePaymentOfFaceValueDescription" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DebenturePaymentOfInterestDescription" id="ugp_DebenturePaymentOfInterestDescription" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="UltracargoSolucoesLogisticaSAMember" id="ugp_UltracargoSolucoesLogisticaSAMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DebenturesThirteenthIssueMember" id="ugp_DebenturesThirteenthIssueMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DebenturesTwelthIssueMember" id="ugp_DebenturesTwelthIssueMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DebenturesEleventhIssueMember" id="ugp_DebenturesEleventhIssueMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DebenturesTenthIssueMember" id="ugp_DebenturesTenthIssueMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DebenturesEighthIssueMember" id="ugp_DebenturesEighthIssueMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DebenturesSeventhIssueMember" id="ugp_DebenturesSeventhIssueMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DebenturesSixthIssueMember" id="ugp_DebenturesSixthIssueMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DebenturesFifthIssueMember" id="ugp_DebenturesFifthIssueMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DebenturesFourthIssueMember" id="ugp_DebenturesFourthIssueMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DebenturesSecondIssueMember" id="ugp_DebenturesSecondIssueMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DebenturesFirstIssueMember" id="ugp_DebenturesFirstIssueMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DebentureThirteenMember" id="ugp_DebentureThirteenMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DebentureTwelveMember" id="ugp_DebentureTwelveMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DebentureElevenMember" id="ugp_DebentureElevenMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DebentureTenMember" id="ugp_DebentureTenMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DebentureNineMember" id="ugp_DebentureNineMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DebentureEightMember" id="ugp_DebentureEightMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DebentureSevenMember" id="ugp_DebentureSevenMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DebentureSixMember" id="ugp_DebentureSixMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DebentureFiveMember" id="ugp_DebentureFiveMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DebentureFourMember" id="ugp_DebentureFourMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DebentureThreeMember" id="ugp_DebentureThreeMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DebentureTwoMember" id="ugp_DebentureTwoMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DebentureOneMember" id="ugp_DebentureOneMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DebentureDomain" id="ugp_DebentureDomain" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DebentureAxis" id="ugp_DebentureAxis" type="xbrli:stringItemType" substitutionGroup="xbrldt:dimensionItem" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="AmountAppropriatedToProfitOrLossInFuture" id="ugp_AmountAppropriatedToProfitOrLossInFuture" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="EffectiveRateOfTransactionCosts" id="ugp_EffectiveRateOfTransactionCosts" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="TransactionCostAmortization" id="ugp_TransactionCostAmortization" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="DecreaseThroughClassifiedAsHeldForSaleAccumulatedTransactionCosts" id="ugp_DecreaseThroughClassifiedAsHeldForSaleAccumulatedTransactionCosts" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="PaymentsForDebtTransactionCosts" id="ugp_PaymentsForDebtTransactionCosts" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="IncurredTransactionCost" id="ugp_IncurredTransactionCost" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="TransactionCostsFinancialInstruments" id="ugp_TransactionCostsFinancialInstruments" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="OtherTransactionCostsMember" id="ugp_OtherTransactionCostsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="UnsecuredNotesPayableNotConvertibleIntoSharesMember" id="ugp_UnsecuredNotesPayableNotConvertibleIntoSharesMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="BancoDoBrasilMember" id="ugp_BancoDoBrasilMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="NotesInForeignMarketMember" id="ugp_NotesInForeignMarketMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DebenturesMember" id="ugp_DebenturesMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DecreaseThroughClassifiedAsHeldForSaleLoansAndBorrowings" id="ugp_DecreaseThroughClassifiedAsHeldForSaleLoansAndBorrowings" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="IncreaseDecreaseThroughNetHedgeDifferencesLoansAndBorrowings" id="ugp_IncreaseDecreaseThroughNetHedgeDifferencesLoansAndBorrowings" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="LoansAndDeBenturesChangeInFairValue" id="ugp_LoansAndDeBenturesChangeInFairValue" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="LoansAndDebenturesMonetaryAndExchangeRateVariation" id="ugp_LoansAndDebenturesMonetaryAndExchangeRateVariation" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="IncreaseDecreaseThroughBalanceOfAcquiredCompany" id="ugp_IncreaseDecreaseThroughBalanceOfAcquiredCompany" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="LoandsAndDebenturesInterestAccrued" id="ugp_LoandsAndDebenturesInterestAccrued" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="AdditionsLoansAndDebenturesWithCashEffect" id="ugp_AdditionsLoansAndDebenturesWithCashEffect" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="BrazilianRealDenominatedLoans" id="ugp_BrazilianRealDenominatedLoans" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="ForeignCurrencyDenominatedLoans" id="ugp_ForeignCurrencyDenominatedLoans" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="LoanIndexCurrency" id="ugp_LoanIndexCurrency" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="LoanDescription" id="ugp_LoanDescription" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="Loan25Member" id="ugp_Loan25Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="Loan24Member" id="ugp_Loan24Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="Loan23Member" id="ugp_Loan23Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="Loan22Member" id="ugp_Loan22Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="Loan21Member" id="ugp_Loan21Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="Loan20Member" id="ugp_Loan20Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="Loan19Member" id="ugp_Loan19Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="Loan18Member" id="ugp_Loan18Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="Loan17Member" id="ugp_Loan17Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="Loan16Member" id="ugp_Loan16Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="Loan15Member" id="ugp_Loan15Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="Loan14Member" id="ugp_Loan14Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="Loan13Member" id="ugp_Loan13Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="Loan12Member" id="ugp_Loan12Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="Loan11Member" id="ugp_Loan11Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="Loan10Member" id="ugp_Loan10Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="Loan9Member" id="ugp_Loan9Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="Loan8Member" id="ugp_Loan8Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="Loan7Member" id="ugp_Loan7Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="Loan6Member" id="ugp_Loan6Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="Loan5Member" id="ugp_Loan5Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="Loan4Member" id="ugp_Loan4Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="Loan3Member" id="ugp_Loan3Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="Loan2Member" id="ugp_Loan2Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="Loan1Member" id="ugp_Loan1Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="RealGrowthRate" id="ugp_RealGrowthRate" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="PeriodToMaturity" id="ugp_PeriodToMaturity" type="xbrli:durationItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="PeriodOfEvaluation" id="ugp_PeriodOfEvaluation" type="xbrli:durationItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="AcquisitionsThroughBusinessCombinationsIntangibleAssetsAndGoodwillGross" id="ugp_AcquisitionsThroughBusinessCombinationsIntangibleAssetsAndGoodwillGross" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="GoodwillAcquisitionSegment" id="ugp_GoodwillAcquisitionSegment" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="StellaMember" id="ugp_StellaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="RepsolMember" id="ugp_RepsolMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DNPMember" id="ugp_DNPMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="TemmarMember" id="ugp_TemmarMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OxitenoUruguayMember" id="ugp_OxitenoUruguayMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="IconicCblsamemberMember" id="ugp_IconicCblsamemberMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="TexacoMember" id="ugp_TexacoMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="UniaoTerminaisMember" id="ugp_UniaoTerminaisMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="GeneralAndAdministrativeAmortisation" id="ugp_GeneralAndAdministrativeAmortisation" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="SellingAndMarketingAmortisation" id="ugp_SellingAndMarketingAmortisation" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="InventoriesAndCostOfProductsAndServicesSoldAmortisation" id="ugp_InventoriesAndCostOfProductsAndServicesSoldAmortisation" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="DecarbonizationCreditsMember" id="ugp_DecarbonizationCreditsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="TrademarkRightsMember" id="ugp_TrademarkRightsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DistributionRightsAssetMember" id="ugp_DistributionRightsAssetMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="CommercialPropertyRightsMember" id="ugp_CommercialPropertyRightsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="IncreasedecreaseDueToApplicationOfIfrs16Member" id="ugp_IncreasedecreaseDueToApplicationOfIfrs16Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="GeneralAndAdministrativeExpensesMember" id="ugp_GeneralAndAdministrativeExpensesMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="SellingAndMarketingExpensesMember" id="ugp_SellingAndMarketingExpensesMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="CostOfProductsAndServicesSoldMember" id="ugp_CostOfProductsAndServicesSoldMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="IncomeStatementLocationOneDomain" id="ugp_IncomeStatementLocationOneDomain" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="IncomeStatementLocationOneAxis" id="ugp_IncomeStatementLocationOneAxis" type="xbrli:stringItemType" substitutionGroup="xbrldt:dimensionItem" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="PropertyPlantAndEquipmentGroupOneMember" id="ugp_PropertyPlantAndEquipmentGroupOneMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ImportsInProgressMember" id="ugp_ImportsInProgressMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="AdvancesToSuppliersMember" id="ugp_AdvancesToSuppliersMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ITEquipmentMember" id="ugp_ITEquipmentMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="LPGTanksAndBottlesMember" id="ugp_LPGTanksAndBottlesMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="AutomotiveFuelLubricantDistributionEquipmentAndFacilitiesMember" id="ugp_AutomotiveFuelLubricantDistributionEquipmentAndFacilitiesMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="UndiscountedOperatingLeasePaymentsToBePaidForContractsOfLowAmountAssets" id="ugp_UndiscountedOperatingLeasePaymentsToBePaidForContractsOfLowAmountAssets" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="LaterThanFifteenYearsMember" id="ugp_LaterThanFifteenYearsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="NotLaterThanFiveYearsMember" id="ugp_NotLaterThanFiveYearsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="UndiscountedOperatingLeasePaymentsToBePaid" id="ugp_UndiscountedOperatingLeasePaymentsToBePaid" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="DecreaseThroughClassifiedAsHeldForSaleLeaseLiabilities" id="ugp_DecreaseThroughClassifiedAsHeldForSaleLeaseLiabilities" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="IncreaseDecreaseThroughAssignmentOfContractLeaseLiabilities" id="ugp_IncreaseDecreaseThroughAssignmentOfContractLeaseLiabilities" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="IncreaseDecreaseThroughNetExchangeDifferencesLeaseLiabilities" id="ugp_IncreaseDecreaseThroughNetExchangeDifferencesLeaseLiabilities" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="IncreaseDecreaseInBorrowingsThroughAcquisitionOfSubsidiary" id="ugp_IncreaseDecreaseInBorrowingsThroughAcquisitionOfSubsidiary" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="WriteOffsOfLeaseLiabilities" id="ugp_WriteOffsOfLeaseLiabilities" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="AdditionsAndRemeasurementOfLeaseLiability" id="ugp_AdditionsAndRemeasurementOfLeaseLiability" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="LoansAndDebenturesInterestPayment" id="ugp_LoansAndDebenturesInterestPayment" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="PrincipalPaymentAndFinancialLeases" id="ugp_PrincipalPaymentAndFinancialLeases" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfLeaseLiabilitiesLineItems" id="ugp_DisclosureOfLeaseLiabilitiesLineItems" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="IFRS16Member" id="ugp_IFRS16Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfLeaseLiabilitiesTable" id="ugp_DisclosureOfLeaseLiabilitiesTable" type="xbrli:stringItemType" substitutionGroup="xbrldt:hypercubeItem" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="IncreaseDecreaseThroughInitialDirectCostsRightOfUseAssets" id="ugp_IncreaseDecreaseThroughInitialDirectCostsRightOfUseAssets" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="DecreaseThroughClassifiedAsHeldForSaleRightOfUseAssets" id="ugp_DecreaseThroughClassifiedAsHeldForSaleRightOfUseAssets" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="IncreaseDecreaseInRightOfUseAssetThroughAcquisitionOfSubsidiaries" id="ugp_IncreaseDecreaseInRightOfUseAssetThroughAcquisitionOfSubsidiaries" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="AmortizationOfRightToUseAsset" id="ugp_AmortizationOfRightToUseAsset" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="IncreaseDecreaseThroughNetExchangeDifferencesRightOfUseAssets" id="ugp_IncreaseDecreaseThroughNetExchangeDifferencesRightOfUseAssets" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="IncreaseDecreaseThroughTransferOfRightOfUseAsset" id="ugp_IncreaseDecreaseThroughTransferOfRightOfUseAsset" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="WriteOffsOfRightOfUseAssets" id="ugp_WriteOffsOfRightOfUseAssets" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="RealEstatePropertyOneMember" id="ugp_RealEstatePropertyOneMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OtherAssetsIncludingVehiclesAndEquipmentMember" id="ugp_OtherAssetsIncludingVehiclesAndEquipmentMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="PortAreasMember" id="ugp_PortAreasMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="RealEstatePropertyMember" id="ugp_RealEstatePropertyMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DecreaseThroughDispositionOfInvestmentInJointVentures" id="ugp_DecreaseThroughDispositionOfInvestmentInJointVentures" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="SaleValueOfJointVenture" id="ugp_SaleValueOfJointVenture" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="RedecardSAMember" id="ugp_RedecardSAMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DecreaseThroughProposedDividendsInvestmentsAccountedForUsingEquityMethod" id="ugp_DecreaseThroughProposedDividendsInvestmentsAccountedForUsingEquityMethod" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="IncreaseDecreaseThroughOtherReservesInvestmentsAccountedForUsingEquityMethod" id="ugp_IncreaseDecreaseThroughOtherReservesInvestmentsAccountedForUsingEquityMethod" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="DecreaseThroughReclassificationToAssetsHeldForSaleInvestmentsAccountedForUsingEquityMethod" id="ugp_DecreaseThroughReclassificationToAssetsHeldForSaleInvestmentsAccountedForUsingEquityMethod" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="DecreaseThroughWriteOffInvestmentsAccountedForUsingEquityMethod" id="ugp_DecreaseThroughWriteOffInvestmentsAccountedForUsingEquityMethod" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="IncreaseDecreaseThroughMovementsInDiscontinuedOperations" id="ugp_IncreaseDecreaseThroughMovementsInDiscontinuedOperations" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="IncreaseDecreaseThroughAcquisition" id="ugp_IncreaseDecreaseThroughAcquisition" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="IncreaseDecreaseThroughRedemptionOfShares" id="ugp_IncreaseDecreaseThroughRedemptionOfShares" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="IncreaseDecreaseThroughChangesOfInvestmentsInterestFromShareholderTransactionInvestmentsAccountedForUsingEquityMethod" id="ugp_IncreaseDecreaseThroughChangesOfInvestmentsInterestFromShareholderTransactionInvestmentsAccountedForUsingEquityMethod" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="IncreaseDecreaseThroughMovements" id="ugp_IncreaseDecreaseThroughMovements" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="DecreaseThroughCapitalDistributionInvestmentsAccountedForUsingEquityMethod" id="ugp_DecreaseThroughCapitalDistributionInvestmentsAccountedForUsingEquityMethod" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="IncreaseThroughCapitalContributionInvestmentsAccountedForUsingEquityMethod" id="ugp_IncreaseThroughCapitalContributionInvestmentsAccountedForUsingEquityMethod" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="IncreaseDecreaseThroughActuarialGainLossOfPostEmploymentBenefitsOfSubsidiariesNetOfIncomeAndSocialContributionTaxesInvestmentsAccountedForUsingEquityMethod" id="ugp_IncreaseDecreaseThroughActuarialGainLossOfPostEmploymentBenefitsOfSubsidiariesNetOfIncomeAndSocialContributionTaxesInvestmentsAccountedForUsingEquityMethod" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="IncreaseDecreaseThroughValuationAdjustmentsInvestmentsAccountedForUsingEquityMethod" id="ugp_IncreaseDecreaseThroughValuationAdjustmentsInvestmentsAccountedForUsingEquityMethod" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="IncreaseDecreaseThroughAccumulatedOtherComprehensiveIncome" id="ugp_IncreaseDecreaseThroughAccumulatedOtherComprehensiveIncome" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="IncreaseDecreaseThroughEquityIntrumentGrantedToSubsidiariesJointVenturesAndAssociates" id="ugp_IncreaseDecreaseThroughEquityIntrumentGrantedToSubsidiariesJointVenturesAndAssociates" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="CiaUltragazMember" id="ugp_CiaUltragazMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="UltragazMember" id="ugp_UltragazMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="NumberOfSharesOrUnitsHeld" id="ugp_NumberOfSharesOrUnitsHeld" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="NetFinancialIncomeAndIncomeAndSocialContributionTaxes" id="ugp_NetFinancialIncomeAndIncomeAndSocialContributionTaxes" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="InvestmentsAccountedForUsingEquityMethodNetOfProvisionForEquityDeficit" id="ugp_InvestmentsAccountedForUsingEquityMethodNetOfProvisionForEquityDeficit" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="InvestmentsAccountedForUsingEquityMethodProvisionForEquityDeficit" id="ugp_InvestmentsAccountedForUsingEquityMethodProvisionForEquityDeficit" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="InvestmentsWithEquityDeficitAccountedForUsingEquityMethod" id="ugp_InvestmentsWithEquityDeficitAccountedForUsingEquityMethod" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="DisclosureOfInvestmentsAccountedForUsingEquityMethodLineItems" id="ugp_DisclosureOfInvestmentsAccountedForUsingEquityMethodLineItems" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="PlenogasDistribuidoraDeGasMember" id="ugp_PlenogasDistribuidoraDeGasMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="MetalurgicaPlusMember" id="ugp_MetalurgicaPlusMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="TransportadoraSulbrasileiraDeGasMember" id="ugp_TransportadoraSulbrasileiraDeGasMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ConnectCarMember" id="ugp_ConnectCarMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OtherInvestmentMember" id="ugp_OtherInvestmentMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="TerminalDeCombustiveisPauliniaSAOplaMember" id="ugp_TerminalDeCombustiveisPauliniaSAOplaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="NordesteLogsticaIIMember" id="ugp_NordesteLogsticaIIMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="NavegantesLogsticaMember" id="ugp_NavegantesLogsticaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="RPRMember" id="ugp_RPRMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="UniaoVopakMember" id="ugp_UniaoVopakMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="InvestmentsWithNegativeEquityMember" id="ugp_InvestmentsWithNegativeEquityMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="InvestmentsWithPositiveEquityMember" id="ugp_InvestmentsWithPositiveEquityMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="InvestmentsAccountedForUsingEquityMethodDomain" id="ugp_InvestmentsAccountedForUsingEquityMethodDomain" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="InvestmentsAccountedForUsingEquityMethodAxis" id="ugp_InvestmentsAccountedForUsingEquityMethodAxis" type="xbrli:stringItemType" substitutionGroup="xbrldt:dimensionItem" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfInvestmentsAccountedForUsingEquityMethodTable" id="ugp_DisclosureOfInvestmentsAccountedForUsingEquityMethodTable" type="xbrli:stringItemType" substitutionGroup="xbrldt:hypercubeItem" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DecreaseThroughTransferOfContractAssets" id="ugp_DecreaseThroughTransferOfContractAssets" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="OtherPrepaidExpenses" id="ugp_OtherPrepaidExpenses" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="PrepaidContributionOfPrivatePensionFundExpense" id="ugp_PrepaidContributionOfPrivatePensionFundExpense" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="PrepaidTaxOtherThanIncomeTaxExpense" id="ugp_PrepaidTaxOtherThanIncomeTaxExpense" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="PrepaidEmployeeBenefitsExpense" id="ugp_PrepaidEmployeeBenefitsExpense" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="PrepaidSoftwareMaintenanceExpense" id="ugp_PrepaidSoftwareMaintenanceExpense" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="PrepaidInsuranceExpense" id="ugp_PrepaidInsuranceExpense" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="PrepaidDeferredStockPlanExpense" id="ugp_PrepaidDeferredStockPlanExpense" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="PrepaidAdvertisingExpense" id="ugp_PrepaidAdvertisingExpense" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="PrepaidRentExpense" id="ugp_PrepaidRentExpense" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="IncomeAndSocialContributionTaxBenefitRelatedToMonetaryVariationSelicOnRepetitionOfTaxUnduePayments" id="ugp_IncomeAndSocialContributionTaxBenefitRelatedToMonetaryVariationSelicOnRepetitionOfTaxUnduePayments" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="IncomeTaxBenefitRelatedToAssetsHeldForSale" id="ugp_IncomeTaxBenefitRelatedToAssetsHeldForSale" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="DeferredIncomeAndSocialContributionTaxesMonetaryVariationFromSpecialSystemForSettlementAndCustodyOnRepetitionOfTaxUnduePayments" id="ugp_DeferredIncomeAndSocialContributionTaxesMonetaryVariationFromSpecialSystemForSettlementAndCustodyOnRepetitionOfTaxUnduePayments" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="DeferredIncomeAndSocialContributionTaxesMonetaryVariationFromSpecialSystemForSettlementAndCustodyOnRepetitionOfTaxUnduePaymentsReclassifiedToAssetsHeldForSale" id="ugp_DeferredIncomeAndSocialContributionTaxesMonetaryVariationFromSpecialSystemForSettlementAndCustodyOnRepetitionOfTaxUnduePaymentsReclassifiedToAssetsHeldForSale" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="ThresholdPercentageOfTaxableIncomeForIndefiniteExpirationOfTaxLossCarryforwards" id="ugp_ThresholdPercentageOfTaxableIncomeForIndefiniteExpirationOfTaxLossCarryforwards" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="PercentageOfOperatingRevenuesForCalculationOfAlternativeMethodOfTaxationForCompanies" id="ugp_PercentageOfOperatingRevenuesForCalculationOfAlternativeMethodOfTaxationForCompanies" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="ThresholdAmountOfGrossRevenueForCalculationOfAlternativeMethodOfTaxationForCompanies" id="ugp_ThresholdAmountOfGrossRevenueForCalculationOfAlternativeMethodOfTaxationForCompanies" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="OxitenoSAOleoquimicaAndEmcaMember" id="ugp_OxitenoSAOleoquimicaAndEmcaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ExtrafarmaOxitenoSAOleoquimicaAndEmcaMember" id="ugp_ExtrafarmaOxitenoSAOleoquimicaAndEmcaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OxitenoSaMember" id="ugp_OxitenoSaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="NonConstitutedDeferredTaxesRelatedToIncomeTaxLossCarryforwardsAndNegativeBasisOfSocialContributionBase" id="ugp_NonConstitutedDeferredTaxesRelatedToIncomeTaxLossCarryforwardsAndNegativeBasisOfSocialContributionBase" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="OnshoreMember" id="ugp_OnshoreMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OffshoreMember" id="ugp_OffshoreMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OtherSubsidiariesMember" id="ugp_OtherSubsidiariesMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="MillenniumMember" id="ugp_MillenniumMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="IntegraFrotasMember" id="ugp_IntegraFrotasMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="UltracargoMember" id="ugp_UltracargoMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="TequimarVilaDoCondeMember" id="ugp_TequimarVilaDoCondeMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="AbasteceAiMember" id="ugp_AbasteceAiMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="UltraparMember" id="ugp_UltraparMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="RenewalOfConcessionTermFiledWithSuperintendenceForDevelopmentOfNortheast" id="ugp_RenewalOfConcessionTermFiledWithSuperintendenceForDevelopmentOfNortheast" type="xbrli:durationItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="ExpirationYear" id="ugp_ExpirationYear" type="xbrli:gYearItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="IncentivePercentage" id="ugp_IncentivePercentage" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="BusinessUnit" id="ugp_BusinessUnit" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="SummaryOfIncomeAndSocialContributionTaxesLineItems" id="ugp_SummaryOfIncomeAndSocialContributionTaxesLineItems" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ItaquiTerminalMember" id="ugp_ItaquiTerminalMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="SuapeTerminalMember" id="ugp_SuapeTerminalMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="AratuTerminalMember" id="ugp_AratuTerminalMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="SuapeBaseMember" id="ugp_SuapeBaseMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="AracajuBaseMember" id="ugp_AracajuBaseMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="JuazeiroBaseMember" id="ugp_JuazeiroBaseMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="CaucaiaBaseMember" id="ugp_CaucaiaBaseMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="MataripeBaseMember" id="ugp_MataripeBaseMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfDeferredIncomeAndSocialContributionTaxesTable" id="ugp_DisclosureOfDeferredIncomeAndSocialContributionTaxesTable" type="xbrli:stringItemType" substitutionGroup="xbrldt:hypercubeItem" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="TaxEffectOfTaxIncentives" id="ugp_TaxEffectOfTaxIncentives" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="IncomeAndSocialContributionTaxesBeforeTaxIncentives" id="ugp_IncomeAndSocialContributionTaxesBeforeTaxIncentives" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="TaxEffectFromInterestOnCapital" id="ugp_TaxEffectFromInterestOnCapital" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="TaxEffectOfShareOfProfitLossOfSubsidiariesJointVenturesAndAssociates" id="ugp_TaxEffectOfShareOfProfitLossOfSubsidiariesJointVenturesAndAssociates" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="DeferredIncomeAndSocialContributioTaxesOffsetLiabilitiesBalance" id="ugp_DeferredIncomeAndSocialContributioTaxesOffsetLiabilitiesBalance" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="DeferredIncomeAndSocialContributionTaxAssets" id="ugp_DeferredIncomeAndSocialContributionTaxAssets" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="DeferredIncomeAndSocialContributionTaxesTaxLossesAndNegativeBasisForSocialContributionCarryforwards" id="ugp_DeferredIncomeAndSocialContributionTaxesTaxLossesAndNegativeBasisForSocialContributionCarryforwards" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="DeferredIncomeAndSocialContributionTaxesOtherProvisions" id="ugp_DeferredIncomeAndSocialContributionTaxesOtherProvisions" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="DeferredIncomeAndSocialContributionTaxesProvisionForDeferredRevenue" id="ugp_DeferredIncomeAndSocialContributionTaxesProvisionForDeferredRevenue" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="DeferredIncomeAndSocialContributionTaxesChangeInFairValueOfSubscriptionWarrants" id="ugp_DeferredIncomeAndSocialContributionTaxesChangeInFairValueOfSubscriptionWarrants" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="DeferredIncomeAndSocialContributionTaxesLeasesPayable" id="ugp_DeferredIncomeAndSocialContributionTaxesLeasesPayable" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="DeferredIncomeAndSocialContributionTaxesProvisionForProfitSharingAndBonus" id="ugp_DeferredIncomeAndSocialContributionTaxesProvisionForProfitSharingAndBonus" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="DeferredIncomeAndSocialContributionTaxesProvisionForSuppliers" id="ugp_DeferredIncomeAndSocialContributionTaxesProvisionForSuppliers" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="DeferredIncomeAndSocialContributionTaxesProvisionForAssetRetirementObligation" id="ugp_DeferredIncomeAndSocialContributionTaxesProvisionForAssetRetirementObligation" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="DeferredIncomeAndSocialContributionTaxesBusinessCombinationFiscalBasisAccountingBasisOfGoodwill" id="ugp_DeferredIncomeAndSocialContributionTaxesBusinessCombinationFiscalBasisAccountingBasisOfGoodwill" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="DeferredincomeAndSocialContributionTaxesGoodwill" id="ugp_DeferredincomeAndSocialContributionTaxesGoodwill" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="DeferredIncomeAndSocialContributionTaxesProvisionForDifferencesBetweenCashAndAccrualBasisAssets" id="ugp_DeferredIncomeAndSocialContributionTaxesProvisionForDifferencesBetweenCashAndAccrualBasisAssets" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="DeferredIncomeAndSocialContributionTaxesProvisionForPostEmploymentBenefits" id="ugp_DeferredIncomeAndSocialContributionTaxesProvisionForPostEmploymentBenefits" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="DeferredIncomeAndSocialContributionTaxesProvisionsFortaxCivilAndLaborRisks" id="ugp_DeferredIncomeAndSocialContributionTaxesProvisionsFortaxCivilAndLaborRisks" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="DeferredIncomeAndSocialContributionTaxesProvisionForImpairmentOfAssets" id="ugp_DeferredIncomeAndSocialContributionTaxesProvisionForImpairmentOfAssets" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="DeferredIncomeAndSocialContributionTaxAssetsAbstract" id="ugp_DeferredIncomeAndSocialContributionTaxAssetsAbstract" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="NumberOfOtherEquityInstrumentsReclassifiedFromHeldForSaleInShareBasedPaymentArrangement" id="ugp_NumberOfOtherEquityInstrumentsReclassifiedFromHeldForSaleInShareBasedPaymentArrangement" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="instant" />
  <xsd:element name="NumberOfInstrumentsOtherEquityInstrumentsCancellationOfPerformanceSharesDueToTerminationOfExecutiveEmploymen" id="ugp_NumberOfInstrumentsOtherEquityInstrumentsCancellationOfPerformanceSharesDueToTerminationOfExecutiveEmploymen" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="NumberOfInstrumentsOtherEquityInstrumentsPerformanceSharesDueToTerminationOfExecutiveEmployment" id="ugp_NumberOfInstrumentsOtherEquityInstrumentsPerformanceSharesDueToTerminationOfExecutiveEmployment" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="GrossSharesGrantDateApril12020Member" id="ugp_GrossSharesGrantDateApril12020Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="AccumulatedUnrecognizedGrantCostsRelatedParties" id="ugp_AccumulatedUnrecognizedGrantCostsRelatedParties" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="AccumulatedRecognizedGrantCostsRelatedParties" id="ugp_AccumulatedRecognizedGrantCostsRelatedParties" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="GrantCostsIncludingTaxes" id="ugp_GrantCostsIncludingTaxes" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="GrantDateSeptember202023Member" id="ugp_GrantDateSeptember202023Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="GrantDateApril202023TwoMember" id="ugp_GrantDateApril202023TwoMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="GrantDateApril202023OneMember" id="ugp_GrantDateApril202023OneMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="GrantDateDecember72022Member" id="ugp_GrantDateDecember72022Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="GrantDateSeptember212022Member" id="ugp_GrantDateSeptember212022Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="GrantDateApril62022Member" id="ugp_GrantDateApril62022Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="GrantDateSeptember222021Member" id="ugp_GrantDateSeptember222021Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="GrantDateApril72021Member" id="ugp_GrantDateApril72021Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="GrantDateSeptember162020Member" id="ugp_GrantDateSeptember162020Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="GrantDateApril12020Member" id="ugp_GrantDateApril12020Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="GrantDateSeptember22019Member" id="ugp_GrantDateSeptember22019Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="GrantDateApril32019Member" id="ugp_GrantDateApril32019Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="GrantDateSeptember242018Member" id="ugp_GrantDateSeptember242018Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="GrantDateSeptember192018Member" id="ugp_GrantDateSeptember192018Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="GrantDateApril42018Member" id="ugp_GrantDateApril42018Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="PerformanceStockAwardMember" id="ugp_PerformanceStockAwardMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="RestrictedStockAwardMember" id="ugp_RestrictedStockAwardMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="NumberOfOtherEquityInstrumentsReclassifiedToHeldForSaleInShareBasedPaymentArrangement" id="ugp_NumberOfOtherEquityInstrumentsReclassifiedToHeldForSaleInShareBasedPaymentArrangement" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="AccumulatedUnrecognizedExercisableGrantCosts" id="ugp_AccumulatedUnrecognizedExercisableGrantCosts" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="AccumulatedRecognizedExercisableGrantCosts" id="ugp_AccumulatedRecognizedExercisableGrantCosts" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="GrantDateMarch52014Member" id="ugp_GrantDateMarch52014Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="GrantDateDecember102014Member" id="ugp_GrantDateDecember102014Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="GrantDateMarch42016Member" id="ugp_GrantDateMarch42016Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ParticipationPercentageOfShareCapital" id="ugp_ParticipationPercentageOfShareCapital" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="PeriodOfTransfterOfOwnershipShares" id="ugp_PeriodOfTransfterOfOwnershipShares" type="xbrli:durationItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="PeriodOfAmortizationFromGrantDate" id="ugp_PeriodOfAmortizationFromGrantDate" type="xbrli:durationItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="ProvisionForExpectedLossesOnAccountsReceivableOrGuarantees" id="ugp_ProvisionForExpectedLossesOnAccountsReceivableOrGuarantees" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="AmortizationReversalOfAmortizationOfShareBasedPlansRecognizedAsGeneralAndAdministrativeExpense" id="ugp_AmortizationReversalOfAmortizationOfShareBasedPlansRecognizedAsGeneralAndAdministrativeExpense" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="RestrictedAndPerformanceStockMember" id="ugp_RestrictedAndPerformanceStockMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DeferredStockUnitPlanMember" id="ugp_DeferredStockUnitPlanMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="SharebasedPaymentPlanNameDomain" id="ugp_SharebasedPaymentPlanNameDomain" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="SharebasedPaymentPlanNameAxis" id="ugp_SharebasedPaymentPlanNameAxis" type="xbrli:stringItemType" substitutionGroup="xbrldt:dimensionItem" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="RevenueFromSaleOfGoodsAndRenderingOfServicesRelatedPartyTransactions" id="ugp_RevenueFromSaleOfGoodsAndRenderingOfServicesRelatedPartyTransactions" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="MLFHoldingLtdaMember" id="ugp_MLFHoldingLtdaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ChevronBrasilOleoeGasLtdaMember" id="ugp_ChevronBrasilOleoeGasLtdaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="NavegantesLogisticaPortuariaSAMember" id="ugp_NavegantesLogisticaPortuariaSAMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="RouteasyServicosDeAssessoriaLogisticaLtdaMember" id="ugp_RouteasyServicosDeAssessoriaLogisticaLtdaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ChevronBrasilOleosBasicosLtdaMember" id="ugp_ChevronBrasilOleosBasicosLtdaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ChevronLubricantsLankaPlcMember" id="ugp_ChevronLubricantsLankaPlcMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ChevronPetroleumCoColombiaMember" id="ugp_ChevronPetroleumCoColombiaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ChevronBelgiumNvMember" id="ugp_ChevronBelgiumNvMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ChevronProductsCompanyMember" id="ugp_ChevronProductsCompanyMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ChevronOroniteBrasilLtdaMember" id="ugp_ChevronOroniteBrasilLtdaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ChevronMarineProductsMember" id="ugp_ChevronMarineProductsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ChevronLubricantsOilsSAMember" id="ugp_ChevronLubricantsOilsSAMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ChevronLatinAmericaMarketingLlcMember" id="ugp_ChevronLatinAmericaMarketingLlcMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ChevronThailandLimitedMember" id="ugp_ChevronThailandLimitedMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="LA7ParticipaesEEmpreendImobLtdaMember" id="ugp_LA7ParticipaesEEmpreendImobLtdaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ConectCarSolucoesDeMobilidadeEletronicaMember" id="ugp_ConectCarSolucoesDeMobilidadeEletronicaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OxicapIndustriaDeGasesMember" id="ugp_OxicapIndustriaDeGasesMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="NordesteLogsticaIIIMember" id="ugp_NordesteLogsticaIIIMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="NordesteLogsticaIMember" id="ugp_NordesteLogsticaIMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="LatitudeLogsticaMember" id="ugp_LatitudeLogsticaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="UniaoVopakArmazensGeraisLtdaMember" id="ugp_UniaoVopakArmazensGeraisLtdaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="RefinariaDePetroleoRigrandenseSAMember" id="ugp_RefinariaDePetroleoRigrandenseSAMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="QuimicaDaBahiaIndustriaEcomercioMember" id="ugp_QuimicaDaBahiaIndustriaEcomercioMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ReceivablesFromTaxesOtherThanIncomeTaxMonetaryVariationAmountReceived" id="ugp_ReceivablesFromTaxesOtherThanIncomeTaxMonetaryVariationAmountReceived" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="ReceivablesFromTaxesOtherThanIncomeTaxPrincipalAmountReceived" id="ugp_ReceivablesFromTaxesOtherThanIncomeTaxPrincipalAmountReceived" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="TaxCreditsReceivedForReceivablesFromTaxesOtherThanIncomeTax" id="ugp_TaxCreditsReceivedForReceivablesFromTaxesOtherThanIncomeTax" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="ReceivablesFromTaxesOtherThanIncomeTaxProvisionForImpairmentLosses" id="ugp_ReceivablesFromTaxesOtherThanIncomeTaxProvisionForImpairmentLosses" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="ReceivablesFromTaxesOtherThanIncomeTaxReclassifiedToAssetsHeldForSaleNetOfProvisionForImpairmentLosses" id="ugp_ReceivablesFromTaxesOtherThanIncomeTaxReclassifiedToAssetsHeldForSaleNetOfProvisionForImpairmentLosses" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="ProfitLossOnProvisionForTaxCivilAndLaborRisks" id="ugp_ProfitLossOnProvisionForTaxCivilAndLaborRisks" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="RealizationOfTaxCreditPeriod" id="ugp_RealizationOfTaxCreditPeriod" type="xbrli:durationItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="IrpjAndCsll1Member" id="ugp_IrpjAndCsll1Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="IpirangaMember" id="ugp_IpirangaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="SubsidiariesGroupFiveMember" id="ugp_SubsidiariesGroupFiveMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="BrazilianFederalRevenueServiceMember" id="ugp_BrazilianFederalRevenueServiceMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="SubsidiariesGroupFourMember" id="ugp_SubsidiariesGroupFourMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="SubsidiariesGroupThreeMember" id="ugp_SubsidiariesGroupThreeMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="SubsidiariesGroupTwoMember" id="ugp_SubsidiariesGroupTwoMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="SubsidiariesGroupOneMember" id="ugp_SubsidiariesGroupOneMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfRecoverableIncomeTaxAndSocialContributionTaxesLineItems" id="ugp_DisclosureOfRecoverableIncomeTaxAndSocialContributionTaxesLineItems" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="IrpjandcsllMember" id="ugp_IrpjandcsllMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfRecoverableIncomeTaxAndSocialContributionTaxesTable" id="ugp_DisclosureOfRecoverableIncomeTaxAndSocialContributionTaxesTable" type="xbrli:stringItemType" substitutionGroup="xbrldt:hypercubeItem" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfEstimatedRecoveryOfVATOnSalesAndCertainServicesCreditsLineItems" id="ugp_DisclosureOfEstimatedRecoveryOfVATOnSalesAndCertainServicesCreditsLineItems" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfEstimatedRecoveryOfVATOnSalesAndCertainServicesCreditsTable" id="ugp_DisclosureOfEstimatedRecoveryOfVATOnSalesAndCertainServicesCreditsTable" type="xbrli:stringItemType" substitutionGroup="xbrldt:hypercubeItem" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="SummaryOfRecoverableTaxesLineItems" id="ugp_SummaryOfRecoverableTaxesLineItems" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OtherTaxesReceivableMember" id="ugp_OtherTaxesReceivableMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ValueAddedTaxIvaOfForeignSubsidiariesMember" id="ugp_ValueAddedTaxIvaOfForeignSubsidiariesMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="PisAndCofinsStateVATMember" id="ugp_PisAndCofinsStateVATMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ICMSStatevatMember" id="ugp_ICMSStatevatMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="SummaryOfRecoverableTaxesTable" id="ugp_SummaryOfRecoverableTaxesTable" type="xbrli:stringItemType" substitutionGroup="xbrldt:hypercubeItem" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ObsolescenceAndOtherLosses" id="ugp_ObsolescenceAndOtherLosses" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="NetRealizableValueAdjustment" id="ugp_NetRealizableValueAdjustment" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="ReversalsOfObsolescenceAndOtherLosses" id="ugp_ReversalsOfObsolescenceAndOtherLosses" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="DecreaseThroughReversalsToNetRealizableValueAdjustmentProvisionsForLossesInventories" id="ugp_DecreaseThroughReversalsToNetRealizableValueAdjustmentProvisionsForLossesInventories" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="AdditionsToObsolescenceAndOtherLosses" id="ugp_AdditionsToObsolescenceAndOtherLosses" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="AdditionsToNetRealizableValueAdjustment" id="ugp_AdditionsToNetRealizableValueAdjustment" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="ProvisionForLossesInventories" id="ugp_ProvisionForLossesInventories" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="SummaryOfInventoriesLineItems" id="ugp_SummaryOfInventoriesLineItems" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="PharmaceuticalHygieneBeautyProductsMember" id="ugp_PharmaceuticalHygieneBeautyProductsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="WorkInProcessMember" id="ugp_WorkInProcessMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="FinishedGoodsMember" id="ugp_FinishedGoodsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="PropertiesForResaleMember" id="ugp_PropertiesForResaleMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="PurchaseForFutureDeliveryMember" id="ugp_PurchaseForFutureDeliveryMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ConsumableMaterialsAndOtherItemsForResaleMember" id="ugp_ConsumableMaterialsAndOtherItemsForResaleMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="LiquifiedPetroleumGasMember" id="ugp_LiquifiedPetroleumGasMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="RawMaterialsMember" id="ugp_RawMaterialsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="FuelsLubricantsAndGreasesMember" id="ugp_FuelsLubricantsAndGreasesMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="InventoriesDomain" id="ugp_InventoriesDomain" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="InventoriesAxis" id="ugp_InventoriesAxis" type="xbrli:stringItemType" substitutionGroup="xbrldt:dimensionItem" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ClassesOfInventoriesTable" id="ugp_ClassesOfInventoriesTable" type="xbrli:stringItemType" substitutionGroup="xbrldt:hypercubeItem" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="AmountPerInstallmentsInDisposalGroupTransaction" id="ugp_AmountPerInstallmentsInDisposalGroupTransaction" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="NumberOfInstallmentsInDisposalGroupTransaction" id="ugp_NumberOfInstallmentsInDisposalGroupTransaction" type="xbrli:integerItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DiscountRate" id="ugp_DiscountRate" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="TotalSaleOfInvestments" id="ugp_TotalSaleOfInvestments" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="AdjustmentToPresentValueOfReceivablesFromSaleOfInvestments" id="ugp_AdjustmentToPresentValueOfReceivablesFromSaleOfInvestments" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="ReceivablesFromSaleOfInvestments" id="ugp_ReceivablesFromSaleOfInvestments" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="ResellerFinancing" id="ugp_ResellerFinancing" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="ResellerFinancingGross" id="ugp_ResellerFinancingGross" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="DecreaseThroughClassifiedAsHeldForSaleAllowanceAccountForCreditLossesOfFinancialAssets" id="ugp_DecreaseThroughClassifiedAsHeldForSaleAllowanceAccountForCreditLossesOfFinancialAssets" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="TradeReceivablesDueFromRelatedPartiesGross" id="ugp_TradeReceivablesDueFromRelatedPartiesGross" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="TradeReceivablesGross" id="ugp_TradeReceivablesGross" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="SummaryOfTradeReceivablesLineItems" id="ugp_SummaryOfTradeReceivablesLineItems" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ForeignCustomersMember" id="ugp_ForeignCustomersMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DomesticCustomersMember" id="ugp_DomesticCustomersMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="TradeReceivablesDomain" id="ugp_TradeReceivablesDomain" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="TradeReceivablesAxis" id="ugp_TradeReceivablesAxis" type="xbrli:stringItemType" substitutionGroup="xbrldt:dimensionItem" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="FinancialInvestmentsNoncurrent" id="ugp_FinancialInvestmentsNoncurrent" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="FinancialInvestmentsCurrent" id="ugp_FinancialInvestmentsCurrent" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="FinancialInvestments" id="ugp_FinancialInvestments" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="CurencyAndInterestRateHedgingInstruments" id="ugp_CurencyAndInterestRateHedgingInstruments" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="FinancialInvestmentsInForeignCurrency" id="ugp_FinancialInvestmentsInForeignCurrency" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="FinancialInvestmentsInLocalCurrency" id="ugp_FinancialInvestmentsInLocalCurrency" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="FinancialInvestmentsConsideredCashEquivalentsInForeignCurrency" id="ugp_FinancialInvestmentsConsideredCashEquivalentsInForeignCurrency" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="FinancialInvestmentsConsideredCashEquivalentsInLocalCurrency" id="ugp_FinancialInvestmentsConsideredCashEquivalentsInLocalCurrency" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="CashAndBankDepositsInForeignCurrency" id="ugp_CashAndBankDepositsInForeignCurrency" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="CashAndBankDepositsInLocalCurrency" id="ugp_CashAndBankDepositsInLocalCurrency" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="WeightedAveragePercentageOfFinancialLiabilitiesOfCustomers" id="ugp_WeightedAveragePercentageOfFinancialLiabilitiesOfCustomers" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="NumberOfMonthlyInstallmentsForFinancialLiabilitiesOfCustomers" id="ugp_NumberOfMonthlyInstallmentsForFinancialLiabilitiesOfCustomers" type="xbrli:integerItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DeferredIncomeAndSocialContributionTaxExpenseBenefitOnImpairmentLoss" id="ugp_DeferredIncomeAndSocialContributionTaxExpenseBenefitOnImpairmentLoss" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="ResellerFinancingRatePerMonth" id="ugp_ResellerFinancingRatePerMonth" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="TermsOfResellerFinancing" id="ugp_TermsOfResellerFinancing" type="xbrli:durationItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="BasisOfPresentationAndSummaryOfSignificantAccountingPoliciesLineItems" id="ugp_BasisOfPresentationAndSummaryOfSignificantAccountingPoliciesLineItems" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="LIBORMember" id="ugp_LIBORMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="CSLLMember" id="ugp_CSLLMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="IRPJMember" id="ugp_IRPJMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="TaxesDomain" id="ugp_TaxesDomain" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="TaxesAxis" id="ugp_TaxesAxis" type="xbrli:stringItemType" substitutionGroup="xbrldt:dimensionItem" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ForeignLoansMember" id="ugp_ForeignLoansMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="BasisOfPresentationAndSummaryOfSignificantAccountingPoliciesTable" id="ugp_BasisOfPresentationAndSummaryOfSignificantAccountingPoliciesTable" type="xbrli:stringItemType" substitutionGroup="xbrldt:hypercubeItem" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="PercentageOfVotingEquityInterestsToBeAcquired" id="ugp_PercentageOfVotingEquityInterestsToBeAcquired" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="instant" />
  <xsd:element name="DecreasePercentageOfInvestmentPlan" id="ugp_DecreasePercentageOfInvestmentPlan" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="BorrowingsMaturityPeriod" id="ugp_BorrowingsMaturityPeriod" type="xbrli:durationItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="UltraparEmpreendimentosLtdaMember" id="ugp_UltraparEmpreendimentosLtdaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="BondsMaturingIn2029Member" id="ugp_BondsMaturingIn2029Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="PromissoryNotesMember" id="ugp_PromissoryNotesMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DescriptionOfFinalPaymentDueDate" id="ugp_DescriptionOfFinalPaymentDueDate" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="FinalPaymentToBeReceivedInDisposalGroupTransaction" id="ugp_FinalPaymentToBeReceivedInDisposalGroupTransaction" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="NumberOfRemainingInstallments" id="ugp_NumberOfRemainingInstallments" type="xbrli:integerItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="instant" />
  <xsd:element name="InitialPaymentMadeInDisposalGroupTransaction" id="ugp_InitialPaymentMadeInDisposalGroupTransaction" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="ChangesInWorkingCapitalAndNetDebtPositionInDisposalGroupTransaction" id="ugp_ChangesInWorkingCapitalAndNetDebtPositionInDisposalGroupTransaction" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="AmountToBePaidAtClosingDateInDisposalGroupTransaction" id="ugp_AmountToBePaidAtClosingDateInDisposalGroupTransaction" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="AggregateSalePriceOfSubsidiary" id="ugp_AggregateSalePriceOfSubsidiary" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="PeriodOfEconomicActivityAffectedDueToCovid19PandemicInDomesticCountry" id="ugp_PeriodOfEconomicActivityAffectedDueToCovid19PandemicInDomesticCountry" type="xbrli:durationItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DecreasePercentageOfSales" id="ugp_DecreasePercentageOfSales" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="IncreasePercentageOfSalesVolume" id="ugp_IncreasePercentageOfSalesVolume" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DecreasePercentageOfGeneralAdministrativeAndSalesExpenses" id="ugp_DecreasePercentageOfGeneralAdministrativeAndSalesExpenses" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DecreasePercentageOfSalesVolume" id="ugp_DecreasePercentageOfSalesVolume" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="NumberOfPortTerminals" id="ugp_NumberOfPortTerminals" type="xbrli:integerItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="NumberOfBasicBaskets" id="ugp_NumberOfBasicBaskets" type="xbrli:integerItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="BrazilianRealPerUSDollarMember" id="ugp_BrazilianRealPerUSDollarMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ShareholdersMember" id="ugp_ShareholdersMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="EmpreendimentosPagueMenosSAMember" id="ugp_EmpreendimentosPagueMenosSAMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="IndoramaVenturesPlcMember" id="ugp_IndoramaVenturesPlcMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ExtrafarmaMember" id="ugp_ExtrafarmaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="IndirectControlInterestPercentage" id="ugp_IndirectControlInterestPercentage" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DirectControlInterestPercentage" id="ugp_DirectControlInterestPercentage" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="BusinessSegment" id="ugp_BusinessSegment" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="TequimarVilaDoCondeLogsticaPorturiaSaMember" id="ugp_TequimarVilaDoCondeLogsticaPorturiaSaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="TerminalQuimicoDeAratuSATequimarMember" id="ugp_TerminalQuimicoDeAratuSATequimarMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OxitenoAndinaCAMember" id="ugp_OxitenoAndinaCAMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OxitenoNordesteSAIndustriaeComercioMember" id="ugp_OxitenoNordesteSAIndustriaeComercioMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="UltracargoVilaDoCondeLogisticaPortuariaSAMember" id="ugp_UltracargoVilaDoCondeLogisticaPortuariaSAMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="StellaGdIntermediacaoDeGeracaoDistribuidaDeEnergiaLtdaMember" id="ugp_StellaGdIntermediacaoDeGeracaoDistribuidaDeEnergiaLtdaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="CentroDeConveninciasMillenniumLtdaMember" id="ugp_CentroDeConveninciasMillenniumLtdaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="UltragazComercialLtdaMember" id="ugp_UltragazComercialLtdaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="GlobalPetroleumProductsTradingCorporationMember" id="ugp_GlobalPetroleumProductsTradingCorporationMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="EmpresaCariocaDeProdutosQuimicosSAMember" id="ugp_EmpresaCariocaDeProdutosQuimicosSAMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OxitenoShanghaiLtdMember" id="ugp_OxitenoShanghaiLtdMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OxitenoColombiaSASMember" id="ugp_OxitenoColombiaSASMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OxitenoEuropeSprlMember" id="ugp_OxitenoEuropeSprlMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OxitenoUSALLCMember" id="ugp_OxitenoUSALLCMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OxitenoServiciosIndustrialsDeCVMember" id="ugp_OxitenoServiciosIndustrialsDeCVMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OxitenoServiciosCorporativosSADeCVMember" id="ugp_OxitenoServiciosCorporativosSADeCVMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OxitenoMexicoSADeCVMember" id="ugp_OxitenoMexicoSADeCVMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OxitenoUruguaySAMember" id="ugp_OxitenoUruguaySAMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OleoqumicaIndustriaeComrcioDeProdutosQumicosLtdaMember" id="ugp_OleoqumicaIndustriaeComrcioDeProdutosQumicosLtdaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OxitenoArgentinaSociedadDeResponsabilidadLtdaMember" id="ugp_OxitenoArgentinaSociedadDeResponsabilidadLtdaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OxitenoIndustriaComercioMember" id="ugp_OxitenoIndustriaComercioMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="SerraDieselMember" id="ugp_SerraDieselMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="UltraparMobilidadeLtdaMember" id="ugp_UltraparMobilidadeLtdaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="AbasteceAiClubeAutomobilistaInstituicaoDePagamentoLtdaMember" id="ugp_AbasteceAiClubeAutomobilistaInstituicaoDePagamentoLtdaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="AbasteceAiParticipacoesSAMember" id="ugp_AbasteceAiParticipacoesSAMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="EaiClubeAutomobilistaSAMember" id="ugp_EaiClubeAutomobilistaSAMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="UVCFundoDeInvestimentoEmParticipacoesMultiestrategiaInvestimenToNoExteriorMember" id="ugp_UVCFundoDeInvestimentoEmParticipacoesMultiestrategiaInvestimenToNoExteriorMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="SermaAssDosUsuariosEquipProcDeDadosMember" id="ugp_SermaAssDosUsuariosEquipProcDeDadosMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="UltraparInternationalSAMember" id="ugp_UltraparInternationalSAMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="UltracargoSolucoesLogisticasSAMember" id="ugp_UltracargoSolucoesLogisticasSAMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="TEASTerminalExportadorDeAlcoolDeSantosLtdaMember" id="ugp_TEASTerminalExportadorDeAlcoolDeSantosLtdaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="UltracargoLogisticaSAMember" id="ugp_UltracargoLogisticaSAMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="UltracargoOperacoesLogisticasParticipacoesLtdaMember" id="ugp_UltracargoOperacoesLogisticasParticipacoesLtdaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="CentrodeConvenienciasMillenniumLtdaAndSubsidiariesMember" id="ugp_CentrodeConvenienciasMillenniumLtdaAndSubsidiariesMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="UVCInvestimentosLtdaMember" id="ugp_UVCInvestimentosLtdaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="LPGInternationalIncMember" id="ugp_LPGInternationalIncMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="BahianaDistribuidoraDeGasLtdaMember" id="ugp_BahianaDistribuidoraDeGasLtdaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="UtingasArmazenadoraMember" id="ugp_UtingasArmazenadoraMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="NovaParanaDistribuidoraDeGasLtdaMember" id="ugp_NovaParanaDistribuidoraDeGasLtdaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="CompanhiaUltragazMember" id="ugp_CompanhiaUltragazMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="UltragazEnergiaLtdaMember" id="ugp_UltragazEnergiaLtdaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="UltragazParticipacoesLtdaMember" id="ugp_UltragazParticipacoesLtdaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ImifarmaProdutosFarmaceuticosCosmeticosMember" id="ugp_ImifarmaProdutosFarmaceuticosCosmeticosMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ImavenImoveisLtdaMember" id="ugp_ImavenImoveisLtdaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="IrupeBiocombustiveisLtdaMember" id="ugp_IrupeBiocombustiveisLtdaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="IntegraFrotasLtdaMember" id="ugp_IntegraFrotasLtdaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="IconicLubrificantesSAMember" id="ugp_IconicLubrificantesSAMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OilTradingImportadoraExportadoraLtdaMember" id="ugp_OilTradingImportadoraExportadoraLtdaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="IpirangaLogsticaLtdaMember" id="ugp_IpirangaLogsticaLtdaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="IpirangaImobiliriaLtdaMember" id="ugp_IpirangaImobiliriaLtdaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="TropicalTransportesIpirangaLtdaMember" id="ugp_TropicalTransportesIpirangaLtdaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="IpirangaTradingLimitedMember" id="ugp_IpirangaTradingLimitedMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="IcorbanCorrespondenteBancarioLtdaMember" id="ugp_IcorbanCorrespondenteBancarioLtdaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="AmPmComestveisLtdaMember" id="ugp_AmPmComestveisLtdaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="IpirangaProdutosdePetroleoSAMember" id="ugp_IpirangaProdutosdePetroleoSAMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfAssetsAndLiabilitiesOrDisposalGroupsClassifiedAsHeldForSaleExplanatory" id="ugp_DisclosureOfAssetsAndLiabilitiesOrDisposalGroupsClassifiedAsHeldForSaleExplanatory" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="ScheduleOfGainLossOnDisposalOfInvestmentsNetTableTextBlock" id="ugp_ScheduleOfGainLossOnDisposalOfInvestmentsNetTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="ScheduleOfAcquiredIntangibleAssetsThatWereNotRecognizedInBooksOfAcquiredEntityTableTextBlock" id="ugp_ScheduleOfAcquiredIntangibleAssetsThatWereNotRecognizedInBooksOfAcquiredEntityTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="SerraDieselGroupMember" id="ugp_SerraDieselGroupMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OplaGroupMember" id="ugp_OplaGroupMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="NeogasGroupMember" id="ugp_NeogasGroupMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="StellaGroupMember" id="ugp_StellaGroupMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="SummaryOfInsuranceCoverageInSubsidiariesTableTextBlock" id="ugp_SummaryOfInsuranceCoverageInSubsidiariesTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="MinimumAnnualPurchasesTextBlock" id="ugp_MinimumAnnualPurchasesTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="SummaryOfContractsTableTextBlock" id="ugp_SummaryOfContractsTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfVariationForDerivativeInstrumentsOfHedgingObjectExplanatoryTextBlock" id="ugp_DisclosureOfVariationForDerivativeInstrumentsOfHedgingObjectExplanatoryTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="ScheduleOfSensitivityAnalysisOfInterestRateHedgingInstrumentsTableTextBlock" id="ugp_ScheduleOfSensitivityAnalysisOfInterestRateHedgingInstrumentsTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="SummaryOfValueOfGainsLossesRecognizedTableTextBlock" id="ugp_SummaryOfValueOfGainsLossesRecognizedTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfAllowanceForDoubtfulAccountsOnTradeReceivablesByGeographicAreaExplanatoryTextBlock" id="ugp_DisclosureOfAllowanceForDoubtfulAccountsOnTradeReceivablesByGeographicAreaExplanatoryTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="SummaryOfAllowanceForDoubtfulAccountsOnTradeReceivablesTableTextBlock" id="ugp_SummaryOfAllowanceForDoubtfulAccountsOnTradeReceivablesTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="SummaryOfSensitivityAnalysisOfFloatingInterestRateRiskTableTextBlock" id="ugp_SummaryOfSensitivityAnalysisOfFloatingInterestRateRiskTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="SummaryOfSensitivityAnalysisOfAssetsAndLiabilitiesInForeignCurrencyTableTextBlock" id="ugp_SummaryOfSensitivityAnalysisOfAssetsAndLiabilitiesInForeignCurrencyTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="SummaryOfAssetsAndLiabilitiesInForeignCurrenciesTableTextBlock" id="ugp_SummaryOfAssetsAndLiabilitiesInForeignCurrenciesTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfFixedAndIntangibleAssetsAbroadExplanatory" id="ugp_DisclosureOfFixedAndIntangibleAssetsAbroadExplanatory" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfAssetReclassificationExplanatory" id="ugp_DisclosureOfAssetReclassificationExplanatory" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="ScheduleOfFinancialInformationOfSegmentsMainIndicatorsCashFlowsTableTextBlock" id="ugp_ScheduleOfFinancialInformationOfSegmentsMainIndicatorsCashFlowsTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfFinancialInformationOfSegmentsExplanatory" id="ugp_DisclosureOfFinancialInformationOfSegmentsExplanatory" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="SummaryOfFinancialIncomeExpenseTableTextBlock" id="ugp_SummaryOfFinancialIncomeExpenseTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="SummaryOfOtherOperatingIncomeTableTextBlock" id="ugp_SummaryOfOtherOperatingIncomeTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="SummaryOfExpensesByNatureTableTextBlock" id="ugp_SummaryOfExpensesByNatureTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="SummaryOfDividendsAndAllocationOfNetIncomeTableTextBlock" id="ugp_SummaryOfDividendsAndAllocationOfNetIncomeTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfBalancesAndChangesInConsolidatedDividendsPayableExplanatory" id="ugp_DisclosureOfBalancesAndChangesInConsolidatedDividendsPayableExplanatory" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfCumulativeTranslationAdjustmentsExplanatory" id="ugp_DisclosureOfCumulativeTranslationAdjustmentsExplanatory" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="SummaryOfDeferredRevenueInSubsidiariesTableTextBlock" id="ugp_SummaryOfDeferredRevenueInSubsidiariesTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="SummaryOfBalancesOfEscrowDepositsTableTextBlock" id="ugp_SummaryOfBalancesOfEscrowDepositsTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="SummaryOfChangesInAssetRetirementObligationTableTextBlock" id="ugp_SummaryOfChangesInAssetRetirementObligationTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="SummaryOfSignificantActuarialAssumptionsAdoptedTableTextBlock" id="ugp_SummaryOfSignificantActuarialAssumptionsAdoptedTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="SummaryOfEmploymentBenefitExpenseTableTextBlock" id="ugp_SummaryOfEmploymentBenefitExpenseTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="SummaryOfTaxesPayableTableTextBlock" id="ugp_SummaryOfTaxesPayableTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="SummaryOfSalariesAndRelatedChargesTableTextBlock" id="ugp_SummaryOfSalariesAndRelatedChargesTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="SummaryOfTradePayablesTableTextBlock" id="ugp_SummaryOfTradePayablesTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="ScheduleOfNotesPayableTableTextBlock" id="ugp_ScheduleOfNotesPayableTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="SummaryOfLoanAndDebentureMaturityTableTextBlock" id="ugp_SummaryOfLoanAndDebentureMaturityTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="SummaryOfLoanMaturityExplanatory" id="ugp_SummaryOfLoanMaturityExplanatory" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="SummaryOfForeignLoanMaturityTableTextBlock" id="ugp_SummaryOfForeignLoanMaturityTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="SummaryOfForeignLoansTableTextBlock" id="ugp_SummaryOfForeignLoansTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="SummaryOfLoanAndDebentureMaturityDistributionTableTextBlock" id="ugp_SummaryOfLoanAndDebentureMaturityDistributionTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="SummaryOfDebenturesTableTextBlock" id="ugp_SummaryOfDebenturesTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="SummaryOfAppropriatedProfitOrLossInFutureTableTextBlock" id="ugp_SummaryOfAppropriatedProfitOrLossInFutureTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="SummaryOfTransactionCostsTextBlock" id="ugp_SummaryOfTransactionCostsTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="SummaryOfPrincipalMaturityScheduleTableTextBlock" id="ugp_SummaryOfPrincipalMaturityScheduleTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="SummaryOfChangesInLoansDebenturesAndDerivativesTableTextBlock" id="ugp_SummaryOfChangesInLoansDebenturesAndDerivativesTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="SummaryOfChangesInLoansDebenturesAndFinanceLeasesTableTextBlock" id="ugp_SummaryOfChangesInLoansDebenturesAndFinanceLeasesTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="SummaryOfAmortizationExpensesTableTextBlock" id="ugp_SummaryOfAmortizationExpensesTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfLeasesContractOfLowAssetValueExplanatoryTableTextBlock" id="ugp_DisclosureOfLeasesContractOfLowAssetValueExplanatoryTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfMaturityAnalysisOfWeightedAverageDiscountRatesForLeasePayableTableTextBlock" id="ugp_DisclosureOfMaturityAnalysisOfWeightedAverageDiscountRatesForLeasePayableTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfAmortizationExpensesExplanatoryTableTextBlock" id="ugp_DisclosureOfAmortizationExpensesExplanatoryTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DescriptionOfTransferToProvisionForShortTermLiabilitiesRelatedToJointVenturesTableTextBlock" id="ugp_DescriptionOfTransferToProvisionForShortTermLiabilitiesRelatedToJointVenturesTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="ScheduleOfBalancesAndChangesInInvestmentsAccountedForUsingEquityMethodTableTextBlock" id="ugp_ScheduleOfBalancesAndChangesInInvestmentsAccountedForUsingEquityMethodTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="SummaryOfPrepaidExpensesTableTextBlock" id="ugp_SummaryOfPrepaidExpensesTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfForeignSubsidiariesHaveTaxLossCarryforwardsTableTextBlock" id="ugp_DisclosureOfForeignSubsidiariesHaveTaxLossCarryforwardsTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfDeferredIncomeAndSocialContributionTaxAssetsExplanatoryTextBlock" id="ugp_DisclosureOfDeferredIncomeAndSocialContributionTaxAssetsExplanatoryTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="SummaryOfTaxIncentivesTableTextBlock" id="ugp_SummaryOfTaxIncentivesTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="SummaryOfTaxReconciliationTableTextBlock" id="ugp_SummaryOfTaxReconciliationTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="SummaryOfDeferredTaxAssetRecoveryTableTextBlock" id="ugp_SummaryOfDeferredTaxAssetRecoveryTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="SummaryOfChangesInBalanceOfDeferredTaxesTableTextBlock" id="ugp_SummaryOfChangesInBalanceOfDeferredTaxesTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfSummarizedChangesOfNumberOfRestrictedAndPerformanceSharesGrantedExplanatory" id="ugp_DisclosureOfSummarizedChangesOfNumberOfRestrictedAndPerformanceSharesGrantedExplanatory" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="ScheduleOfRestrictedAndPerformanceStockProgramsTableTextBlock" id="ugp_ScheduleOfRestrictedAndPerformanceStockProgramsTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="ScheduleOfChangesInDeferredStockPlanTableTextBlock" id="ugp_ScheduleOfChangesInDeferredStockPlanTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="ScheduleOfDeferredStockPlanSharesGrantedByDateTableTextBlock" id="ugp_ScheduleOfDeferredStockPlanSharesGrantedByDateTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="SummaryOfCompensationForKeyExecutivesTableTextBlock" id="ugp_SummaryOfCompensationForKeyExecutivesTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfRecoverableIncomeTaxAndSocialContributionTaxesExplanatory" id="ugp_DisclosureOfRecoverableIncomeTaxAndSocialContributionTaxesExplanatory" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfEstimatedRecoveryOfProgramOfSocialIntegrationAndContributionForFinancingOfSocialSecurityTableTextBlock" id="ugp_DisclosureOfEstimatedRecoveryOfProgramOfSocialIntegrationAndContributionForFinancingOfSocialSecurityTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="ScheduleOfEstimatedRecoveryOfVATOnSalesAndCertainServicesCreditsTableTextBlock" id="ugp_ScheduleOfEstimatedRecoveryOfVATOnSalesAndCertainServicesCreditsTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="SummaryOfRecoverableTaxesTableTextBlock" id="ugp_SummaryOfRecoverableTaxesTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfInventoriesProvisionForLossesExplanatory" id="ugp_DisclosureOfInventoriesProvisionForLossesExplanatory" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfProvisionForLossesExplanatory" id="ugp_DisclosureOfProvisionForLossesExplanatory" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfInventoriesCompositionExplanatory" id="ugp_DisclosureOfInventoriesCompositionExplanatory" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfBreakdownOfExpectedLossesOnDoubtfulAccountsExplanatoryTextBlock" id="ugp_DisclosureOfBreakdownOfExpectedLossesOnDoubtfulAccountsExplanatoryTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfOtherReceivablesExplanatory" id="ugp_DisclosureOfOtherReceivablesExplanatory" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfBreakdownOfAllowanceForExpectedCreditLossesOnDoubtfulAccountsExplanatoryTextBlock" id="ugp_DisclosureOfBreakdownOfAllowanceForExpectedCreditLossesOnDoubtfulAccountsExplanatoryTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfBreakdownOfResellerFinancingGrossOfExpectedLossesOnDoubtfulAccountsExplanatoryTextBlock" id="ugp_DisclosureOfBreakdownOfResellerFinancingGrossOfExpectedLossesOnDoubtfulAccountsExplanatoryTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfResellerFinancingCompositionExplanatory" id="ugp_DisclosureOfResellerFinancingCompositionExplanatory" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DisclosureInBreakdownOfExpectedLossOnDoubtfulAccountsExplanatoryTextBlock" id="ugp_DisclosureInBreakdownOfExpectedLossOnDoubtfulAccountsExplanatoryTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfTradeReceivablesBreakdownExplanatory" id="ugp_DisclosureOfTradeReceivablesBreakdownExplanatory" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfTradeReceivablesCompositionExplanatory" id="ugp_DisclosureOfTradeReceivablesCompositionExplanatory" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="ResellerFinancingIpirangaMember" id="ugp_ResellerFinancingIpirangaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ScheduleOfFinancialInvestmentsAndHedgeDerivativeFinancialInstrumentsTableTextBlock" id="ugp_ScheduleOfFinancialInvestmentsAndHedgeDerivativeFinancialInstrumentsTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="SummaryOfForeignSubsidiariesTableTextBlock" id="ugp_SummaryOfForeignSubsidiariesTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DescriptionOfAccountingPolicyForFinancialLiabilitiesOfCustomersPolicyTextBlock" id="ugp_DescriptionOfAccountingPolicyForFinancialLiabilitiesOfCustomersPolicyTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DescriptionOfAccountingPolicyForUseOfEstimatesAssumptionsAndJudgmentsExplanatory" id="ugp_DescriptionOfAccountingPolicyForUseOfEstimatesAssumptionsAndJudgmentsExplanatory" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DescriptionOfAccountingPolicyForBasisForTranslationOfFinancialStatementsExplanatory" id="ugp_DescriptionOfAccountingPolicyForBasisForTranslationOfFinancialStatementsExplanatory" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DescriptionOfAccountingPolicyForOtherLiabilitiesExplanatory" id="ugp_DescriptionOfAccountingPolicyForOtherLiabilitiesExplanatory" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DescriptionOfAccountingPolicyForOtherProvisionsExplanatory" id="ugp_DescriptionOfAccountingPolicyForOtherProvisionsExplanatory" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DescriptionOfAccountingPolicyForOtherAssetsExplanatory" id="ugp_DescriptionOfAccountingPolicyForOtherAssetsExplanatory" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DescriptionOfAccountingPolicyForRecognitionOfTaxCreditsPolicyTextBlock" id="ugp_DescriptionOfAccountingPolicyForRecognitionOfTaxCreditsPolicyTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfFinanceIncomeExpenseAbstract" id="ugp_DisclosureOfFinanceIncomeExpenseAbstract" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfOtherOperatingIncomeExpenseAbstract" id="ugp_DisclosureOfOtherOperatingIncomeExpenseAbstract" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfGainLossOnDisposalOfPropertyPlantAndEquipmentAndIntangiblesAssetsAndImpairmentTextBlock" id="ugp_DisclosureOfGainLossOnDisposalOfPropertyPlantAndEquipmentAndIntangiblesAssetsAndImpairmentTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfGainLossOnDisposalOfPropertyPlantAndEquipmentAndIntangiblesAssetsAndImpairmentAbstract" id="ugp_DisclosureOfGainLossOnDisposalOfPropertyPlantAndEquipmentAndIntangiblesAssetsAndImpairmentAbstract" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfSubscriptionWarrantsExplanatory" id="ugp_DisclosureOfSubscriptionWarrantsExplanatory" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfSubscriptionWarrantsIndemnificationAbstract" id="ugp_DisclosureOfSubscriptionWarrantsIndemnificationAbstract" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfTaxPayablesAbstract" id="ugp_DisclosureOfTaxPayablesAbstract" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfSalariesAndRelatedChargesExplanatory" id="ugp_DisclosureOfSalariesAndRelatedChargesExplanatory" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfIncomeAndSocialContributionTaxesAbstract" id="ugp_DisclosureOfIncomeAndSocialContributionTaxesAbstract" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfTaxesToRecoverExplanatory" id="ugp_DisclosureOfTaxesToRecoverExplanatory" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfTaxesToRecoverAbstract" id="ugp_DisclosureOfTaxesToRecoverAbstract" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfCashAndCashEquivalentsAndFinancialInvestmentsAndHedgeDerivativeFinancialInstrumentsAndOtherFinancialAssetsTextBlock" id="ugp_DisclosureOfCashAndCashEquivalentsAndFinancialInvestmentsAndHedgeDerivativeFinancialInstrumentsAndOtherFinancialAssetsTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfCashAndCashEquivalentsAndFinancialInvestmentsAndHedgeDerivativeFinancialInstrumentsAndOtherFinancialAssetsAbstract" id="ugp_DisclosureOfCashAndCashEquivalentsAndFinancialInvestmentsAndHedgeDerivativeFinancialInstrumentsAndOtherFinancialAssetsAbstract" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfPrinciplesOfConsolidationAndInvestmentsInSubsidiariesTextBlock" id="ugp_DisclosureOfPrinciplesOfConsolidationAndInvestmentsInSubsidiariesTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfPrinciplesOfConsolidationAndInvestmentsInSubsidiariesAbstract" id="ugp_DisclosureOfPrinciplesOfConsolidationAndInvestmentsInSubsidiariesAbstract" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfNewAccountingPoliciesChangesInAccountingPoliciesExplanatory" id="ugp_DisclosureOfNewAccountingPoliciesChangesInAccountingPoliciesExplanatory" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="NewAccountingPoliciesChangesInAccountingPoliciesAbstract" id="ugp_NewAccountingPoliciesChangesInAccountingPoliciesAbstract" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfPresentationOfFinancialStatementsAndSummaryOfSignificantAccountingPoliciesTextBlock" id="ugp_DisclosureOfPresentationOfFinancialStatementsAndSummaryOfSignificantAccountingPoliciesTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfPresentationOfFinancialStatementsAndSummaryOfSignificantAccountingPoliciesAbstract" id="ugp_DisclosureOfPresentationOfFinancialStatementsAndSummaryOfSignificantAccountingPoliciesAbstract" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfOperationsExplanatory" id="ugp_DisclosureOfOperationsExplanatory" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfOperationsAbstract" id="ugp_DisclosureOfOperationsAbstract" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="AcquisitionOfPropertyPlantAndEquipmentAndIntangibleAssetsWithoutCashEffect" id="ugp_AcquisitionOfPropertyPlantAndEquipmentAndIntangibleAssetsWithoutCashEffect" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="IssuanceOfSharesRelatedToSubscriptionWarrantsIndemnificationForBusinessCombination" id="ugp_IssuanceOfSharesRelatedToSubscriptionWarrantsIndemnificationForBusinessCombination" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="NonCashTransferBetweenTradeReceivablesAndPropertyPlantAndEquipment" id="ugp_NonCashTransferBetweenTradeReceivablesAndPropertyPlantAndEquipment" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="AdjustmentsForNonCashReversionFundPrivatePension" id="ugp_AdjustmentsForNonCashReversionFundPrivatePension" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="NonCashContributionsOfNonControllingInterests" id="ugp_NonCashContributionsOfNonControllingInterests" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="AdjustmentsForNonCashAdditionOnContractualAssetsWithCustomersExclusiveRights" id="ugp_AdjustmentsForNonCashAdditionOnContractualAssetsWithCustomersExclusiveRights" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="AdditionOnRightToUseAssetsAndLeasesPayable" id="ugp_AdditionOnRightToUseAssetsAndLeasesPayable" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="NonCashTransactionsAbstract" id="ugp_NonCashTransactionsAbstract" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="IncreaseDecreaseInCashAndCashEquivalentsFromDiscontinuedOperations" id="ugp_IncreaseDecreaseInCashAndCashEquivalentsFromDiscontinuedOperations" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="IncreaseDecreaseInCashAndCashEquivalentsContinuingOperations" id="ugp_IncreaseDecreaseInCashAndCashEquivalentsContinuingOperations" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="EffectOfExchangeRateChangesOnCashAndCashEquivalentsDiscontinuedOperations" id="ugp_EffectOfExchangeRateChangesOnCashAndCashEquivalentsDiscontinuedOperations" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="EffectOfExchangeRateChangesOnCashAndCashEquivalentsContinuingOperations" id="ugp_EffectOfExchangeRateChangesOnCashAndCashEquivalentsContinuingOperations" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="PaymentsOfFinancialLiabilitiesOfCustomersClassifiedAsFinancingActivities" id="ugp_PaymentsOfFinancialLiabilitiesOfCustomersClassifiedAsFinancingActivities" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="ProceedsFromFinancialLiabilitiesOfCustomersClassifiedAsFinancingActivities" id="ugp_ProceedsFromFinancialLiabilitiesOfCustomersClassifiedAsFinancingActivities" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="InterestPaidForLeaseLiabilitiesClassifiedAsFinancingActivities" id="ugp_InterestPaidForLeaseLiabilitiesClassifiedAsFinancingActivities" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="PaymentsOfLeaseLiabilitiesClassifiedAsFinancingActivitiesAbstract" id="ugp_PaymentsOfLeaseLiabilitiesClassifiedAsFinancingActivitiesAbstract" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="InterestPaidForBorrowingsClassifiedAsFinancingActivities" id="ugp_InterestPaidForBorrowingsClassifiedAsFinancingActivities" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="BorrowingsClassifiedAsFinancingActivitiesAbstract" id="ugp_BorrowingsClassifiedAsFinancingActivitiesAbstract" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="ProceedsFromDisposalOfInvestmentsAndPropertyPlantAndEquipmentClassifiedAsInvestingActivities" id="ugp_ProceedsFromDisposalOfInvestmentsAndPropertyPlantAndEquipmentClassifiedAsInvestingActivities" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="CashReceiptsFromRepaymentOfLoansMadeToRelatedParties" id="ugp_CashReceiptsFromRepaymentOfLoansMadeToRelatedParties" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="FinancialInvestmentsNetOfRedemptions" id="ugp_FinancialInvestmentsNetOfRedemptions" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="AdjustmentsForIncreaseDecreaseInLiabilitiesFromIncomeAndSocialContributionTaxesPaid" id="ugp_AdjustmentsForIncreaseDecreaseInLiabilitiesFromIncomeAndSocialContributionTaxesPaid" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="AdjustmentsForIncreaseDecreaseInPaymentsOfContingencies" id="ugp_AdjustmentsForIncreaseDecreaseInPaymentsOfContingencies" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="AdjustmentsForIncreaseDecreaseInNonCurrentPaymentsOfContractualAssetsWithCustomersExclusiveRights" id="ugp_AdjustmentsForIncreaseDecreaseInNonCurrentPaymentsOfContractualAssetsWithCustomersExclusiveRights" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="AdjustmentsForIncreaseDecreaseInAcquisitionOfDecarbonizationCredits" id="ugp_AdjustmentsForIncreaseDecreaseInAcquisitionOfDecarbonizationCredits" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="AdjustmentsForIncreaseDecreaseInTaxesPayable" id="ugp_AdjustmentsForIncreaseDecreaseInTaxesPayable" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="AdjustmentsForIncreaseDecreaseInSalariesAndRelatedCharges" id="ugp_AdjustmentsForIncreaseDecreaseInSalariesAndRelatedCharges" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="IncreaseDecreaseInLiabilitiesAbstract" id="ugp_IncreaseDecreaseInLiabilitiesAbstract" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="AdjustmentsForDecreaseIncreaseInRecoverableTaxes" id="ugp_AdjustmentsForDecreaseIncreaseInRecoverableTaxes" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="IncreaseDecreaseInAssetsAbstract" id="ugp_IncreaseDecreaseInAssetsAbstract" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="AdjustmentsForOtherProvisionsAndAdjustments" id="ugp_AdjustmentsForOtherProvisionsAndAdjustments" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="AdjustmentsForProvisionOfDecarbonization" id="ugp_AdjustmentsForProvisionOfDecarbonization" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="AdjustmentsForInterestAndForeignExchangeRateVariations" id="ugp_AdjustmentsForInterestAndForeignExchangeRateVariations" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="AdjustmentsForAmortizationOfRightOfUseAssets" id="ugp_AdjustmentsForAmortizationOfRightOfUseAssets" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="InterimDividendsPerShare" id="ugp_InterimDividendsPerShare" type="dtr-types:perShareItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="ProposedDividendsPerShare" id="ugp_ProposedDividendsPerShare" type="dtr-types:perShareItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="InterestOnCapitalPaidPerShare" id="ugp_InterestOnCapitalPaidPerShare" type="dtr-types:perShareItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="AdditionalDividendsToMinimumMandatoryDividendsRecognisedPerShare" id="ugp_AdditionalDividendsToMinimumMandatoryDividendsRecognisedPerShare" type="dtr-types:perShareItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="AdditionalMinimumMandatoryDividendsRecognisedPerShare" id="ugp_AdditionalMinimumMandatoryDividendsRecognisedPerShare" type="dtr-types:perShareItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="InterimDividends" id="ugp_InterimDividends" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="InterestOnCapitalPaid" id="ugp_InterestOnCapitalPaid" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="AdditionalDividendsToMinimumMandatoryDividendsRecognised" id="ugp_AdditionalDividendsToMinimumMandatoryDividendsRecognised" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="AdditionalMinimumMandatoryDividendsRecognised" id="ugp_AdditionalMinimumMandatoryDividendsRecognised" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="IncreaseDecreaseThroughAllocationOfNetIncomeInvestmentsStatutoryReserve" id="ugp_IncreaseDecreaseThroughAllocationOfNetIncomeInvestmentsStatutoryReserve" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="AllocationOfNetIncomeAbstract" id="ugp_AllocationOfNetIncomeAbstract" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="IncreaseDecreaseThroughChangeInEquityAttributableToNonControllingInterests" id="ugp_IncreaseDecreaseThroughChangeInEquityAttributableToNonControllingInterests" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="IncreaseDecreaseThroughShareholderTransactionChangesOfInvestments" id="ugp_IncreaseDecreaseThroughShareholderTransactionChangesOfInvestments" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="SpecialReserveForMandatoryDividendNotDistributedToNoncontrollingShareholders" id="ugp_SpecialReserveForMandatoryDividendNotDistributedToNoncontrollingShareholders" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="UnclaimedDividendsForfeited" id="ugp_UnclaimedDividendsForfeited" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="IncreaseDecreaseThroughCapitalIncreaseWithReserves" id="ugp_IncreaseDecreaseThroughCapitalIncreaseWithReserves" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="IncreaseDecreaseThroughRealizationOfRevaluationReserveOfSubsidiariesEquity" id="ugp_IncreaseDecreaseThroughRealizationOfRevaluationReserveOfSubsidiariesEquity" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="IncreaseDecreaseThroughEquityInstrumentGranted" id="ugp_IncreaseDecreaseThroughEquityInstrumentGranted" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="IncreaseDecreaseThroughIssuanceOfSharesRelatedToSubscriptionWarrantsIndemnificationEquity" id="ugp_IncreaseDecreaseThroughIssuanceOfSharesRelatedToSubscriptionWarrantsIndemnificationEquity" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="AdjustmentsForCurrentTaxExpenseAndDeferredTaxExpense" id="ugp_AdjustmentsForCurrentTaxExpenseAndDeferredTaxExpense" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="IncreaseThroughProvisionOfAllowanceForCreditLossOnTradeReceivablesAndResellerFinancing" id="ugp_IncreaseThroughProvisionOfAllowanceForCreditLossOnTradeReceivablesAndResellerFinancing" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="OthersRegionsMember" id="ugp_OthersRegionsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OperationsContractedOneMember" id="ugp_OperationsContractedOneMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OperationsContractedTwoMember" id="ugp_OperationsContractedTwoMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OutstandingSharesPricePerShare" id="ugp_OutstandingSharesPricePerShare" type="dtr-types:perShareItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="instant" />
  <xsd:element name="IncreaseThroughCapitalContributionInSharesInvestmentsAccountedForUsingEquityMethod" id="ugp_IncreaseThroughCapitalContributionInSharesInvestmentsAccountedForUsingEquityMethod" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="IncreaseDecreaseThroughTaxIncentiveReserveInvestmentsAccountedForUsingEquityMethod" id="ugp_IncreaseDecreaseThroughTaxIncentiveReserveInvestmentsAccountedForUsingEquityMethod" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="AdvancesForFutureCapitalIncreaseMember" id="ugp_AdvancesForFutureCapitalIncreaseMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="AdvancesMember" id="ugp_AdvancesMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="FinancialLiabilitiesMeasuredAtFairValueAdditions" id="ugp_FinancialLiabilitiesMeasuredAtFairValueAdditions" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="FinancialDerivativeHedgingInstrumentsAtFairValue" id="ugp_FinancialDerivativeHedgingInstrumentsAtFairValue" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="instant" />
  <xsd:element name="TradeReceivablesAndResellerFinancingAllowanceForCreditLoss" id="ugp_TradeReceivablesAndResellerFinancingAllowanceForCreditLoss" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="NumberOfServiceStations" id="ugp_NumberOfServiceStations" type="xbrli:integerItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="BusinessCombinationPaymentsForPurchasePriceAdjustments" id="ugp_BusinessCombinationPaymentsForPurchasePriceAdjustments" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="IpirangaTradingEuropeSAMember" id="ugp_IpirangaTradingEuropeSAMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="IpirangaTradingMiddleEastDmccMember" id="ugp_IpirangaTradingMiddleEastDmccMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="IpirangaTradingNorthAmericaLlcMember" id="ugp_IpirangaTradingNorthAmericaLlcMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="GlazedBrasilSAMember" id="ugp_GlazedBrasilSAMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="NeodieselLtdaMember" id="ugp_NeodieselLtdaMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="PercentageOfReasonablyPossibleIncreaseDecreaseInUnobservableInputLiabilities" id="ugp_PercentageOfReasonablyPossibleIncreaseDecreaseInUnobservableInputLiabilities" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="instant" />
  <xsd:element name="InterestRateSwapContractTwoMember" id="ugp_InterestRateSwapContractTwoMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="NortheastRegionConstitutionalFundMember" id="ugp_NortheastRegionConstitutionalFundMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="FinancialLiabilitiesAndLeasesPayableUndiscountedCashFlows" id="ugp_FinancialLiabilitiesAndLeasesPayableUndiscountedCashFlows" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="FinancialLiabilitiesMeasuredAtFairValueMonetaryVariation" id="ugp_FinancialLiabilitiesMeasuredAtFairValueMonetaryVariation" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="FinancialLiabilitiesMeasuredAtFairValueSettlement" id="ugp_FinancialLiabilitiesMeasuredAtFairValueSettlement" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="FinancialLiabilitiesMeasuredAtFairValueUpdateOfEarnoutAssumptions" id="ugp_FinancialLiabilitiesMeasuredAtFairValueUpdateOfEarnoutAssumptions" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="EnergyTradingFuturesContractsLiabilitiesMember" id="ugp_EnergyTradingFuturesContractsLiabilitiesMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OtherReceivablesAndOtherAssetsMember" id="ugp_OtherReceivablesAndOtherAssetsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="EnergyTradingFuturesContractsAssetsMember" id="ugp_EnergyTradingFuturesContractsAssetsMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="FinancialInvestmentsSecuritiesAndFundsInForeignCurrencyMember" id="ugp_FinancialInvestmentsSecuritiesAndFundsInForeignCurrencyMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfChangesInFinancialLiabilitiesMeasuredAtLevel3OfFairValueHierarchyTableTextBlock" id="ugp_DisclosureOfChangesInFinancialLiabilitiesMeasuredAtLevel3OfFairValueHierarchyTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfJointVenturesAndAssociatesTable" id="ugp_DisclosureOfJointVenturesAndAssociatesTable" type="xbrli:stringItemType" substitutionGroup="xbrldt:hypercubeItem" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DecreaseThroughProvisionForTaxMattersReversedEscrowDeposits" id="ugp_DecreaseThroughProvisionForTaxMattersReversedEscrowDeposits" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="UnusedProvisionReversalsOfUpdatesOtherProvisions" id="ugp_UnusedProvisionReversalsOfUpdatesOtherProvisions" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="LaborContingentLiabilityMember" id="ugp_LaborContingentLiabilityMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="CivilContingentLiabilityMember" id="ugp_CivilContingentLiabilityMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="FairValueOfInvesteesAssetsAndLiabilitiesRecognisedAsOfAcquisitionDate" id="ugp_FairValueOfInvesteesAssetsAndLiabilitiesRecognisedAsOfAcquisitionDate" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="FairValueOfAssetsAndLiabilitiesAccordingToSubsidiariesInterestRecognisedAsOfAcquisitionDate" id="ugp_FairValueOfAssetsAndLiabilitiesAccordingToSubsidiariesInterestRecognisedAsOfAcquisitionDate" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="DerivativeInstrumentsRecognisedAsOfAcquisitionDate" id="ugp_DerivativeInstrumentsRecognisedAsOfAcquisitionDate" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="OtherReceivablesAndOtherAssetsRecognisedAsOfAcquisitionDate" id="ugp_OtherReceivablesAndOtherAssetsRecognisedAsOfAcquisitionDate" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="PrepaidExpensesRecognisedAsOfAcquisitionDate" id="ugp_PrepaidExpensesRecognisedAsOfAcquisitionDate" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="SubsequentAcquisitionsOfAdditionalInterests" id="ugp_SubsequentAcquisitionsOfAdditionalInterests" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
  <xsd:element name="ScheduleOfTransactionAmountsForAcquiringInterestTableTextBlock" id="ugp_ScheduleOfTransactionAmountsForAcquiringInterestTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="NetCashConsumedInPurchaseOfinvestmentsSaleTransactionAndOtherAssets" id="ugp_NetCashConsumedInPurchaseOfinvestmentsSaleTransactionAndOtherAssets" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="duration" />
  <xsd:element name="DisclosureOfJointVenturesAndAssociatesLineItems" id="ugp_DisclosureOfJointVenturesAndAssociatesLineItems" type="xbrli:stringItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DecreaseThroughReversalOfAllowanceForCreditLossOnTradeReceivablesAndResellerFinancing" id="ugp_DecreaseThroughReversalOfAllowanceForCreditLossOnTradeReceivablesAndResellerFinancing" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="DecreaseThroughWriteOffsOfAllowanceForCreditLossOnTradeReceivablesAndResellerFinancing" id="ugp_DecreaseThroughWriteOffsOfAllowanceForCreditLossOnTradeReceivablesAndResellerFinancing" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="duration" />
  <xsd:element name="ResellerFinancingAveragePaymentTerm" id="ugp_ResellerFinancingAveragePaymentTerm" type="xbrli:durationItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="OperationsContractedSeventeenMember" id="ugp_OperationsContractedSeventeenMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OperationsContractedSixteenMember" id="ugp_OperationsContractedSixteenMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OperationsContractedFifteenMember" id="ugp_OperationsContractedFifteenMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OperationsContractedFourteenMember" id="ugp_OperationsContractedFourteenMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OperationsContractedThirteenMember" id="ugp_OperationsContractedThirteenMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OperationsContractedTwelveMember" id="ugp_OperationsContractedTwelveMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OperationsContractedElevenMember" id="ugp_OperationsContractedElevenMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OperationsContractedTenMember" id="ugp_OperationsContractedTenMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OperationsContractedNineMember" id="ugp_OperationsContractedNineMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OperationsContractedEightMember" id="ugp_OperationsContractedEightMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OperationsContractedSevenMember" id="ugp_OperationsContractedSevenMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OperationsContractedSixMember" id="ugp_OperationsContractedSixMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OperationsContractedFiveMember" id="ugp_OperationsContractedFiveMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OperationsContractedFourMember" id="ugp_OperationsContractedFourMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OperationsContractedThreeMember" id="ugp_OperationsContractedThreeMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OperationsContractedDomain" id="ugp_OperationsContractedDomain" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="OperationsContractedAxis" id="ugp_OperationsContractedAxis" type="xbrli:stringItemType" substitutionGroup="xbrldt:dimensionItem" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="CollateralFinancingRealGuarantees" id="ugp_CollateralFinancingRealGuarantees" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="credit" xbrli:periodType="instant" />
  <xsd:element name="DebenturesThirdIssueMember" id="ugp_DebenturesThirdIssueMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DebentureFifteenMember" id="ugp_DebentureFifteenMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DebentureFourteenMember" id="ugp_DebentureFourteenMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="SummaryOfOperationsContractedLoansTableTextBlock" id="ugp_SummaryOfOperationsContractedLoansTableTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="WtzParticipacoesSAMember" id="ugp_WtzParticipacoesSAMember" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" nillable="true" abstract="true" xbrli:periodType="duration" />
  <xsd:element name="DividendPayableDate" id="ugp_DividendPayableDate" type="xbrli:dateItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="duration" />
  <xsd:element name="ActuarialAssumptionOfDiscountRatesForLifeInsurance" id="ugp_ActuarialAssumptionOfDiscountRatesForLifeInsurance" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="instant" />
  <xsd:element name="ActuarialAssumptionOfDiscountRatesForBonus" id="ugp_ActuarialAssumptionOfDiscountRatesForBonus" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="instant" />
  <xsd:element name="ActuarialAssumptionOfDiscountRatesForIndemnificationOfSeverance" id="ugp_ActuarialAssumptionOfDiscountRatesForIndemnificationOfSeverance" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:periodType="instant" />
  <xsd:element name="OtherCurrentAndNoncurrentAssets" id="ugp_OtherCurrentAndNoncurrentAssets" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" nillable="true" abstract="false" xbrli:balance="debit" xbrli:periodType="instant" />
</xsd:schema>
