<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.21.2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>491</ContextCount>
  <ElementCount>316</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>109</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>10</UnitCount>
  <MyReports>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0001001 - Document - Cover Page</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/CoverPage</Role>
      <ShortName>Cover Page</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>1001002 - Statement - Condensed Consolidated Statements of Comprehensive Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/CondensedConsolidatedStatementsofComprehensiveIncome</Role>
      <ShortName>Condensed Consolidated Statements of Comprehensive Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>1002003 - Statement - Condensed Consolidated Statements of Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/CondensedConsolidatedStatementsofIncome</Role>
      <ShortName>Condensed Consolidated Statements of Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>1003004 - Statement - Condensed Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/CondensedConsolidatedBalanceSheets</Role>
      <ShortName>Condensed Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>1004005 - Statement - Condensed Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/CondensedConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Condensed Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1005006 - Statement - Condensed Consolidated Statements of Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/CondensedConsolidatedStatementsofStockholdersEquity</Role>
      <ShortName>Condensed Consolidated Statements of Stockholders' Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>1006007 - Statement - Condensed Consolidated Statements of Stockholders' Equity (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/CondensedConsolidatedStatementsofStockholdersEquityParenthetical</Role>
      <ShortName>Condensed Consolidated Statements of Stockholders' Equity (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>1007008 - Statement - Condensed Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/CondensedConsolidatedStatementsofCashFlows</Role>
      <ShortName>Condensed Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>2101101 - Disclosure - Summary of significant accounting policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/Summaryofsignificantaccountingpolicies</Role>
      <ShortName>Summary of significant accounting policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>2104102 - Disclosure - Business Combinations and Asset Acquisitions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/BusinessCombinationsandAssetAcquisitions</Role>
      <ShortName>Business Combinations and Asset Acquisitions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>2107103 - Disclosure - Revenues</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/Revenues</Role>
      <ShortName>Revenues</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>2110104 - Disclosure - Income taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/Incometaxes</Role>
      <ShortName>Income taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>2112105 - Disclosure - Earnings per share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/Earningspershare</Role>
      <ShortName>Earnings per share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>2115106 - Disclosure - Collaborations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/Collaborations</Role>
      <ShortName>Collaborations</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>2117107 - Disclosure - Investments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/Investments</Role>
      <ShortName>Investments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>2125108 - Disclosure - Inventories</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/Inventories</Role>
      <ShortName>Inventories</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>2128109 - Disclosure - Goodwill and other intangible assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/Goodwillandotherintangibleassets</Role>
      <ShortName>Goodwill and other intangible assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>2133110 - Disclosure - Financing arrangements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/Financingarrangements</Role>
      <ShortName>Financing arrangements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>2138111 - Disclosure - Stockholders' equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/Stockholdersequity</Role>
      <ShortName>Stockholders' equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>2144112 - Disclosure - Fair value measurement</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/Fairvaluemeasurement</Role>
      <ShortName>Fair value measurement</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>2151114 - Disclosure - Derivative instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/Derivativeinstruments</Role>
      <ShortName>Derivative instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>2159115 - Disclosure - Contingencies and commitments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/Contingenciesandcommitments</Role>
      <ShortName>Contingencies and commitments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>2161116 - Disclosure - Subsequent events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/Subsequentevents</Role>
      <ShortName>Subsequent events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>2202201 - Disclosure - Summary of significant accounting policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/SummaryofsignificantaccountingpoliciesPolicies</Role>
      <ShortName>Summary of significant accounting policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>2308302 - Disclosure - Revenues (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/RevenuesTables</Role>
      <ShortName>Revenues (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.amgen.com/role/Revenues</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>2313303 - Disclosure - Earnings per share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/EarningspershareTables</Role>
      <ShortName>Earnings per share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.amgen.com/role/Earningspershare</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>2318304 - Disclosure - Investments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/InvestmentsTables</Role>
      <ShortName>Investments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.amgen.com/role/Investments</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>2326305 - Disclosure - Inventories (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/InventoriesTables</Role>
      <ShortName>Inventories (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.amgen.com/role/Inventories</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>2329306 - Disclosure - Goodwill and other intangible assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/GoodwillandotherintangibleassetsTables</Role>
      <ShortName>Goodwill and other intangible assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.amgen.com/role/Goodwillandotherintangibleassets</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>2334307 - Disclosure - Financing arrangements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/FinancingarrangementsTables</Role>
      <ShortName>Financing arrangements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.amgen.com/role/Financingarrangements</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>2339308 - Disclosure - Stockholders' equity (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/StockholdersequityTables</Role>
      <ShortName>Stockholders' equity (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.amgen.com/role/Stockholdersequity</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>2345309 - Disclosure - Fair value measurement (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/FairvaluemeasurementTables</Role>
      <ShortName>Fair value measurement (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.amgen.com/role/Fairvaluemeasurement</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>2352311 - Disclosure - Derivative instruments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/DerivativeinstrumentsTables</Role>
      <ShortName>Derivative instruments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.amgen.com/role/Derivativeinstruments</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>2403401 - Disclosure - Summary of significant accounting policies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/SummaryofsignificantaccountingpoliciesDetails</Role>
      <ShortName>Summary of significant accounting policies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/SummaryofsignificantaccountingpoliciesPolicies</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>2406402 - Disclosure - Business Combinations and Asset Acquisitions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/BusinessCombinationsandAssetAcquisitionsDetails</Role>
      <ShortName>Business Combinations and Asset Acquisitions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/BusinessCombinationsandAssetAcquisitions</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>2409403 - Disclosure - Revenues (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/RevenuesDetails</Role>
      <ShortName>Revenues (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/RevenuesTables</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>2411404 - Disclosure - Income taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/IncometaxesDetails</Role>
      <ShortName>Income taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/Incometaxes</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>2414405 - Disclosure - Earnings per share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/EarningspershareDetails</Role>
      <ShortName>Earnings per share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/EarningspershareTables</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>2416406 - Disclosure - Collaborations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/CollaborationsDetails</Role>
      <ShortName>Collaborations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/Collaborations</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>2419407 - Disclosure - Investments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/InvestmentsDetails</Role>
      <ShortName>Investments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/InvestmentsTables</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>2420408 - Disclosure - Investments (Fair Values by Classification) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/InvestmentsFairValuesbyClassificationDetails</Role>
      <ShortName>Investments (Fair Values by Classification) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/InvestmentsTables</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>2421409 - Disclosure - Investments (Available-for-sale Investments) (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/InvestmentsAvailableforsaleInvestmentsDetailsTextual</Role>
      <ShortName>Investments (Available-for-sale Investments) (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/InvestmentsTables</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>2422410 - Disclosure - Investments (Fair Values by Contractual Maturity) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/InvestmentsFairValuesbyContractualMaturityDetails</Role>
      <ShortName>Investments (Fair Values by Contractual Maturity) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/InvestmentsTables</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>2423411 - Disclosure - Investments (Equity Securities) (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/InvestmentsEquitySecuritiesDetailsTextual</Role>
      <ShortName>Investments (Equity Securities) (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/InvestmentsTables</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>2424412 - Disclosure - Investments Investments (Limited Partnership Investments) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/InvestmentsInvestmentsLimitedPartnershipInvestmentsDetails</Role>
      <ShortName>Investments Investments (Limited Partnership Investments) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>2427413 - Disclosure - Inventories (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/InventoriesDetails</Role>
      <ShortName>Inventories (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/InventoriesTables</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>2430414 - Disclosure - Goodwill and other intangible assets (Goodwill Roll Forward) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/GoodwillandotherintangibleassetsGoodwillRollForwardDetails</Role>
      <ShortName>Goodwill and other intangible assets (Goodwill Roll Forward) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/GoodwillandotherintangibleassetsTables</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>2431415 - Disclosure - Goodwill and other intangible assets (Identifiable Intangible Assets) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/GoodwillandotherintangibleassetsIdentifiableIntangibleAssetsDetails</Role>
      <ShortName>Goodwill and other intangible assets (Identifiable Intangible Assets) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/GoodwillandotherintangibleassetsTables</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>2432416 - Disclosure - Goodwill and other intangible assets (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/GoodwillandotherintangibleassetsDetailsTextual</Role>
      <ShortName>Goodwill and other intangible assets (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/GoodwillandotherintangibleassetsTables</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>2435417 - Disclosure - Financing arrangements (Principal Amounts and Carrying Value of Long-term Borrowings) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/FinancingarrangementsPrincipalAmountsandCarryingValueofLongtermBorrowingsDetails</Role>
      <ShortName>Financing arrangements (Principal Amounts and Carrying Value of Long-term Borrowings) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/FinancingarrangementsTables</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>2436418 - Disclosure - Financing arrangements (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/FinancingarrangementsDetailsTextual</Role>
      <ShortName>Financing arrangements (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/FinancingarrangementsTables</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>2437419 - Disclosure - Financing arrangements (interest rate swaps textual interim only) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/FinancingarrangementsinterestrateswapstextualinterimonlyDetails</Role>
      <ShortName>Financing arrangements (interest rate swaps textual interim only) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/FinancingarrangementsTables</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>2440420 - Disclosure - Stockholders' equity (Share Repurchase Program) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/StockholdersequityShareRepurchaseProgramDetails</Role>
      <ShortName>Stockholders' equity (Share Repurchase Program) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/StockholdersequityTables</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>2441421 - Disclosure - Stockholders' equity (Details Textual) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/StockholdersequityDetailsTextualDetails</Role>
      <ShortName>Stockholders' equity (Details Textual) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/StockholdersequityTables</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>2442422 - Disclosure - Stockholders' equity (Components of AOCI) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/StockholdersequityComponentsofAOCIDetails</Role>
      <ShortName>Stockholders' equity (Components of AOCI) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/StockholdersequityTables</ParentRole>
      <Position>55</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>2443423 - Disclosure - Stockholders' equity (Reclassifications out of AOCI) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/StockholdersequityReclassificationsoutofAOCIDetails</Role>
      <ShortName>Stockholders' equity (Reclassifications out of AOCI) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/StockholdersequityTables</ParentRole>
      <Position>56</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>2446424 - Disclosure - Fair value measurement (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/FairvaluemeasurementDetails</Role>
      <ShortName>Fair value measurement (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/FairvaluemeasurementTables</ParentRole>
      <Position>57</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>2447425 - Disclosure - Fair value measurement (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/FairvaluemeasurementDetailsTextual</Role>
      <ShortName>Fair value measurement (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/FairvaluemeasurementTables</ParentRole>
      <Position>58</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>2453427 - Disclosure - Derivative instruments (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/DerivativeinstrumentsDetailsTextual</Role>
      <ShortName>Derivative instruments (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/DerivativeinstrumentsTables</ParentRole>
      <Position>59</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>2454428 - Disclosure - Derivative instruments (Cross-currency Swaps) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/DerivativeinstrumentsCrosscurrencySwapsDetails</Role>
      <ShortName>Derivative instruments (Cross-currency Swaps) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/DerivativeinstrumentsTables</ParentRole>
      <Position>60</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>2455429 - Disclosure - Derivative instruments (Effective Portion of Unrealized Gain (Loss)) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/DerivativeinstrumentsEffectivePortionofUnrealizedGainLossDetails</Role>
      <ShortName>Derivative instruments (Effective Portion of Unrealized Gain (Loss)) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/DerivativeinstrumentsTables</ParentRole>
      <Position>61</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>2456430 - Disclosure - Derivative instruments (Hedged Liabilities and Cumulative Amount) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/DerivativeinstrumentsHedgedLiabilitiesandCumulativeAmountDetails</Role>
      <ShortName>Derivative instruments (Hedged Liabilities and Cumulative Amount) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/DerivativeinstrumentsTables</ParentRole>
      <Position>62</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>2457431 - Disclosure - Derivative instruments (Summary of Income and Expense Line Items) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/DerivativeinstrumentsSummaryofIncomeandExpenseLineItemsDetails</Role>
      <ShortName>Derivative instruments (Summary of Income and Expense Line Items) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/DerivativeinstrumentsTables</ParentRole>
      <Position>63</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>2458432 - Disclosure - Derivative instruments (Fair Value of Derivatives) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/DerivativeinstrumentsFairValueofDerivativesDetails</Role>
      <ShortName>Derivative instruments (Fair Value of Derivatives) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/DerivativeinstrumentsTables</ParentRole>
      <Position>64</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>2460433 - Disclosure - Contingencies and commitments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/ContingenciesandcommitmentsDetails</Role>
      <ShortName>Contingencies and commitments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/Contingenciesandcommitments</ParentRole>
      <Position>65</Position>
    </Report>
    <Report instance="amgn-20210930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>2462434 - Disclosure - Subsequent events (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/SubsequenteventsDetails</Role>
      <ShortName>Subsequent events (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/Subsequentevents</ParentRole>
      <Position>66</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="10-Q" original="amgn-20210930.htm">amgn-20210930.htm</File>
    <File>amgn-20210930.xsd</File>
    <File>amgn-20210930_cal.xml</File>
    <File>amgn-20210930_def.xml</File>
    <File>amgn-20210930_lab.xml</File>
    <File>amgn-20210930_pre.xml</File>
    <File>amgn-ex27_202193021xq3.htm</File>
    <File>amgn-ex31_2021930xq3.htm</File>
    <File>amgn-ex32_2021930xq3.htm</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2021</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/country/2021</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/srt/2021-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/exch/2021</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/currency/2021</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/us-gaap/2021-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
