<?xml version="1.0" encoding="utf-8"?>
<FilingSummary xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Version>2.4.0.8</Version>
  <ProcessingTime />
  <ReportFormat>Html</ReportFormat>
  <ContextCount>108</ContextCount>
  <ElementCount>142</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>42</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>5</UnitCount>
  <MyReports>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>101 - Document - Document And Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitedstatesgasolinefund.com/role/DocumentAndEntityInformation</Role>
      <ShortName>Document And Entity Information</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>102 - Statement - Statements of Financial Condition</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitedstatesgasolinefund.com/role/StatementsOfFinancialCondition</Role>
      <ShortName>Statements of Financial Condition</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>103 - Statement - Schedule of Investments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitedstatesgasolinefund.com/role/ScheduleOfInvestments</Role>
      <ShortName>Schedule of Investments</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>104 - Statement - Schedule of Investments (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitedstatesgasolinefund.com/role/ScheduleOfInvestmentsParenthetical</Role>
      <ShortName>Schedule of Investments (Parenthetical)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>105 - Statement - Statements of Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitedstatesgasolinefund.com/role/StatementsOfOperations</Role>
      <ShortName>Statements of Operations</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>106 - Statement - Statements of Changes in Partners' Capital</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitedstatesgasolinefund.com/role/StatementsOfChangesInPartnersCapital</Role>
      <ShortName>Statements of Changes in Partners' Capital</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>107 - Statement - Statements of Changes in Partners' Capital (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitedstatesgasolinefund.com/role/StatementsOfChangesInPartnersCapitalParenthetical</Role>
      <ShortName>Statements of Changes in Partners' Capital (Parenthetical)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>108 - Statement - Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitedstatesgasolinefund.com/role/StatementsOfCashFlows</Role>
      <ShortName>Statements of Cash Flows</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>109 - Disclosure - Organization and Business</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitedstatesgasolinefund.com/role/OrganizationAndBusiness</Role>
      <ShortName>Organization and Business</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>110 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitedstatesgasolinefund.com/role/SummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>111 - Disclosure - Fees Paid By The Fund And Related Party Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitedstatesgasolinefund.com/role/FeesPaidByFundAndRelatedPartyTransactions</Role>
      <ShortName>Fees Paid By The Fund And Related Party Transactions</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>112 - Disclosure - Contracts and Agreements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitedstatesgasolinefund.com/role/ContractsAndAgreements</Role>
      <ShortName>Contracts and Agreements</ShortName>
    </Report>
    <Report>
      <IsDefault>true</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>113 - Disclosure - Financial Instruments, Off-Balance Sheet Risks and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitedstatesgasolinefund.com/role/FinancialInstrumentsOffbalanceSheetRisksAndContingencies</Role>
      <ShortName>Financial Instruments, Off-Balance Sheet Risks and Contingencies</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>114 - Disclosure - Financial Highlights</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitedstatesgasolinefund.com/role/FinancialHighlights</Role>
      <ShortName>Financial Highlights</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>115 - Disclosure - Quarterly Financial Data (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitedstatesgasolinefund.com/role/QuarterlyFinancialDataUnaudited</Role>
      <ShortName>Quarterly Financial Data (Unaudited)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>116 - Disclosure - Fair Value of Financial Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitedstatesgasolinefund.com/role/FairValueOfFinancialInstruments</Role>
      <ShortName>Fair Value of Financial Instruments</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>117 - Disclosure - Recent Accounting Pronouncements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitedstatesgasolinefund.com/role/RecentAccountingPronouncements</Role>
      <ShortName>Recent Accounting Pronouncements</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>118 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitedstatesgasolinefund.com/role/SubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>119 - Disclosure - Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitedstatesgasolinefund.com/role/SummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies (Policies)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>120 - Disclosure - Financial Highlights (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitedstatesgasolinefund.com/role/FinancialHighlightsTables</Role>
      <ShortName>Financial Highlights (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>121 - Disclosure - Quarterly Financial Data (Unaudited) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitedstatesgasolinefund.com/role/QuarterlyFinancialDataUnauditedTables</Role>
      <ShortName>Quarterly Financial Data (Unaudited) (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>122 - Disclosure - Fair Value of Financial Instruments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitedstatesgasolinefund.com/role/FairValueOfFinancialInstrumentsTables</Role>
      <ShortName>Fair Value of Financial Instruments (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>123 - Disclosure - Organization and Business - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitedstatesgasolinefund.com/role/OrganizationAndBusinessAdditionalInformationDetail</Role>
      <ShortName>Organization and Business - Additional Information (Detail)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>124 - Disclosure - Summary of Significant Accounting Policies - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitedstatesgasolinefund.com/role/SummaryOfSignificantAccountingPoliciesAdditionalInformationDetail</Role>
      <ShortName>Summary of Significant Accounting Policies - Additional Information (Detail)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>125 - Disclosure - Fees Paid by Fund and Related Party Transactions - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitedstatesgasolinefund.com/role/FeesPaidByFundAndRelatedPartyTransactionsAdditionalInformationDetail</Role>
      <ShortName>Fees Paid by Fund and Related Party Transactions - Additional Information (Detail)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>126 - Disclosure - Contracts and Agreements - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitedstatesgasolinefund.com/role/ContractsAndAgreementsAdditionalInformationDetail</Role>
      <ShortName>Contracts and Agreements - Additional Information (Detail)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>127 - Disclosure - Financial Instruments, Off-Balance Sheet Risks and Contingencies - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitedstatesgasolinefund.com/role/FinancialInstrumentsOffbalanceSheetRisksAndContingenciesAdditionalInformationDetail</Role>
      <ShortName>Financial Instruments, Off-Balance Sheet Risks and Contingencies - Additional Information (Detail)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>128 - Disclosure - Financial Highlights (Per Share Performance Data and Other Supplemental Financial Data) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitedstatesgasolinefund.com/role/FinancialHighlightsPerSharePerformanceDataAndOtherSupplementalFinancialDataDetail</Role>
      <ShortName>Financial Highlights (Per Share Performance Data and Other Supplemental Financial Data) (Detail)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>129 - Disclosure - Quarterly Financial Data (Summarized (Unaudited) Quarterly Financial Information) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitedstatesgasolinefund.com/role/QuarterlyFinancialDataSummarizedUnauditedQuarterlyFinancialInformationDetail</Role>
      <ShortName>Quarterly Financial Data (Summarized (Unaudited) Quarterly Financial Information) (Detail)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>130 - Disclosure - Fair Value of Financial Instruments (Valuation of Securities Using Fair Value Hierarchy) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitedstatesgasolinefund.com/role/FairValueOfFinancialInstrumentsValuationOfSecuritiesUsingFairValueHierarchyDetail</Role>
      <ShortName>Fair Value of Financial Instruments (Valuation of Securities Using Fair Value Hierarchy) (Detail)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>131 - Disclosure - Fair Value of Financial Instrument (Fair Value of Derivative Instruments) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitedstatesgasolinefund.com/role/FairValueOfFinancialInstrumentFairValueOfDerivativeInstrumentsDetail</Role>
      <ShortName>Fair Value of Financial Instrument (Fair Value of Derivative Instruments) (Detail)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>132 - Disclosure - Fair Value of Financial Instrument (Effect of Derivative Instruments on Condensed Statements of Operations) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.unitedstatesgasolinefund.com/role/FairValueOfFinancialInstrumentEffectOfDerivativeInstrumentsOnCondensedStatementsOfOperationsDetail</Role>
      <ShortName>Fair Value of Financial Instrument (Effect of Derivative Instruments on Condensed Statements of Operations) (Detail)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <Logs>
    <Log type="Info">Element uga_BaseFeePercentage had a mix of decimals attribute values: 4 5 6.</Log>
    <Log type="Info">Element uga_BasisAmountForFeePercentage had a mix of decimals attribute values: -6 0.</Log>
    <Log type="Info">Process Flow-Through: 102 - Statement - Statements of Financial Condition</Log>
    <Log type="Info">	Process Flow-Through: Removing column 'Dec. 31, 2011'</Log>
    <Log type="Info">	Process Flow-Through: Removing column 'Dec. 31, 2010'</Log>
    <Log type="Info">	Process Flow-Through: Removing column 'Feb. 26, 2008'</Log>
    <Log type="Info">Process Flow-Through: 103 - Statement - Schedule of Investments</Log>
    <Log type="Info">Process Flow-Through: 104 - Statement - Schedule of Investments (Parenthetical)</Log>
    <Log type="Info">Process Flow-Through: 105 - Statement - Statements of Operations</Log>
    <Log type="Info">	Process Flow-Through: Removing column '3 Months Ended
Dec. 31, 2013'</Log>
    <Log type="Info">	Process Flow-Through: Removing column '3 Months Ended
Sep. 30, 2013'</Log>
    <Log type="Info">	Process Flow-Through: Removing column '3 Months Ended
Jun. 30, 2013'</Log>
    <Log type="Info">	Process Flow-Through: Removing column '3 Months Ended
Mar. 31, 2013'</Log>
    <Log type="Info">	Process Flow-Through: Removing column '3 Months Ended
Dec. 31, 2012'</Log>
    <Log type="Info">	Process Flow-Through: Removing column '3 Months Ended
Sep. 30, 2012'</Log>
    <Log type="Info">	Process Flow-Through: Removing column '3 Months Ended
Jun. 30, 2012'</Log>
    <Log type="Info">	Process Flow-Through: Removing column '3 Months Ended
Mar. 31, 2012'</Log>
    <Log type="Info">Process Flow-Through: 107 - Statement - Statements of Changes in Partners' Capital (Parenthetical)</Log>
    <Log type="Info">Process Flow-Through: 108 - Statement - Statements of Cash Flows</Log>
  </Logs>
  <InputFiles>
    <File>uga-20131231.xml</File>
    <File>uga-20131231.xsd</File>
    <File>uga-20131231_cal.xml</File>
    <File>uga-20131231_def.xml</File>
    <File>uga-20131231_lab.xml</File>
    <File>uga-20131231_pre.xml</File>
  </InputFiles>
  <SupplementalFiles />
  <BaseTaxonomies />
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
