<?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>195</ContextCount>
  <ElementCount>359</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>55</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>15</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://agios.com/taxonomy/role/DocumentandEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
    </Report>
    <Report>
      <IsDefault>true</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>103 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/StatementOfFinancialPositionClassified</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>104 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/StatementOfFinancialPositionClassifiedParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>105 - Statement - Consolidated Statements of Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/StatementOfIncome</Role>
      <ShortName>Consolidated Statements of Operations</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>106 - Statement - Consolidated Statements of Comprehensive Loss</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/StatementOfOtherComprehensiveIncome</Role>
      <ShortName>Consolidated Statements of Comprehensive Loss</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>107 - Statement - Consolidated Statements of Convertible Preferred Stock and Stockholders' Equity (Deficit)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/StatementOfShareholdersEquityAndOtherComprehensiveIncome</Role>
      <ShortName>Consolidated Statements of Convertible Preferred Stock and Stockholders' Equity (Deficit)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>108 - Statement - Consolidated Statements of Convertible Preferred Stock and Stockholders' Equity (Deficit) (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/StatementOfShareholdersEquityAndOtherComprehensiveIncomeParenthetical</Role>
      <ShortName>Consolidated Statements of Convertible Preferred Stock and Stockholders' Equity (Deficit) (Parenthetical)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>109 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/StatementOfCashFlowsIndirect</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>110 - Disclosure - Nature of Business</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/NotesToFinancialStatementsNatureOfOperations</Role>
      <ShortName>Nature of Business</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>111 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/NotesToFinancialStatementsSignificantAccountingPoliciesTextBlock</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>112 - Disclosure - Collaboration Agreement</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/NotesToFinancialStatementsCollaborativeArrangementDisclosureTextBlock</Role>
      <ShortName>Collaboration Agreement</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>113 - Disclosure - Property and Equipment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/NotesToFinancialStatementsPropertyPlantAndEquipmentDisclosureTextBlock</Role>
      <ShortName>Property and Equipment</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>114 - Disclosure - Accrued Expenses and Other Current Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/NotesToFinancialStatementsAccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock</Role>
      <ShortName>Accrued Expenses and Other Current Liabilities</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>115 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/NotesToFinancialStatementsCommitmentsAndContingenciesDisclosureTextBlock</Role>
      <ShortName>Commitments and Contingencies</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>116 - Disclosure - Convertible Preferred Stock</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/NotesToFinancialStatementsPreferredStockTextBlock</Role>
      <ShortName>Convertible Preferred Stock</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>117 - Disclosure - Common Stock</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/NotesToFinancialStatementsStockholdersEquityNoteDisclosureTextBlock</Role>
      <ShortName>Common Stock</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>118 - Disclosure - Share-Based Payments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock</Role>
      <ShortName>Share-Based Payments</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>119 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/NotesToFinancialStatementsIncomeTaxDisclosureTextBlock</Role>
      <ShortName>Income Taxes</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>120 - Disclosure - Defined Contribution Benefit Plan</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/NotesToFinancialStatementsPensionAndOtherPostretirementBenefitsDisclosureTextBlock</Role>
      <ShortName>Defined Contribution Benefit Plan</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>121 - Disclosure - Selected Quarterly Financial Data (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/NotesToFinancialStatementsQuarterlyFinancialInformationTextBlock</Role>
      <ShortName>Selected Quarterly Financial Data (Unaudited)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>122 - Disclosure - Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/NotesToFinancialStatementsSignificantAccountingPoliciesTextBlockPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies (Policies)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>123 - Disclosure - Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/NotesToFinancialStatementsSignificantAccountingPoliciesTextBlockTables</Role>
      <ShortName>Summary of Significant Accounting Policies (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>124 - Disclosure - Property and Equipment (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/NotesToFinancialStatementsPropertyPlantAndEquipmentDisclosureTextBlockTables</Role>
      <ShortName>Property and Equipment (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>125 - Disclosure - Accrued Expenses and Other Current Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/NotesToFinancialStatementsAccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlockTables</Role>
      <ShortName>Accrued Expenses and Other Current Liabilities (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>126 - Disclosure - Commitments and Contingencies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/NotesToFinancialStatementsCommitmentsAndContingenciesDisclosureTextBlockTables</Role>
      <ShortName>Commitments and Contingencies (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>127 - Disclosure - Common Stock (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/NotesToFinancialStatementsStockholdersEquityNoteDisclosureTextBlockTables</Role>
      <ShortName>Common Stock (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>128 - Disclosure - Share-Based Payments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/NotesToFinancialStatementsDisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlockTables</Role>
      <ShortName>Share-Based Payments (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>129 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/NotesToFinancialStatementsIncomeTaxDisclosureTextBlockTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>130 - Disclosure - Selected Quarterly Financial Data (Unaudited) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/NotesToFinancialStatementsQuarterlyFinancialInformationTextBlockTables</Role>
      <ShortName>Selected Quarterly Financial Data (Unaudited) (Tables)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>131 - Disclosure - Nature of Business - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/DisclosureNatureOfBusinessAdditionalInformation</Role>
      <ShortName>Nature of Business - Additional Information (Detail)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>132 - Disclosure - Summary of Significant Accounting Policies - Recorded Stock-Based Compensation Expense for Employee and Non-Employee Stock Options and Restricted Stock (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesRecordedStockBasedCompensationExpenseForEmployeeAndNonEmployeeStockOptionsAndRestrictedStock</Role>
      <ShortName>Summary of Significant Accounting Policies - Recorded Stock-Based Compensation Expense for Employee and Non-Employee Stock Options and Restricted Stock (Detail)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>133 - Disclosure - Summary of Significant Accounting Policies - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformation</Role>
      <ShortName>Summary of Significant Accounting Policies - Additional Information (Detail)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>134 - Disclosure - Summary of Significant Accounting Policies - Marketable Securities (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesMarketableSecurities</Role>
      <ShortName>Summary of Significant Accounting Policies - Marketable Securities (Detail)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>135 - Disclosure - Summary of Significant Accounting Policies - Cash Equivalents and Marketable Securities Measured at Fair Value on a Recurring Basis (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesCashEquivalentsAndMarketableSecuritiesMeasuredAtFairValueOnARecurringBasis</Role>
      <ShortName>Summary of Significant Accounting Policies - Cash Equivalents and Marketable Securities Measured at Fair Value on a Recurring Basis (Detail)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>136 - Disclosure - Summary of Significant Accounting Policies - Estimated Useful Lives of Property and Equipment (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesEstimatedUsefulLivesOfPropertyAndEquipment</Role>
      <ShortName>Summary of Significant Accounting Policies - Estimated Useful Lives of Property and Equipment (Detail)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>137 - Disclosure - Summary of Significant Accounting Policies - Common Stock Excluded from Calculation of Diluted Net Loss Per Share (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesCommonStockExcludedFromCalculationOfDilutedNetLossPerShare</Role>
      <ShortName>Summary of Significant Accounting Policies - Common Stock Excluded from Calculation of Diluted Net Loss Per Share (Detail)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>138 - Disclosure - Collaboration Agreement - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/DisclosureCollaborationAgreementAdditionalInformation</Role>
      <ShortName>Collaboration Agreement - Additional Information (Detail)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>139 - Disclosure - Property and Equipment - Summary of Property and Equipment (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/DisclosurePropertyAndEquipmentSummaryOfPropertyAndEquipment</Role>
      <ShortName>Property and Equipment - Summary of Property and Equipment (Detail)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>140 - Disclosure - Property and Equipment - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/DisclosurePropertyAndEquipmentAdditionalInformation</Role>
      <ShortName>Property and Equipment - Additional Information (Detail)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>141 - Disclosure - Accrued Expenses and Other Current Liabilities - Summary of Accrued Expenses and Other Current Liabilities (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/DisclosureAccruedExpensesAndOtherCurrentLiabilitiesSummaryOfAccruedExpensesAndOtherCurrentLiabilities</Role>
      <ShortName>Accrued Expenses and Other Current Liabilities - Summary of Accrued Expenses and Other Current Liabilities (Detail)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>142 - Disclosure - Commitments and Contingencies - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformation</Role>
      <ShortName>Commitments and Contingencies - Additional Information (Detail)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>143 - Disclosure - Commitments and Contingencies - Future Annual Minimum Lease Payments Due Under Operating Lease (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/DisclosureCommitmentsAndContingenciesFutureAnnualMinimumLeasePaymentsDueUnderOperatingLease</Role>
      <ShortName>Commitments and Contingencies - Future Annual Minimum Lease Payments Due Under Operating Lease (Detail)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>144 - Disclosure - Convertible Preferred Stock - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/DisclosureConvertiblePreferredStockAdditionalInformation</Role>
      <ShortName>Convertible Preferred Stock - Additional Information (Detail)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>145 - Disclosure - Common Stock - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/DisclosureCommonStockAdditionalInformation</Role>
      <ShortName>Common Stock - Additional Information (Detail)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>146 - Disclosure - Common Stock - Summary of Shares Reserved for Future Issuance (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/DisclosureCommonStockSummaryOfSharesReservedForFutureIssuance</Role>
      <ShortName>Common Stock - Summary of Shares Reserved for Future Issuance (Detail)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>147 - Disclosure - Share-Based Payments - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/DisclosureShareBasedPaymentsAdditionalInformation</Role>
      <ShortName>Share-Based Payments - Additional Information (Detail)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>148 - Disclosure - Share-Based Payments - Stock Award Activity (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/DisclosureShareBasedPaymentsStockAwardActivity</Role>
      <ShortName>Share-Based Payments - Stock Award Activity (Detail)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>149 - Disclosure - Share-Based Payments - Restricted Stock Activity (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/DisclosureShareBasedPaymentsRestrictedStockActivity</Role>
      <ShortName>Share-Based Payments - Restricted Stock Activity (Detail)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>150 - Disclosure - Share-Based Payments - Schedule of Fair Value Option Award Weighted Average Assumptions Used (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/DisclosureShareBasedPaymentsScheduleOfFairValueOptionAwardWeightedAverageAssumptionsUsed</Role>
      <ShortName>Share-Based Payments - Schedule of Fair Value Option Award Weighted Average Assumptions Used (Detail)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>151 - Disclosure - Income Taxes - Provision (Benefit) for Income Taxes (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/DisclosureIncomeTaxesProvisionBenefitForIncomeTaxes</Role>
      <ShortName>Income Taxes - Provision (Benefit) for Income Taxes (Detail)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>152 - Disclosure - Income Taxes - Reconciliation of Expected Income Tax (Benefit) Expense Computed Using Federal Statutory Income Tax Rate (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/DisclosureIncomeTaxesReconciliationOfExpectedIncomeTaxBenefitExpenseComputedUsingFederalStatutoryIncomeTaxRate</Role>
      <ShortName>Income Taxes - Reconciliation of Expected Income Tax (Benefit) Expense Computed Using Federal Statutory Income Tax Rate (Detail)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>153 - Disclosure - Income Taxes - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/DisclosureIncomeTaxesAdditionalInformation</Role>
      <ShortName>Income Taxes - Additional Information (Detail)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>154 - Disclosure - Income Taxes - Company's Deferred Tax Assets and Liabilities (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/DisclosureIncomeTaxesCompanysDeferredTaxAssetsAndLiabilities</Role>
      <ShortName>Income Taxes - Company's Deferred Tax Assets and Liabilities (Detail)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>155 - Disclosure - Selected Quarterly Financial Data (Unaudited) - Summary of Quarterly Financial Data (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/DisclosureSelectedQuarterlyFinancialDataUnauditedSummaryOfQuarterlyFinancialData</Role>
      <ShortName>Selected Quarterly Financial Data (Unaudited) - Summary of Quarterly Financial Data (Detail)</ShortName>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>156 - Disclosure - Selected Quarterly Financial Data (Unaudited) - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://agios.com/taxonomy/role/DisclosureSelectedQuarterlyFinancialDataUnauditedAdditionalInformation</Role>
      <ShortName>Selected Quarterly Financial Data (Unaudited) - Additional Information (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 us-gaap_AllocatedShareBasedCompensationExpense had a mix of decimals attribute values: -3 0.</Log>
    <Log type="Info">Element us-gaap_DeferredTaxAssetsValuationAllowance had a mix of decimals attribute values: -5 -3.</Log>
    <Log type="Info">Element us-gaap_OperatingLossCarryforwards had a mix of decimals attribute values: -5 0.</Log>
    <Log type="Info">Element us-gaap_ProceedsFromIssuanceInitialPublicOffering had a mix of decimals attribute values: -5 -3.</Log>
    <Log type="Info">Element us-gaap_ProceedsFromIssuanceOfConvertiblePreferredStock had a mix of decimals attribute values: -5 -3.</Log>
    <Log type="Info">Element us-gaap_ResearchAndDevelopmentExpense had a mix of decimals attribute values: -3 0.</Log>
    <Log type="Info">'Monetary' elements on report '131 - Disclosure - Nature of Business - Additional Information (Detail)' had a mix of different decimal attribute values.</Log>
    <Log type="Info">'Monetary' elements on report '138 - Disclosure - Collaboration Agreement - Additional Information (Detail)' had a mix of different decimal attribute values.</Log>
    <Log type="Info">'Monetary' elements on report '144 - Disclosure - Convertible Preferred Stock - Additional Information (Detail)' had a mix of different decimal attribute values.</Log>
    <Log type="Info">'Monetary' elements on report '147 - Disclosure - Share-Based Payments - Additional Information (Detail)' had a mix of different decimal attribute values.</Log>
    <Log type="Info">'Monetary' elements on report '153 - Disclosure - Income Taxes - Additional Information (Detail)' had a mix of different decimal attribute values.</Log>
    <Log type="Info">Process Flow-Through: 103 - Statement - Consolidated Balance Sheets</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: 104 - Statement - Consolidated Balance Sheets (Parenthetical)</Log>
    <Log type="Info">	Process Flow-Through: Removing column 'Dec. 31, 2009
Series A Convertible Preferred Stock [Member]'</Log>
    <Log type="Info">	Process Flow-Through: Removing column 'Apr. 30, 2010
Series B Convertible Preferred Stock [Member]'</Log>
    <Log type="Info">	Process Flow-Through: Removing column 'Nov. 30, 2011
Series C Convertible Preferred Stock [Member]'</Log>
    <Log type="Info">Process Flow-Through: 105 - Statement - Consolidated 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: Removing column '9 Months Ended
Sep. 30, 2013'</Log>
    <Log type="Info">	Process Flow-Through: Removing column '9 Months Ended
Sep. 30, 2012'</Log>
    <Log type="Info">Process Flow-Through: 106 - Statement - Consolidated Statements of Comprehensive Loss</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: 108 - Statement - Consolidated Statements of Convertible Preferred Stock and Stockholders' Equity (Deficit) (Parenthetical)</Log>
    <Log type="Info">Process Flow-Through: 109 - Statement - Consolidated Statements of Cash Flows</Log>
  </Logs>
  <InputFiles>
    <File>agio-20131231.xml</File>
    <File>agio-20131231.xsd</File>
    <File>agio-20131231_cal.xml</File>
    <File>agio-20131231_def.xml</File>
    <File>agio-20131231_lab.xml</File>
    <File>agio-20131231_pre.xml</File>
  </InputFiles>
  <SupplementalFiles />
  <BaseTaxonomies />
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
