Japan surpassed China in October as the largest foreign owner of US Treasury securities, the first time the countries have swapped places in nearly two years.
Total foreign holdings fell for a fourth month.
The Treasury Department says that total foreign holdings dropped 1.9 per cent to $US6.04 ($A8.21) trillion in October.
Foreign holdings of Treasury debt are down 3.9 per cent from a recent peak of $US6.28 billion ($A8.53 billion) set in March.
Both Japan and China cut their portfolios in October. But China's reduction was a larger 3.6 per cent to $US1.12 ($A1.52) trillion. Japan trimmed its holdings by a smaller 0.4 per cent, which meant its holdings of $US1.13 ($A1.54) trillion exceeded China's total.
It marked the first time that Japan has been No. 1 since early 2015. China has held the top spot for a number of years. The last time it was displaced was for one month in February 2015 when Japan, normally No. 2, moved into the top spot.
In October, Ireland was in the third spot in terms of total holdings with $US271 billion ($A368 billion) in Treasury debt followed by the Cayman Islands, a Caribbean banking centre, with $US262 billion ($A356 billion) in Treasury debt.
Total federal government debt now stands at $US19.8 ($A26.9) trillion and is projected by the Congressional Budget Office to increase by $US8.6 ($A11.7) trillion over the next decade, underscoring America's need to keep attracting foreign investors.

