Smith — who was named best actor on the night — marched onto stage during the glitzy Hollywood ceremony and hit Rock over a joke about wife Jada Pinkett Smith’s hair.

“I would like to publicly apologize to you, Chris. I was out of line and I was wrong. I am embarrassed and my actions were not indicative of the man I want to be,” the “King Richard” star wrote on Instagram.

“Violence in all of its forms is poisonous and destructive. My behavior at last night’s Academy Awards was unacceptable and inexcusable,” Smith said.

“Jokes at my expense are a part of the job, but a joke about Jada’s medical condition was too much for me to bear and I reacted emotionally.”

Pinkett Smith suffers from alopecia, a condition that causes hair loss, and had a closely cropped head at Sunday’s ceremony.