"I knew it was the last seven limoncellos that were going to get me," he said about the Italian liqueur he apparently quaffed.
"The View" co-hosts sensed that something was amiss as soon as DeVito sat down.
"Have you been to sleep yet?" Rosie O'Donnell asked him.
"I don't know," DeVito answered. "Not really. I'm going to wait a while and go to sleep."
The conversation then turned to the White House.
Earlier in the show, co-host Elisabeth Hasselbeck said that she'd been invited to meet President Bush, and she offered to bring O'Donnell as her guest.
"I don't know if they would want me to go," O'Donnell said.
"Those back entrances, that's the way to go in, in disguise," DeVito said.
"You know what I mean? It's a really, really cool place. They built it really well," he said as the audience tittered nervously.
"And I was there during [Bill] Clinton's last stint which was ... really nice," DeVito said. "The place had that kind of Clinton feeling, you know?
"I didn't go [to the White House] after, you know, numb nuts," DeVito said, alluding to President Bush. ABC censors bleeped the phrase "numb nuts," but it was clear from reading DeVito's lips that was what he said.
"You're waking up, aren't you?" asked Joy Behar.
DeVito then mocked the president and outgoing Defense Secretary Donald Rumsfeld with goofy facial expressions.
He talked out of the side of his mouth and, at one point, repeatedly banged his fist on his chin, "Three Stooges"-style.
"Trying to figure out what to do with our country and our women and men in the military," DeVito said.
"Donald? Donald? OK. What about that hat trick last week? Rumsfeld, the House and the Senate? Ta-da!"
He steered the conversation toward his stay in the White House's Lincoln Bedroom with his wife, actress Rhea Perlman.
"I slept in the Lincoln Bedroom with Rhea," he said. "We went in and we made it our business to really wreck the joint. I mean, every place in that bedroom was ..."
"Utilized?" O'Donnell said.
"Utilized!" DeVito said.
DeVito finished the segment by talking about his new movie, not his condition -- but O'Donnell didn't let the issue go.
When the next guest, "Criminal Minds" star Thomas Gibson, walked out, she kissed him and said, "Nice to see you're sober."
"It's nice to be sober," he said.
DeVito "will speak privately" to "View" den mother Barbara Walters before making any kind of statement, his publicist, Stan Rosenfield, told The Post.
Rosenfield also reps Clooney.