Trump has used the social network to lob insults at rivals and complain about media coverage throughout his presidential bid, sometimes tweeting attacks in the wee hours of the morning. On Sunday, The New York Times reported that his advisors have "finally wrested away" the account from Trump in the campaign's final days.
At a rally Sunday for Democratic candidate Hillary Clinton in Florida, Obama contended that Trump cannot be trusted with a nuclear arsenal if he cannot handle a Twitter account.
"In the last two days, they had so little confidence in his self-control they said we're just gonna take away your Twitter. Now, if somebody can't handle a Twitter account, they can't handle the nuclear codes," Obama said.
Clinton and the Democrats have hit Trump for his tweeting habits throughout the election. Trump notably sparked controversy with an overnight tweetstorm attacking a former Miss Universe winner who spoke out against him and supported Clinton.
Obama also joked about an early morning tweet last month in which Trump slammed "Saturday Night Live" for its portrayal of him, saying the media is "rigging" the election.
Obama said that "if somebody starts tweeting at 3 in the morning because SNL made fun of you, then you can't handle the nuclear codes."