In this paper a platinum (Pt) nanoparticle decorated graphene (GR) nanosheet was synthesized and used for the investigation on direct electrochemistry of myoglobin (Mb). By integrating GR-Pt nanocomposite with Mb on the surface of carbon ionic liquid electrode (CILE), a new electrochemical biosensor was fabricated. UV-Vis absorption and FT-IR spectra indicated that Mb remained its native structure in the nanocomposite film. Electrochemical behaviors of Nafion/Mb-GR-Pt/CILE were investigated with a pair of well-defined redox peak appeared, which indicated that direct electron transfer of Mb was realized on the underlying electrode with the usage of the GR-Pt nanocomposite. The fabricated electrode showed good electrocatalytic activity to the reduction of trichloroacetic acid in the linear range from 0.9 to 9.0 mmol/L with the detection limit as 0.32 mmol/L (3σ), which showed potential application for fabricating novel electrochemical biosensors and bioelectronic devices.