The invention provides a nitric oxide releasing fiber and fabric. The nitric oxide releasing fiber is formed by a random copolymer poly(A-ran-B) comprising a composition unit A and a composition unit where the composition unit A is derived from acrylonitrile monomer and the composition unit B is derived from dimethyl itaconate monomer. The random copolymer poly(A-ran-B) further comprises at least one NO releasing group.本發明提供一種一氧化氮釋放纖維及織物,一氧化氮釋放纖維係由丙烯腈單體單元及衣康酸二甲酯(dimethyl itaconate;DMI)單體單元所成的具有一般式:聚(A-無規則-B)(poly(A-ran-B))的構造之包括構成單元A及構成單元B之無規共聚物所構成的纖維,該纖維更具有1個以上的一氧化氮釋放基團;及,構成單元A及構成單元B中的*表示鍵結手。