Racism 'not a known side effect', drugmaker tells Roseanne

The maker of a drug Roseanne Barr blamed for her controversial tweet has hit back at the sitcom star, saying it's not responsible for her "racism".

ABC cancelled Roseanne despite its sky-high ratings after its star launched a racist attack on a former government official.

Barr went on to blame Ambien, an insomnia drug, for her "egregious indefensible" mistake.

"It was 2 in the morning and I was ambien tweeting," she wrote in a tweet she later deleted.

Sanofi, the company which makes the hypnotic sleep aid, wasn't impressed.

"While all pharmaceutical treatments have side effects, racism is not a known side effect of any Sanofi medication," it said.

Ambien is a brand name for the drug zolpidem, which can on rare occasions result in users walking, driving and carrying out other activities they don't remember afterwards. Often this is linked to recreational use.

The most common side-effects are drowsiness, lethargy, headaches, dry mouth and back pain.

Despite promising to leave Twitter, Barr has been more active than usual - tweeting and retweeting fans dozens of times on Thursday morning (NZ time).

She has hinted at fighting the cancellation of her show, saying she feels "like fighting back".

"I will examine all of my options carefully and get back to U," she wrote on Twitter.

Newshub.