Yes you need.....go to China Embassy to apply...very simple and fast. 3 working days.
I went there twice. First time is two years ago. And second time is last month...
I heard only when u go to mainland via HK, the visa is not required...otherwise I guess u better get one...