Chitin and chitosan with unique properties and numerous applications can be produced from fungus. The production of chitin and chitosan from the mycelia of an Iranian Ganoderma lucidum was studied to improve cell growth and chitin productivity. Inoculum size and initial pH as two effective variables on the growth of G. lucidum and chitin production were optimized using response surface method (RSM) by central composite design (CCD). The results verified the significant effect of these two variables on the cell growth and chitin production. In optimum conditions, including pH = 5.7 and inoculum size of 7.4%, the cell dry weight was 5.91 g/L and the amount of chitin production was 1.08 g/L with the productivity of 0.083 g/(L day). The produced chitin and chitosan were characterized using XRD and FTIR. Moreover, the antibacterial activity of the produced chitosan was investigated and compared with the commercial chitosan. The results showed that the produced chitin and chitosan had suitable quality and the Iranian G. lucidum would be a great source for safe and high-quality chitin and chitosan production.