<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.22.4</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>738</ContextCount>
  <ElementCount>553</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>181</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>22</UnitCount>
  <MyReports>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0000001 - 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-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>0000002 - Document - Audit Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/AuditInformation</Role>
      <ShortName>Audit Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>0000003 - Statement - Consolidated Statements of Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/ConsolidatedStatementsofIncome</Role>
      <ShortName>Consolidated Statements of Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>0000004 - Statement - Consolidated Statements of Comprehensive Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/ConsolidatedStatementsofComprehensiveIncome</Role>
      <ShortName>Consolidated Statements of Comprehensive Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>0000005 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/ConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>0000006 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/ConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>0000007 - Statement - Consolidated Statements of Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/ConsolidatedStatementsofStockholdersEquity</Role>
      <ShortName>Consolidated Statements of Stockholders' Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>0000008 - Statement - Consolidated Statements of Stockholders' Equity (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/ConsolidatedStatementsofStockholdersEquityParenthetical</Role>
      <ShortName>Consolidated Statements of Stockholders' Equity (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>0000009 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/ConsolidatedStatementsofCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>0000010 - 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>10</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>0000011 - Disclosure - Acquisitions and divestitures</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/Acquisitionsanddivestitures</Role>
      <ShortName>Acquisitions and divestitures</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>0000012 - Disclosure - Revenues</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/Revenues</Role>
      <ShortName>Revenues</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>0000013 - Disclosure - Stock-based compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/Stockbasedcompensation</Role>
      <ShortName>Stock-based compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>0000014 - Disclosure - Defined contribution plan</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/Definedcontributionplan</Role>
      <ShortName>Defined contribution plan</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>0000015 - Disclosure - Income taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/Incometaxes</Role>
      <ShortName>Income taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>0000016 - 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>16</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>0000017 - Disclosure - Collaborations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/Collaborations</Role>
      <ShortName>Collaborations</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>0000018 - Disclosure - Investments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/Investments</Role>
      <ShortName>Investments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>0000019 - Disclosure - Inventories</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/Inventories</Role>
      <ShortName>Inventories</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>0000020 - Disclosure - Property, plant and equipment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/Propertyplantandequipment</Role>
      <ShortName>Property, plant and equipment</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>0000021 - Disclosure - Goodwill and intangible assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/Goodwillandintangibleassets</Role>
      <ShortName>Goodwill and intangible assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>0000022 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/Leases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>0000023 - Disclosure - Other current assets and accrued liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/Othercurrentassetsandaccruedliabilities</Role>
      <ShortName>Other current assets and accrued liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>0000024 - Disclosure - Financing arrangements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/Financingarrangements</Role>
      <ShortName>Financing arrangements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>0000025 - Disclosure - Stockholders' equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/Stockholdersequity</Role>
      <ShortName>Stockholders' equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>0000026 - 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>26</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>0000027 - Disclosure - Derivative instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/Derivativeinstruments</Role>
      <ShortName>Derivative instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>0000028 - 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>28</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>0000029 - Disclosure - SCHEDULE II - VALUATION AND QUALIFYING ACCOUNTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/SCHEDULEIIVALUATIONANDQUALIFYINGACCOUNTS</Role>
      <ShortName>SCHEDULE II - VALUATION AND QUALIFYING ACCOUNTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>0000030 - 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>30</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>0000031 - Disclosure - Acquisitions and divestitures - (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/AcquisitionsanddivestituresTables</Role>
      <ShortName>Acquisitions and divestitures - (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.amgen.com/role/Acquisitionsanddivestitures</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>0000032 - 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>32</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>0000033 - Disclosure - Stock-based compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/StockbasedcompensationTables</Role>
      <ShortName>Stock-based compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.amgen.com/role/Stockbasedcompensation</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>0000034 - Disclosure - Income taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/IncometaxesTables</Role>
      <ShortName>Income taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.amgen.com/role/Incometaxes</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>0000035 - 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>35</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>0000036 - 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>36</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>0000037 - 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>37</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>0000038 - Disclosure - Property, plant and equipment (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/PropertyplantandequipmentTables</Role>
      <ShortName>Property, plant and equipment (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.amgen.com/role/Propertyplantandequipment</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>0000039 - 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>
      <Position>39</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>0000040 - Disclosure - Leases - (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/LeasesTables</Role>
      <ShortName>Leases - (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>0000041 - Disclosure - Other current assets and accrued liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/OthercurrentassetsandaccruedliabilitiesTables</Role>
      <ShortName>Other current assets and accrued liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.amgen.com/role/Othercurrentassetsandaccruedliabilities</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>0000042 - 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>42</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>0000043 - 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>43</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>0000044 - 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>44</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>0000045 - 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>45</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>0000046 - Disclosure - Contingencies and commitments - (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/ContingenciesandcommitmentsTables</Role>
      <ShortName>Contingencies and commitments - (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.amgen.com/role/Contingenciesandcommitments</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>0000047 - Disclosure - Summary of significant accounting policies - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/SummaryofsignificantaccountingpoliciesNarrativeDetails</Role>
      <ShortName>Summary of significant accounting policies - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/SummaryofsignificantaccountingpoliciesPolicies</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>0000048 - Disclosure - Acquisitions and divestitures - Horizon Therapeutics PLC (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/AcquisitionsanddivestituresHorizonTherapeuticsPLCDetails</Role>
      <ShortName>Acquisitions and divestitures - Horizon Therapeutics PLC (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>0000049 - Disclosure - Acquisitions and divestitures - ChemoCentryx Inc. Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/AcquisitionsanddivestituresChemoCentryxIncNarrativeDetails</Role>
      <ShortName>Acquisitions and divestitures - ChemoCentryx Inc. Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>0000050 - Disclosure - Acquisitions and divestitures - Summary of Total Consideration for ChemoCentryx Inc (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/AcquisitionsanddivestituresSummaryofTotalConsiderationforChemoCentryxIncDetails</Role>
      <ShortName>Acquisitions and divestitures - Summary of Total Consideration for ChemoCentryx Inc (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>0000051 - Disclosure - Acquisitions and divestitures - Teneobio Inc. (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/AcquisitionsanddivestituresTeneobioIncDetails</Role>
      <ShortName>Acquisitions and divestitures - Teneobio Inc. (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>0000052 - Disclosure - Acquisitions and divestitures - Summary of Total Consideration for Teneobio Inc (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/AcquisitionsanddivestituresSummaryofTotalConsiderationforTeneobioIncDetails</Role>
      <ShortName>Acquisitions and divestitures - Summary of Total Consideration for Teneobio Inc (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>0000053 - Disclosure - Acquisitions and divestitures - Five Prime Therapeutics Inc. (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/AcquisitionsanddivestituresFivePrimeTherapeuticsIncDetails</Role>
      <ShortName>Acquisitions and divestitures - Five Prime Therapeutics Inc. (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>0000054 - Disclosure - Acquisitions and divestitures - Divestiture of Gensenta (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/AcquisitionsanddivestituresDivestitureofGensentaDetails</Role>
      <ShortName>Acquisitions and divestitures - Divestiture of Gensenta (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>0000055 - Disclosure - Revenues - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/RevenuesNarrativeDetails</Role>
      <ShortName>Revenues - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>0000056 - Disclosure - Revenues - Customer Concentration, Product Sales (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/RevenuesCustomerConcentrationProductSalesDetails</Role>
      <ShortName>Revenues - Customer Concentration, Product Sales (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>0000057 - Disclosure - Stock-based compensation (Textual) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/StockbasedcompensationTextualDetails</Role>
      <ShortName>Stock-based compensation (Textual) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/StockbasedcompensationTables</ParentRole>
      <Position>57</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>0000058 - Disclosure - Stock-based compensation (Components of Stock-based Compensation Expense) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/StockbasedcompensationComponentsofStockbasedCompensationExpenseDetails</Role>
      <ShortName>Stock-based compensation (Components of Stock-based Compensation Expense) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/StockbasedcompensationTables</ParentRole>
      <Position>58</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>0000059 - Disclosure - Stock-based compensation (Summary of RSUs) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/StockbasedcompensationSummaryofRSUsDetails</Role>
      <ShortName>Stock-based compensation (Summary of RSUs) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/StockbasedcompensationTables</ParentRole>
      <Position>59</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>0000060 - Disclosure - Stock-based compensation Stock-based compensation (Summary of Stock Options) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/StockbasedcompensationStockbasedcompensationSummaryofStockOptionsDetails</Role>
      <ShortName>Stock-based compensation Stock-based compensation (Summary of Stock Options) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>0000061 - Disclosure - Stock-based compensation (Summary of Stock Options) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/StockbasedcompensationSummaryofStockOptionsDetails</Role>
      <ShortName>Stock-based compensation (Summary of Stock Options) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/StockbasedcompensationTables</ParentRole>
      <Position>61</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>0000062 - Disclosure - Stock-based compensation (Weighted-average Assumptions) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/StockbasedcompensationWeightedaverageAssumptionsDetails</Role>
      <ShortName>Stock-based compensation (Weighted-average Assumptions) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/StockbasedcompensationTables</ParentRole>
      <Position>62</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>0000063 - Disclosure - Defined contribution plan (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/DefinedcontributionplanDetails</Role>
      <ShortName>Defined contribution plan (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/Definedcontributionplan</ParentRole>
      <Position>63</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>0000064 - Disclosure - Income taxes (Income Before Income Taxes) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/IncometaxesIncomeBeforeIncomeTaxesDetails</Role>
      <ShortName>Income taxes (Income Before Income Taxes) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/IncometaxesTables</ParentRole>
      <Position>64</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>0000065 - Disclosure - Income taxes (Provision for Income Taxes) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/IncometaxesProvisionforIncomeTaxesDetails</Role>
      <ShortName>Income taxes (Provision for Income Taxes) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/IncometaxesTables</ParentRole>
      <Position>65</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>0000066 - Disclosure - Income taxes (Components of Deferred Tax Assets and Liabilities) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/IncometaxesComponentsofDeferredTaxAssetsandLiabilitiesDetails</Role>
      <ShortName>Income taxes (Components of Deferred Tax Assets and Liabilities) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/IncometaxesTables</ParentRole>
      <Position>66</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>0000067 - Disclosure - Income taxes (Textual) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/IncometaxesTextualDetails</Role>
      <ShortName>Income taxes (Textual) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/IncometaxesTables</ParentRole>
      <Position>67</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>0000068 - Disclosure - Income taxes (Reconciliation of Total Gross Amounts of UTBs) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/IncometaxesReconciliationofTotalGrossAmountsofUTBsDetails</Role>
      <ShortName>Income taxes (Reconciliation of Total Gross Amounts of UTBs) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/IncometaxesTables</ParentRole>
      <Position>68</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>0000069 - Disclosure - Income taxes (Reconciliation of Federal Statutory Tax Rate) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/IncometaxesReconciliationofFederalStatutoryTaxRateDetails</Role>
      <ShortName>Income taxes (Reconciliation of Federal Statutory Tax Rate) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/IncometaxesTables</ParentRole>
      <Position>69</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>0000070 - 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>70</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>0000071 - Disclosure - Collaborations - BeiGene (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/CollaborationsBeiGeneDetails</Role>
      <ShortName>Collaborations - BeiGene (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>0000072 - Disclosure - Collaborations - AstraZeneca PLC (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/CollaborationsAstraZenecaPLCDetails</Role>
      <ShortName>Collaborations - AstraZeneca PLC (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>0000073 - Disclosure - Collaborations - UCB (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/CollaborationsUCBDetails</Role>
      <ShortName>Collaborations - UCB (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>0000074 - Disclosure - Collaborations - Novartis AG (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/CollaborationsNovartisAGDetails</Role>
      <ShortName>Collaborations - Novartis AG (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>0000075 - Disclosure - Collaborations - Kyowa Kirin (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/CollaborationsKyowaKirinDetails</Role>
      <ShortName>Collaborations - Kyowa Kirin (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>0000076 - Disclosure - Investments - Schedule (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/InvestmentsScheduleDetails</Role>
      <ShortName>Investments - Schedule (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>0000077 - 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>
      <Position>77</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>0000078 - Disclosure - Investments - Available-for-sale (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/InvestmentsAvailableforsaleDetails</Role>
      <ShortName>Investments - Available-for-sale (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>0000079 - Disclosure - Investments - Equity Securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/InvestmentsEquitySecuritiesDetails</Role>
      <ShortName>Investments - Equity Securities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>0000080 - Disclosure - Investments - Limited Partnership Investments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/InvestmentsLimitedPartnershipInvestmentsDetails</Role>
      <ShortName>Investments - Limited Partnership Investments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>0000081 - Disclosure - Investments - BeiGene (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/InvestmentsBeiGeneDetails</Role>
      <ShortName>Investments - BeiGene (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>0000082 - Disclosure - Investments - Neumora Therapeutics, Inc. (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/InvestmentsNeumoraTherapeuticsIncDetails</Role>
      <ShortName>Investments - Neumora Therapeutics, Inc. (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>0000083 - 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>83</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>0000084 - Disclosure - Property, plant and equipment (Schedule) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/PropertyplantandequipmentScheduleDetails</Role>
      <ShortName>Property, plant and equipment (Schedule) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/PropertyplantandequipmentTables</ParentRole>
      <Position>84</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>0000085 - Disclosure - Property, plant and equipment (Geographic Information) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/PropertyplantandequipmentGeographicInformationDetails</Role>
      <ShortName>Property, plant and equipment (Geographic Information) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/PropertyplantandequipmentTables</ParentRole>
      <Position>85</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>0000086 - 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>
      <Position>86</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>0000087 - 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>
      <Position>87</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>0000088 - Disclosure - Goodwill and other intangible assets - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/GoodwillandotherintangibleassetsNarrativeDetails</Role>
      <ShortName>Goodwill and other intangible assets - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>88</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>0000089 - Disclosure - Leases - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/LeasesNarrativeDetails</Role>
      <ShortName>Leases - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>89</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>0000090 - Disclosure - Leases - Summary of Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/LeasesSummaryofLeasesDetails</Role>
      <ShortName>Leases - Summary of Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>90</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>0000091 - Disclosure - Leases - Components of Lease Costs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/LeasesComponentsofLeaseCostsDetails</Role>
      <ShortName>Leases - Components of Lease Costs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>91</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>0000092 - Disclosure - Leases - Maturities of Lease Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/LeasesMaturitiesofLeaseLiabilitiesDetails</Role>
      <ShortName>Leases - Maturities of Lease Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>92</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>0000093 - Disclosure - Leases - Weighted Average Remaining Lease Terms &amp; Discount Rates (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/LeasesWeightedAverageRemainingLeaseTermsDiscountRatesDetails</Role>
      <ShortName>Leases - Weighted Average Remaining Lease Terms &amp; Discount Rates (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>93</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>0000094 - Disclosure - Leases - Cash and Noncash Information of Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/LeasesCashandNoncashInformationofLeasesDetails</Role>
      <ShortName>Leases - Cash and Noncash Information of Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>94</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>0000095 - Disclosure - Other current assets and accrued liabilities - Schedule of Other Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/OthercurrentassetsandaccruedliabilitiesScheduleofOtherAssetsDetails</Role>
      <ShortName>Other current assets and accrued liabilities - Schedule of Other Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>95</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>0000096 - Disclosure - Other current assets and accrued liabilities - Schedule of Accrued Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/OthercurrentassetsandaccruedliabilitiesScheduleofAccruedLiabilitiesDetails</Role>
      <ShortName>Other current assets and accrued liabilities - Schedule of Accrued Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>96</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>0000097 - 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>
      <Position>97</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>0000098 - Disclosure - Financing arrangements - Debt Issuances (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/FinancingarrangementsDebtIssuancesDetails</Role>
      <ShortName>Financing arrangements - Debt Issuances (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>98</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R99.htm</HtmlFileName>
      <LongName>0000099 - Disclosure - Financing arrangements - Debt Repayments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/FinancingarrangementsDebtRepaymentsDetails</Role>
      <ShortName>Financing arrangements - Debt Repayments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>99</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R100.htm</HtmlFileName>
      <LongName>0000100 - Disclosure - Financing arrangements - Interest Rate and Cross-currency Swaps (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/FinancingarrangementsInterestRateandCrosscurrencySwapsDetails</Role>
      <ShortName>Financing arrangements - Interest Rate and Cross-currency Swaps (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>100</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R101.htm</HtmlFileName>
      <LongName>0000101 - Disclosure - Financing arrangements - Shelf Registration Statements and Other Facilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/FinancingarrangementsShelfRegistrationStatementsandOtherFacilitiesDetails</Role>
      <ShortName>Financing arrangements - Shelf Registration Statements and Other Facilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>101</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R102.htm</HtmlFileName>
      <LongName>0000102 - Disclosure - Financing arrangements - Contractual Maturities of Long-term Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/FinancingarrangementsContractualMaturitiesofLongtermDebtDetails</Role>
      <ShortName>Financing arrangements - Contractual Maturities of Long-term Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>102</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R103.htm</HtmlFileName>
      <LongName>0000103 - Disclosure - Financing arrangements - Interest Costs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/FinancingarrangementsInterestCostsDetails</Role>
      <ShortName>Financing arrangements - Interest Costs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>103</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R104.htm</HtmlFileName>
      <LongName>0000104 - Disclosure - Stockholders' equity - Stock Repurchase Program (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/StockholdersequityStockRepurchaseProgramDetails</Role>
      <ShortName>Stockholders' equity - Stock Repurchase Program (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>104</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R105.htm</HtmlFileName>
      <LongName>0000105 - Disclosure - Stockholders' equity - Dividends (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/StockholdersequityDividendsDetails</Role>
      <ShortName>Stockholders' equity - Dividends (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>105</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R106.htm</HtmlFileName>
      <LongName>0000106 - 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>
      <Position>106</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R107.htm</HtmlFileName>
      <LongName>0000107 - Disclosure - Stockholders' equity - Accumulated Other Comprehensive Income (Loss), Textual (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/StockholdersequityAccumulatedOtherComprehensiveIncomeLossTextualDetails</Role>
      <ShortName>Stockholders' equity - Accumulated Other Comprehensive Income (Loss), Textual (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>107</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R108.htm</HtmlFileName>
      <LongName>0000108 - 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>
      <Position>108</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R109.htm</HtmlFileName>
      <LongName>0000109 - Disclosure - Stockholders' equity - Other (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/StockholdersequityOtherDetails</Role>
      <ShortName>Stockholders' equity - Other (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>109</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R110.htm</HtmlFileName>
      <LongName>0000110 - Disclosure - Fair value measurement - (Fair Value of Financial Assets and Liabilities on Recurring Basis) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/FairvaluemeasurementFairValueofFinancialAssetsandLiabilitiesonRecurringBasisDetails</Role>
      <ShortName>Fair value measurement - (Fair Value of Financial Assets and Liabilities on Recurring Basis) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/FairvaluemeasurementTables</ParentRole>
      <Position>110</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R111.htm</HtmlFileName>
      <LongName>0000111 - Disclosure - Fair value measurement - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/FairvaluemeasurementNarrativeDetails</Role>
      <ShortName>Fair value measurement - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>111</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R112.htm</HtmlFileName>
      <LongName>0000112 - Disclosure - Fair value measurement - Contingent Consideration Obligations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/FairvaluemeasurementContingentConsiderationObligationsDetails</Role>
      <ShortName>Fair value measurement - Contingent Consideration Obligations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>112</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R113.htm</HtmlFileName>
      <LongName>0000113 - Disclosure - Derivative instruments - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/DerivativeinstrumentsNarrativeDetails</Role>
      <ShortName>Derivative instruments - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>113</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R114.htm</HtmlFileName>
      <LongName>0000114 - 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>114</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R115.htm</HtmlFileName>
      <LongName>0000115 - 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>115</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R116.htm</HtmlFileName>
      <LongName>0000116 - Disclosure - Derivative instruments - (Hedged Liabilities and Cumulative Amount) (Details) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/DerivativeinstrumentsHedgedLiabilitiesandCumulativeAmountDetailsDetails</Role>
      <ShortName>Derivative instruments - (Hedged Liabilities and Cumulative Amount) (Details) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/DerivativeinstrumentsTables</ParentRole>
      <Position>116</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R117.htm</HtmlFileName>
      <LongName>0000117 - 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>117</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R118.htm</HtmlFileName>
      <LongName>0000118 - 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>
      <Position>118</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R119.htm</HtmlFileName>
      <LongName>0000119 - Disclosure - Contingencies and commitments (Sandoz Patent Litigation) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/ContingenciesandcommitmentsSandozPatentLitigationDetails</Role>
      <ShortName>Contingencies and commitments (Sandoz Patent Litigation) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/ContingenciesandcommitmentsTables</ParentRole>
      <Position>119</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R120.htm</HtmlFileName>
      <LongName>0000120 - Disclosure - Contingencies and commitments (Repatha Patent Litigation) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/ContingenciesandcommitmentsRepathaPatentLitigationDetails</Role>
      <ShortName>Contingencies and commitments (Repatha Patent Litigation) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/ContingenciesandcommitmentsTables</ParentRole>
      <Position>120</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R121.htm</HtmlFileName>
      <LongName>0000121 - Disclosure - Contingencies and commitments (Janssen Biotech Inc v. Amgen Inc (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/ContingenciesandcommitmentsJanssenBiotechIncvAmgenIncDetails</Role>
      <ShortName>Contingencies and commitments (Janssen Biotech Inc v. Amgen Inc (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/ContingenciesandcommitmentsTables</ParentRole>
      <Position>121</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R122.htm</HtmlFileName>
      <LongName>0000122 - Disclosure - Contingencies and commitments (Additional Information) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/ContingenciesandcommitmentsAdditionalInformationDetails</Role>
      <ShortName>Contingencies and commitments (Additional Information) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/ContingenciesandcommitmentsTables</ParentRole>
      <Position>122</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R123.htm</HtmlFileName>
      <LongName>0000123 - Disclosure - Contingencies and commitments (U.S. Repatriation Tax Commitments) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/ContingenciesandcommitmentsUSRepatriationTaxCommitmentsDetails</Role>
      <ShortName>Contingencies and commitments (U.S. Repatriation Tax Commitments) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/ContingenciesandcommitmentsTables</ParentRole>
      <Position>123</Position>
    </Report>
    <Report instance="amgn-20221231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R124.htm</HtmlFileName>
      <LongName>0000124 - Disclosure - SCHEDULE II - VALUATION AND QUALIFYING ACCOUNTS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.amgen.com/role/SCHEDULEIIVALUATIONANDQUALIFYINGACCOUNTSDetails</Role>
      <ShortName>SCHEDULE II - VALUATION AND QUALIFYING ACCOUNTS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.amgen.com/role/SCHEDULEIIVALUATIONANDQUALIFYINGACCOUNTS</ParentRole>
      <Position>124</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-K" original="amgn-20221231.htm">amgn-20221231.htm</File>
    <File>amgn-20221231.xsd</File>
    <File>amgn-20221231_cal.xml</File>
    <File>amgn-20221231_def.xml</File>
    <File>amgn-20221231_lab.xml</File>
    <File>amgn-20221231_pre.xml</File>
    <File>amgn-ex21_20221231xq4.htm</File>
    <File>amgn-ex31_20221231xq4.htm</File>
    <File>amgn-ex32_20221231xq4.htm</File>
    <File>exhibit10114-fourthamendme.htm</File>
    <File>exhibit10161-amendmentno1t.htm</File>
    <File>exhibit104-formofgrantofst.htm</File>
    <File>exhibit105-formofrestricte.htm</File>
    <File>exhibit107-formofperforman.htm</File>
    <File>exhibit434-descriptionofse.htm</File>
  </InputFiles>
  <SupplementalFiles>
    <File>amgn-20221231_g1.jpg</File>
    <File>amgn-20221231_g2.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="1">http://fasb.org/srt/2022</BaseTaxonomy>
    <BaseTaxonomy items="1802">http://fasb.org/us-gaap/2022</BaseTaxonomy>
    <BaseTaxonomy items="42">http://xbrl.sec.gov/dei/2022</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
