The company was the first to achieve the milestone, although it failed to hold above the level through the end of the trading day.
Apple’s size means it has a pronounced influence on the overall equity market; its weight within the Standard & Poor’s 500 Index is about 7%.
Over the last month, the stock has risen more than 12%, compared with a 3.6% rise in Microsoft, which now has a valuation above $2.51 trillion.
The company is facing the toughest regulatory atmosphere in its history, with governments bearing down in the U.S.
The company’s upcoming virtual and augmented reality headsets will vie with gear from Meta Platforms Inc., formerly Facebook.
Apple’s advance also has the stock trading at a premium to its average historical multiple, according to data compiled by Bloomberg.