The software giant ended on Friday, more than $ 857 billion ($ 668 billion) in market value, compared to Apple's $ 847 billion.
Both of these companies are at the top of the week, while Apple continues to advance at the end of every trading day.
But in the recent weeks, the iPhone manufacturer has reduced the price of the stock and has finally reduced its lead.
On Friday, Microsoft's shares rose 0.6% to $ 110.89, while Apple's share was down 0.5% at $ 178.60.
Apple's stock has fallen by about 25 percent since October – more sharper than the overall market – slowing down the demand for smartphones and the possibility of additional US tariffs on Chinese-manufactured goods.
The market value of the company has eroded more than $ 200 billion from the market value, which is calculated by increasing the share price by the number of shares traded in recent quarterly reports of companies.
Many steps – including annual revenue and profit – Apple is a big company.
However, now, investors are betting that Microsoft's prospects are bright.
The company's cloud services unit, which sells to other businesses, has encouraged the company's growth in recent years.
On the contrary, Apple relies on consumer spending, which investors may worry about is slow.
Daniel Ives, managing director of Weidbush Securities Equity Research, said Microsoft is ready for significant development as more companies sign up for the company's cloud products.
Microsoft's boss is in a good position to transform the truth "into more." [Microsoft] In the next year, Claude Beethothe, "he wrote in a research note.