Rosie O’Donnell is saying sorry -- and locking up her Twitter account.

The outspoken comedian and former “The View” co-host came under fire for sharing a video speculating about whether or not Donald and Melania Trump’s 10-year-old son, Barron, could be autistic.

Shortly before making her Twitter account private on Thursday, O’Donnell wrote a message apologizing to the future First Lady. “I apologize to @MELANIATRUMP - i was insensitive in my RT - i am sorry for the pain i caused - it was not my intent - i am truly sorry,” O’Donnell wrote.

Get Breaking News Delivered to Your Inbox

The YouTube user who posted the original video also released an apology Thursday after taking down the clip.

“It was incredibly irresponsible of me to diagnose Barron Trump using a selection of misleading videos,” the YouTuber said in a statement to TMZ. “I falsely correlated him trying to stay awake and occasionally doing quirky things, with him suffering from autism.”

O’Donnell isn’t the first celebrity to publicly apologize to the Trumps since the Nov. 8 election. Gigi Hadid offered a mea culpa last month after her Melania impression at the American Music Awards drew criticism.