Officers responded to 24th and Harrison streets around 2 a.m. where the man was found suffering from the stab wound, police said.
He was transported to San Francisco General Hospital for treatment, according to police.
No suspect information was available.