The sale has led to speculation that it will help to finance his planned $44bn buyout of the social media platform.
Twitter's board agreed on Monday to accept a takeover offer from Mr Musk.
Shares in Tesla fell sharply earlier this week over worries that Mr Musk would sell part of his stake in the carmaker to fund the deal.
However, he tweeted that he had no plans to sell any more of his shares in the carmaker.
Filings to the US Securities and Exchange Commission showed that Mr Musk sold a total of 4.4 million Tesla shares on Tuesday and Wednesday.
The electric car-maker's share price was 2.6% lower in after-hours trade.