The 33-year-old was booked for misdemeanor DUI around 5:59 a.m. after he was pulled over by police on Highway 101.
According to the CHP, Hart was driving his black Mercedes erratically at speeds reaching over 90 miles per hour and nearly crashed into a gas tanker.
The Pennsylvania native addressed the incident on his Twitter page Sunday following his release.
"When the cop asked me to take the sobriety test I said 'WHY WASTE OUR TIME .... I'M DRUNK MAN' .... #TrueStory," Hart tweeted.
The comedian shortly said there was nothing laughable about driving drunk.
"This is a wake up call for me, I have to be smarter & last night I wasn't .... everything happens for a reason," he added.
Hart is best known for his stand-up specials and his role in several movies including "Think Like A Man" and "The Five-Year Engagement."
The Associated Press contributed to this report.