label,2023,2022,2021,concept,level,abstract,units,decimals Accounting Policies [Abstract],,,,us-gaap_AccountingPoliciesAbstract,0,True,, Marketable equity securities valuation gains (losses),984000000,-13870000000,11526000000,us-gaap_MarketableSecuritiesUnrealizedGainLoss,3,False,usd,-6 Equity warrant valuation gains (losses),-26000000,2132000000,-1315000000,us-gaap_FairValueAdjustmentOfWarrants,1,False,usd,-6 Upward adjustments relating to equity investments in private companies,40000000,76000000,1866000000,us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueUpwardPriceAdjustmentAnnualAmount,1,False,usd,-6 Foreign currency gains (losses),65000000,-340000000,-55000000,us-gaap_ForeignCurrencyTransactionGainLossBeforeTax,1,False,usd,-6 "Other, net",-177000000,-540000000,-19000000,amzn_MiscellaneousIncomeExpense,1,False,usd,-6 "Total other income (expense), net",938000000,-16806000000,14633000000,us-gaap_OtherNonoperatingIncomeExpense,1,False,usd,-6 Schedule of Equity Method Investments [Table],,,,us-gaap_ScheduleOfEquityMethodInvestmentsTable,1,False,, "Equity Method Investment, Nonconsolidated Investee [Axis]",,,,us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeAxis,2,False,, "Equity Method Investment, Nonconsolidated Investee [Domain]",,,,us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeDomain,3,False,, "Equity Method Investment, Nonconsolidated Investee or Group of Investees",,,,us-gaap_EquityMethodInvestmentNonconsolidatedInvesteeOrGroupOfInvesteesMember,4,False,, Schedule of Equity Method Investments [Line Items],,,,us-gaap_ScheduleOfEquityMethodInvestmentsLineItems,2,False,, Marketable equity securities valuation gains (losses),984000000,-13870000000,11526000000,us-gaap_MarketableSecuritiesUnrealizedGainLoss,3,False,usd,-6 "Equity investment, shares held (in shares)",158000000,,,amzn_EquityInvestmentOwnershipNumberOfShares,3,False,shares,-6 "Equity investment, ownership interest",0.16,,,amzn_EquityInvestmentOwnershipPercentage,3,False,number,2 "Equity investment, voting interest",0.15,,,amzn_EquityInvestmentVotingPercentage,3,False,number,2 "Equity investment, discount due to lack of marketability",,,800000000,amzn_EquityInvestmentDiscountDueToLackOfMarketability,3,False,usd,-6 Revenue,3119000000,1658000000,55000000,us-gaap_Revenues,3,False,usd,-6 Gross profit,-1424000000,-3123000000,-465000000,us-gaap_GrossProfit,3,False,usd,-6 Loss from operations,36852000000,12248000000,24879000000,us-gaap_OperatingIncomeLoss,3,False,usd,-8 Net income (loss),30425000000,-2722000000,33364000000,us-gaap_NetIncomeLoss,3,False,usd,-6 Total current assets,172351000000,146791000000,,us-gaap_AssetsCurrent,3,False,usd,-6 Total assets,527854000000,462675000000,420549000000,us-gaap_Assets,3,False,usd,-6 Current liabilities,164917000000,155393000000,,us-gaap_LiabilitiesCurrent,3,False,usd,-6 Total liabilities,5904000000,4077000000,,us-gaap_Liabilities,3,False,usd,-6 "Equity investment, fair value",3700000000,2900000000,,amzn_EquityInvestmentFairValueDisclosure,3,False,usd,-8